1 |
commit: 9829d06578851d38cc2932a4dbda9b4e0ac7ea13 |
2 |
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 25 07:41:17 2013 +0000 |
4 |
Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Feb 25 07:41:17 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=9829d065 |
7 |
|
8 |
[newversion] local-lib-1.8.9 |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha141 |
11 |
Manifest-Sign-Key: ECD2C675C102CDA4 |
12 |
|
13 |
--- |
14 |
dev-perl/local-lib/ChangeLog | 6 ++ |
15 |
.../local-lib/files/1.008009/0001_No_CPAN.patch | 70 ++++++++++++++++++++ |
16 |
dev-perl/local-lib/local-lib-1.8.9.ebuild | 45 +++++++++++++ |
17 |
3 files changed, 121 insertions(+), 0 deletions(-) |
18 |
|
19 |
diff --git a/dev-perl/local-lib/ChangeLog b/dev-perl/local-lib/ChangeLog |
20 |
index c41c2c2..a85bef0 100644 |
21 |
--- a/dev-perl/local-lib/ChangeLog |
22 |
+++ b/dev-perl/local-lib/ChangeLog |
23 |
@@ -2,6 +2,12 @@ |
24 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Header: $ |
26 |
|
27 |
+*local-lib-1.8.9 (25 Feb 2013) |
28 |
+ |
29 |
+ 25 Feb 2013; Kent Fredric <kentfredric@×××××.com> |
30 |
+ +files/1.008009/0001_No_CPAN.patch, +local-lib-1.8.9.ebuild: |
31 |
+ Version Bump |
32 |
+ |
33 |
*local-lib-1.8.7 (24 Feb 2013) |
34 |
|
35 |
24 Feb 2013; Kent Fredric <kentfredric@×××××.com> |
36 |
|
37 |
diff --git a/dev-perl/local-lib/files/1.008009/0001_No_CPAN.patch b/dev-perl/local-lib/files/1.008009/0001_No_CPAN.patch |
38 |
new file mode 100644 |
39 |
index 0000000..0fa6b0a |
40 |
--- /dev/null |
41 |
+++ b/dev-perl/local-lib/files/1.008009/0001_No_CPAN.patch |
42 |
@@ -0,0 +1,70 @@ |
43 |
+diff -Naur a/Makefile.PL b/Makefile.PL |
44 |
+--- a/Makefile.PL |
45 |
++++ b/Makefile.PL |
46 |
+@@ -6,7 +6,7 @@ |
47 |
+ use Config; |
48 |
+ |
49 |
+ # Solaris (and possibly other Unices) have a tar in /usr/bin that, among |
50 |
+-# other things, does not understand @LongLink. This can cause |
51 |
++# other things, does not understand @LongLink. This can cause |
52 |
+ # extraction to look like it succeeded, but it actually failed (because |
53 |
+ # the error message for the @LongLink failure scrolled offscreen). |
54 |
+ # Therefore, given the fact that GNU tar is the most widespread tar available, |
55 |
+@@ -37,6 +37,8 @@ |
56 |
+ DEATH |
57 |
+ |
58 |
+ my $cwd; |
59 |
++{ # GENTOO |
60 |
++ last; |
61 |
+ BEGIN { |
62 |
+ $cwd = Cwd::cwd(); |
63 |
+ # watch out for fancy dashes. these can wind up in our @ARGV if the user is |
64 |
+@@ -106,7 +108,7 @@ |
65 |
+ } |
66 |
+ return $orig->(@_); |
67 |
+ }; |
68 |
+- # not yet -- apeiron, 2010-03-10 |
69 |
++ # not yet -- apeiron, 2010-03-10 |
70 |
+ #$CPAN::Config->{urllist} = ["http://cpan.shadowcatprojects.net"]; |
71 |
+ # <mst> all bootstrapped fine on one DH account |
72 |
+ # <mst> on another, it tries to install man stuff into /usr/local |
73 |
+@@ -158,10 +160,10 @@ |
74 |
+ system($^X, '-MCPAN', '-e', $cpan_config_command) |
75 |
+ unless $did_cpan_config; |
76 |
+ system($^X, '-MCPAN', |
77 |
+- '-e', |
78 |
++ '-e', |
79 |
+ q[CPAN::HandleConfig->load;], |
80 |
+- '-e', |
81 |
+- q[$CPAN::Config->{makepl_arg} = ] . |
82 |
++ '-e', |
83 |
++ q[$CPAN::Config->{makepl_arg} = ] . |
84 |
+ q['INSTALLMAN1DIR=none INSTALLMAN3DIR=none';], |
85 |
+ '-e', |
86 |
+ q[$CPAN::Config->{buildpl_arg} = ] . |
87 |
+@@ -175,6 +177,7 @@ |
88 |
+ } |
89 |
+ } |
90 |
+ |
91 |
++} |
92 |
+ use inc::Module::Install; |
93 |
+ |
94 |
+ name 'local-lib'; |
95 |
+@@ -185,7 +188,8 @@ |
96 |
+ requires 'Module::Build' => '0.36'; # PERL_MB_OPT |
97 |
+ my $required_CPAN = '1.82'; |
98 |
+ requires 'CPAN' => $required_CPAN; # sudo support + CPAN::HandleConfig |
99 |
+- |
100 |
++{ # GENTOO |
101 |
++ last; |
102 |
+ # No, really. See |
103 |
+ # https://rt.cpan.org/Public/Bug/Display.html?id=23735 |
104 |
+ # for why CPAN now sets the CPANPLUS env var. |
105 |
+@@ -256,6 +260,7 @@ |
106 |
+ auto_install; |
107 |
+ } |
108 |
+ chdir($cwd); |
109 |
++} |
110 |
+ resources( |
111 |
+ repository => 'git://git.shadowcat.co.uk/p5sagit/local-lib.git', |
112 |
+ homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/local-lib.git', |
113 |
|
114 |
diff --git a/dev-perl/local-lib/local-lib-1.8.9.ebuild b/dev-perl/local-lib/local-lib-1.8.9.ebuild |
115 |
new file mode 100644 |
116 |
index 0000000..889c382 |
117 |
--- /dev/null |
118 |
+++ b/dev-perl/local-lib/local-lib-1.8.9.ebuild |
119 |
@@ -0,0 +1,45 @@ |
120 |
+# Copyright 1999-2013 Gentoo Foundation |
121 |
+# Distributed under the terms of the GNU General Public License v2 |
122 |
+# $Header: $ |
123 |
+EAPI=5 |
124 |
+MODULE_AUTHOR=APEIRON |
125 |
+MODULE_VERSION=1.008009 |
126 |
+inherit perl-module |
127 |
+ |
128 |
+DESCRIPTION='create and use a local lib/ for perl modules with PERL5LIB' |
129 |
+LICENSE=" || ( Artistic GPL-2 )" |
130 |
+SLOT="0" |
131 |
+KEYWORDS="~amd64 ~x86" |
132 |
+IUSE="" |
133 |
+PATCHES=( |
134 |
+ "${FILESDIR}/${MODULE_VERSION}/0001_No_CPAN.patch" |
135 |
+) |
136 |
+perl_meta_configure() { |
137 |
+ # ExtUtils::MakeMaker 6.59 ( 6.590.0 ) |
138 |
+ echo \>=virtual/perl-ExtUtils-MakeMaker-6.590.0 |
139 |
+} |
140 |
+perl_meta_build() { |
141 |
+ # ExtUtils::MakeMaker 6.59 ( 6.590.0 ) |
142 |
+ echo \>=virtual/perl-ExtUtils-MakeMaker-6.590.0 |
143 |
+} |
144 |
+perl_meta_runtime() { |
145 |
+ # CPAN 1.82 ( 1.820.0 ) |
146 |
+ echo \>=virtual/perl-CPAN-1.820.0 |
147 |
+ # ExtUtils::Install 1.43 ( 1.430.0 ) |
148 |
+ echo \>=virtual/perl-ExtUtils-MakeMaker-1.430.0 |
149 |
+ # ExtUtils::MakeMaker 6.31 ( 6.310.0 ) |
150 |
+ echo \>=virtual/perl-ExtUtils-MakeMaker-6.310.0 |
151 |
+ # Module::Build 0.36 ( 0.360.0 ) |
152 |
+ echo \>=virtual/perl-Module-Build-0.360.0 |
153 |
+ # perl v5.8.1 ( 5.8.1 ) |
154 |
+ echo \>=dev-lang/perl-5.8.1 |
155 |
+} |
156 |
+DEPEND=" |
157 |
+ $(perl_meta_configure) |
158 |
+ $(perl_meta_build) |
159 |
+ $(perl_meta_runtime) |
160 |
+" |
161 |
+RDEPEND=" |
162 |
+ $(perl_meta_runtime) |
163 |
+" |
164 |
+SRC_TEST="do" |