1 |
commit: 5fde9b5cebf8bcbe36f6901b740dd80db2ddb30b |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 20:51:28 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 20:51:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fde9b5c |
7 |
|
8 |
app-portage/g-cpan: Various updates to live ebuild and version bump |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-portage/g-cpan/Manifest | 1 + |
13 |
.../{g-cpan-9999.ebuild => g-cpan-0.16.7.ebuild} | 27 ++++++++++++++-------- |
14 |
app-portage/g-cpan/g-cpan-9999.ebuild | 27 ++++++++++++++-------- |
15 |
3 files changed, 37 insertions(+), 18 deletions(-) |
16 |
|
17 |
diff --git a/app-portage/g-cpan/Manifest b/app-portage/g-cpan/Manifest |
18 |
index a2f909a..d19ca60 100644 |
19 |
--- a/app-portage/g-cpan/Manifest |
20 |
+++ b/app-portage/g-cpan/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST g-cpan-0.16.5.tar.gz 33894 SHA256 929c06ee2cdd3361121b6f359ea7fc9201bc42caff96ef1df45b4cb93ccfd988 SHA512 f2eab23281abe567ee2df42895e3f0783228c6ab5e3a8230089e900fd2700367d736299da20fb228f2d4542491a24da05fd035a81aff7d79ce5132e35c48ad0b WHIRLPOOL 01e0b9fc59264455d57fc64c432e683ae941c74d6efa6e2b3430dea6caac019cfad3e893a4b39de4386a3dadadecf95d828a9fbaa8e8b1260303081e2cc6ce65 |
23 |
DIST g-cpan-0.16.6.tar.gz 33844 SHA256 efd0a99483d8ce4a6c828f145592846e6076887b33f95431d7b8256c6973906d SHA512 f8e9e211ffc09ca42d1444a42ad2b8111beb8988e4a01387cf8788f7e4a52e6133168820c2800ac82429fa022e2ff473a774c48ac140b5cde184b3d77cd6e1b1 WHIRLPOOL 95d7db1905df41f320b8876a02f53e3238d55ab1be30e4b086ed362797819629997edd06e167c21325cc8d13540247a842cedcfcf1a236737fec91835b952252 |
24 |
+DIST g-cpan-0.16.7.tar.gz 33621 SHA256 35ead4120bee1b4158413eb1f5933baf1ce75500495d590163fbfef95c9c171f SHA512 2412b30fa4c3432882db0f31da6ace841e353a363e15a3b536ea1febcf601a7f9c4e14968e3abcf848e3557098088012472179688caf36cd97ae9b528a3db7fb WHIRLPOOL 646f76745023ae815ebecf57856b50dcd568657df68aee89099dd64904a4d43e9cef82f4f16518bd0b8db50e3ddd57aa200bf8fcffbd6539305f59be798bece1 |
25 |
|
26 |
diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-0.16.7.ebuild |
27 |
similarity index 58% |
28 |
copy from app-portage/g-cpan/g-cpan-9999.ebuild |
29 |
copy to app-portage/g-cpan/g-cpan-0.16.7.ebuild |
30 |
index 1ff7291..a547d86 100644 |
31 |
--- a/app-portage/g-cpan/g-cpan-9999.ebuild |
32 |
+++ b/app-portage/g-cpan/g-cpan-0.16.7.ebuild |
33 |
@@ -10,25 +10,34 @@ if [[ ${PV} == "9999" ]] ; then |
34 |
inherit git-r3 |
35 |
SRC_URI="" |
36 |
else |
37 |
- SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz" |
38 |
+ SRC_URI="https://github.com/gentoo-perl/g-cpan/releases/download/v${PV}/${P}.tar.gz" |
39 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
40 |
fi |
41 |
|
42 |
-DESCRIPTION="g-cpan: generate and install CPAN modules using portage" |
43 |
+DESCRIPTION="Autogenerate and install ebuilds for CPAN modules" |
44 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl/g-cpan" |
45 |
|
46 |
LICENSE="|| ( Artistic GPL-2 )" |
47 |
SLOT="0" |
48 |
-IUSE="" |
49 |
+IUSE="test" |
50 |
|
51 |
-DEPEND=" |
52 |
- >=dev-perl/YAML-0.60 |
53 |
- >=dev-perl/Shell-EnvImporter-1.70.0-r2 |
54 |
+COMMONDEPEND=" |
55 |
+ virtual/perl-File-Path |
56 |
+ virtual/perl-File-Spec |
57 |
dev-perl/Log-Agent |
58 |
+ virtual/perl-Memoize |
59 |
+ virtual/perl-IO |
60 |
+ dev-perl/Shell-EnvImporter |
61 |
+ virtual/perl-Term-ANSIColor |
62 |
+ >=dev-perl/YAML-0.60 |
63 |
" |
64 |
-RDEPEND="${DEPEND} |
65 |
+RDEPEND="${COMMONDEPEND} |
66 |
>=sys-apps/portage-2.0.0 |
67 |
" |
68 |
+DEPEND="${COMMONDEPEND} |
69 |
+ virtual/perl-ExtUtils-MakeMaker |
70 |
+ test? ( >=virtual/perl-Test-Simple-0.940.0 ) |
71 |
+" |
72 |
|
73 |
src_install() { |
74 |
perl-module_src_install |
75 |
@@ -39,8 +48,8 @@ src_install() { |
76 |
} |
77 |
|
78 |
pkg_postinst() { |
79 |
- elog "If you want to use g-cpan besides root you may wish to" |
80 |
- elog " adjust the permissions on /var/tmp/g-cpan or add users into portage group." |
81 |
+ elog "If you want to use g-cpan as non root user you may wish to adjust" |
82 |
+ elog "the permissions on /var/tmp/g-cpan or add users to the portage group." |
83 |
elog "Please note that some CPAN packages need additional manual" |
84 |
elog "parameters or tweaking, due to bugs in their build systems." |
85 |
} |
86 |
|
87 |
diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild |
88 |
index 1ff7291..a547d86 100644 |
89 |
--- a/app-portage/g-cpan/g-cpan-9999.ebuild |
90 |
+++ b/app-portage/g-cpan/g-cpan-9999.ebuild |
91 |
@@ -10,25 +10,34 @@ if [[ ${PV} == "9999" ]] ; then |
92 |
inherit git-r3 |
93 |
SRC_URI="" |
94 |
else |
95 |
- SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz" |
96 |
+ SRC_URI="https://github.com/gentoo-perl/g-cpan/releases/download/v${PV}/${P}.tar.gz" |
97 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
98 |
fi |
99 |
|
100 |
-DESCRIPTION="g-cpan: generate and install CPAN modules using portage" |
101 |
+DESCRIPTION="Autogenerate and install ebuilds for CPAN modules" |
102 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl/g-cpan" |
103 |
|
104 |
LICENSE="|| ( Artistic GPL-2 )" |
105 |
SLOT="0" |
106 |
-IUSE="" |
107 |
+IUSE="test" |
108 |
|
109 |
-DEPEND=" |
110 |
- >=dev-perl/YAML-0.60 |
111 |
- >=dev-perl/Shell-EnvImporter-1.70.0-r2 |
112 |
+COMMONDEPEND=" |
113 |
+ virtual/perl-File-Path |
114 |
+ virtual/perl-File-Spec |
115 |
dev-perl/Log-Agent |
116 |
+ virtual/perl-Memoize |
117 |
+ virtual/perl-IO |
118 |
+ dev-perl/Shell-EnvImporter |
119 |
+ virtual/perl-Term-ANSIColor |
120 |
+ >=dev-perl/YAML-0.60 |
121 |
" |
122 |
-RDEPEND="${DEPEND} |
123 |
+RDEPEND="${COMMONDEPEND} |
124 |
>=sys-apps/portage-2.0.0 |
125 |
" |
126 |
+DEPEND="${COMMONDEPEND} |
127 |
+ virtual/perl-ExtUtils-MakeMaker |
128 |
+ test? ( >=virtual/perl-Test-Simple-0.940.0 ) |
129 |
+" |
130 |
|
131 |
src_install() { |
132 |
perl-module_src_install |
133 |
@@ -39,8 +48,8 @@ src_install() { |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
- elog "If you want to use g-cpan besides root you may wish to" |
138 |
- elog " adjust the permissions on /var/tmp/g-cpan or add users into portage group." |
139 |
+ elog "If you want to use g-cpan as non root user you may wish to adjust" |
140 |
+ elog "the permissions on /var/tmp/g-cpan or add users to the portage group." |
141 |
elog "Please note that some CPAN packages need additional manual" |
142 |
elog "parameters or tweaking, due to bugs in their build systems." |
143 |
} |