From ab63153f42c0ae8bf6fb72c690e32fd05e9e4aae Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Sat, 12 May 2012 11:26:59 -0400 Subject: Replace all mods with tcl versions. --- mods/cpanminus | 2 +- mods/perl-anyevent | 8 ++++---- mods/perl-encode-locale | 2 +- mods/perl-extutils-makemaker | 10 ++++++---- mods/perl-file-listing | 2 +- mods/perl-file-pushd | 2 +- mods/perl-guard | 2 +- mods/perl-html-form | 2 +- mods/perl-http-cookies | 2 +- mods/perl-http-daemon | 2 +- mods/perl-http-date | 2 +- mods/perl-http-message | 2 +- mods/perl-http-negotiate | 2 +- mods/perl-libwww | 4 ++-- mods/perl-lwp-mediatypes | 3 +-- mods/perl-moose | 3 --- mods/perl-mozilla-ca | 2 +- mods/perl-net-http | 2 +- mods/perl-package-stash | 2 +- mods/perl-www-robotrules | 2 +- mods/perlbrew | 16 ++++++++-------- 21 files changed, 36 insertions(+), 38 deletions(-) delete mode 100644 mods/perl-moose diff --git a/mods/cpanminus b/mods/cpanminus index 3dc4cf8..471d1b8 100644 --- a/mods/cpanminus +++ b/mods/cpanminus @@ -1 +1 @@ -provides add("perl-app-cpanminus=${pkgver}") +set provides {perl-app-cpanminus=$pkgver} diff --git a/mods/perl-anyevent b/mods/perl-anyevent index e8b87db..54da4c3 100644 --- a/mods/perl-anyevent +++ b/mods/perl-anyevent @@ -1,4 +1,4 @@ -optdepends add("perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle") -optdepends add("perl-json-xs: send or receive JSON with AnyEvent::Handle") -depends add("perl-ev>=4.00") add("perl-guard>=1.02") add("perl-async-interrupt>=1.0") -epoch add(Date now asNumber floor) +set optdepends {"perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle" + "perl-json-xs: send or receive JSON with AnyEvent::Handle"} +lappend depends perl-ev>=4.00 perl-guard>=1.02 perl-async-interrupt>=1.0 +set epoch 3 diff --git a/mods/perl-encode-locale b/mods/perl-encode-locale index d5c8a6a..2b4a19e 100644 --- a/mods/perl-encode-locale +++ b/mods/perl-encode-locale @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 diff --git a/mods/perl-extutils-makemaker b/mods/perl-extutils-makemaker index 1d48b58..d39bc13 100644 --- a/mods/perl-extutils-makemaker +++ b/mods/perl-extutils-makemaker @@ -1,4 +1,6 @@ -depends add("perl-cpan-meta>=2.112150") add("perl-extutils-install>=1.52") \ - add("perl-extutils-command>=1.16") add("perl-extutils-manifest>=1.58") -build append("sed -e '/my::bundles/d' Makefile.PL >Makefile.PL.new") -build append("mv Makefile.PL.new Makefile.PL") +lappend depends perl-cpan-meta>=2.112150 perl-extutils-install>=1.52 \ + perl-extutils-command>=1.16 perl-extutils-manifest>=1.58 +fappend build { + sed -e '/my::bundles/d' Makefile.PL >Makefile.PL.new + mv Makefile.PL.new Makefile.PL +} diff --git a/mods/perl-file-listing b/mods/perl-file-listing index d5c8a6a..2b4a19e 100644 --- a/mods/perl-file-listing +++ b/mods/perl-file-listing @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 diff --git a/mods/perl-file-pushd b/mods/perl-file-pushd index b4cd325..8a9049f 100644 --- a/mods/perl-file-pushd +++ b/mods/perl-file-pushd @@ -1 +1 @@ -license add("Apache") +set license Apache diff --git a/mods/perl-guard b/mods/perl-guard index 73efa30..48638ff 100644 --- a/mods/perl-guard +++ b/mods/perl-guard @@ -1 +1 @@ -license add("custom:unknown") +set license custom:unknown diff --git a/mods/perl-html-form b/mods/perl-html-form index d5c8a6a..2b4a19e 100644 --- a/mods/perl-html-form +++ b/mods/perl-html-form @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 diff --git a/mods/perl-http-cookies b/mods/perl-http-cookies index d5c8a6a..2b4a19e 100644 --- a/mods/perl-http-cookies +++ b/mods/perl-http-cookies @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 diff --git a/mods/perl-http-daemon b/mods/perl-http-daemon index d5c8a6a..4516679 100644 --- a/mods/perl-http-daemon +++ b/mods/perl-http-daemon @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 \ No newline at end of file diff --git a/mods/perl-http-date b/mods/perl-http-date index d5c8a6a..4516679 100644 --- a/mods/perl-http-date +++ b/mods/perl-http-date @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 \ No newline at end of file diff --git a/mods/perl-http-message b/mods/perl-http-message index d5c8a6a..4516679 100644 --- a/mods/perl-http-message +++ b/mods/perl-http-message @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 \ No newline at end of file diff --git a/mods/perl-http-negotiate b/mods/perl-http-negotiate index d5c8a6a..4516679 100644 --- a/mods/perl-http-negotiate +++ b/mods/perl-http-negotiate @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 \ No newline at end of file diff --git a/mods/perl-libwww b/mods/perl-libwww index 5d2a39f..240eb3d 100644 --- a/mods/perl-libwww +++ b/mods/perl-libwww @@ -1,2 +1,2 @@ -optdepends add("perl-lwp-protocol-https: for https:// url schemes") -depends add("perl-http-message") add("depends perl-http-message>=6") +lappend optdepends "perl-lwp-protocol-https: for https:// url schemes" +lappend depends perl-http-message perl-http-message>=6 diff --git a/mods/perl-lwp-mediatypes b/mods/perl-lwp-mediatypes index c4f5e18..2b4a19e 100644 --- a/mods/perl-lwp-mediatypes +++ b/mods/perl-lwp-mediatypes @@ -1,2 +1 @@ -conflicts add("perl-libwww<6") - +lappend conflicts perl-libwww<6 diff --git a/mods/perl-moose b/mods/perl-moose deleted file mode 100644 index b654191..0000000 --- a/mods/perl-moose +++ /dev/null @@ -1,3 +0,0 @@ -# A prototype, by Justin "juster" Davis -+ replaces perl-class-mop -+ conflicts perl-class-mop diff --git a/mods/perl-mozilla-ca b/mods/perl-mozilla-ca index 17e6d30..0b4cf55 100644 --- a/mods/perl-mozilla-ca +++ b/mods/perl-mozilla-ca @@ -1 +1 @@ -license = list("GPL2", "LGPL2.1") +set license {GPL2 LGPL2.1} diff --git a/mods/perl-net-http b/mods/perl-net-http index d5c8a6a..4516679 100644 --- a/mods/perl-net-http +++ b/mods/perl-net-http @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 \ No newline at end of file diff --git a/mods/perl-package-stash b/mods/perl-package-stash index 15c8ed3..56a450e 100644 --- a/mods/perl-package-stash +++ b/mods/perl-package-stash @@ -1 +1 @@ -depends add("perl-package-stash-xs>=0.24") +lappend depends perl-package-stash-xs>=0.24 diff --git a/mods/perl-www-robotrules b/mods/perl-www-robotrules index d5c8a6a..4516679 100644 --- a/mods/perl-www-robotrules +++ b/mods/perl-www-robotrules @@ -1 +1 @@ -conflicts add("perl-libwww<6") +lappend conflicts perl-libwww<6 \ No newline at end of file diff --git a/mods/perlbrew b/mods/perlbrew index f97b22c..ee8c2dd 100644 --- a/mods/perlbrew +++ b/mods/perlbrew @@ -1,8 +1,8 @@ -provides add("perl-app-perlbrew=$pkgver") -makedepends match("perl-io-all") moveTo(checkdepends) -makedepends match("perl-path-class") moveTo(checkdepends) -license = list("custom:MIT") -package append(""" -mkdir -p "$pkgdir"/usr/share/licenses/perlbrew -cp LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE -""") +set provides {perl-app-perlbrew=$pkgver} +move makedepends checkdepends perl-io-all perl-path-class +setdep makedepends perl-extutils-makemaker>=5.59 +set license custom:MIT +fappend package { + install -d -m 755 "$pkgdir"/usr/share/licenses/perlbrew + install -m 644 LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE +} -- cgit v1.2.3-24-g4f1b