summaryrefslogtreecommitdiffstats
path: root/mods
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-05-12 17:26:59 +0200
committerJustin Davis <jrcd83@gmail.com>2012-05-12 17:26:59 +0200
commitab63153f42c0ae8bf6fb72c690e32fd05e9e4aae (patch)
tree642b3b9813655d6fc42a4395c613ed8998bdc9b6 /mods
parent0e751f1969c99932ff8760a7e59ee8687b0925db (diff)
downloadgenpkg-ab63153f42c0ae8bf6fb72c690e32fd05e9e4aae.tar.gz
genpkg-ab63153f42c0ae8bf6fb72c690e32fd05e9e4aae.tar.xz
Replace all mods with tcl versions.
Diffstat (limited to 'mods')
-rw-r--r--mods/cpanminus2
-rw-r--r--mods/perl-anyevent8
-rw-r--r--mods/perl-encode-locale2
-rw-r--r--mods/perl-extutils-makemaker10
-rw-r--r--mods/perl-file-listing2
-rw-r--r--mods/perl-file-pushd2
-rw-r--r--mods/perl-guard2
-rw-r--r--mods/perl-html-form2
-rw-r--r--mods/perl-http-cookies2
-rw-r--r--mods/perl-http-daemon2
-rw-r--r--mods/perl-http-date2
-rw-r--r--mods/perl-http-message2
-rw-r--r--mods/perl-http-negotiate2
-rw-r--r--mods/perl-libwww4
-rw-r--r--mods/perl-lwp-mediatypes3
-rw-r--r--mods/perl-moose3
-rw-r--r--mods/perl-mozilla-ca2
-rw-r--r--mods/perl-net-http2
-rw-r--r--mods/perl-package-stash2
-rw-r--r--mods/perl-www-robotrules2
-rw-r--r--mods/perlbrew16
21 files changed, 36 insertions, 38 deletions
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
+}