1 |
commit: f5f4104c558646f9c7746cc146ccb0e9493d2112 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 12 12:07:34 2015 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 12 12:10:21 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f4104c |
7 |
|
8 |
dev-perl/PortageXS: Fix build, bug 529246; further cleanups, standardize numbering |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
...S-0.02.12.ebuild => PortageXS-0.2.10-r5.ebuild} | 33 ++++++++++++---------- |
13 |
...S-0.02.12.ebuild => PortageXS-0.2.12-r1.ebuild} | 16 +++++++---- |
14 |
2 files changed, 29 insertions(+), 20 deletions(-) |
15 |
|
16 |
diff --git a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild b/dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild |
17 |
similarity index 60% |
18 |
copy from dev-perl/PortageXS/PortageXS-0.02.12.ebuild |
19 |
copy to dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild |
20 |
index 0e4b60f..a9fe919 100644 |
21 |
--- a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild |
22 |
+++ b/dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild |
23 |
@@ -1,36 +1,40 @@ |
24 |
# Copyright 1999-2015 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
# $Id$ |
27 |
-EAPI=5 |
28 |
|
29 |
-MODULE_AUTHOR=KENTNL |
30 |
-MODULE_VERSION=0.2.12 |
31 |
+EAPI=5 |
32 |
+MODULE_VERSION=0.02.10 |
33 |
inherit perl-module eutils prefix |
34 |
|
35 |
DESCRIPTION="Portage abstraction layer for perl" |
36 |
-HOMEPAGE="http://search.cpan.org/~kentnl/PortageXS-0.2.12/" |
37 |
+HOMEPAGE="http://download.mpsna.de/opensource/PortageXS/" |
38 |
+SRC_URI="http://download.mpsna.de/opensource/PortageXS/${PN}-${MODULE_VERSION}.tar.gz" |
39 |
|
40 |
SLOT="0" |
41 |
LICENSE="GPL-2" |
42 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
44 |
IUSE="minimal" |
45 |
+SRC_TEST="do" |
46 |
|
47 |
-DEPEND="dev-perl/Module-Build |
48 |
+DEPEND=" |
49 |
virtual/perl-Term-ANSIColor |
50 |
dev-perl/Shell-EnvImporter |
51 |
- !minimal? ( dev-perl/IO-Socket-SSL |
52 |
- virtual/perl-Sys-Syslog )" |
53 |
+ !minimal? ( |
54 |
+ dev-perl/IO-Socket-SSL |
55 |
+ virtual/perl-Sys-Syslog |
56 |
+ ) |
57 |
+" |
58 |
+RDEPEND="${DEPEND}" |
59 |
|
60 |
src_prepare() { |
61 |
- epatch "${FILESDIR}"/${PV}/${P}-prefix.patch |
62 |
+ epatch "${FILESDIR}"/${PN}-0.02.10-portage_path_fix.patch |
63 |
+ epatch "${FILESDIR}"/${PN}-0.02.10-prefix.patch |
64 |
|
65 |
eprefixify \ |
66 |
- lib/PortageXS/examples/getParamFromFile.pl \ |
67 |
lib/PortageXS/Core.pm \ |
68 |
lib/PortageXS.pm \ |
69 |
usr/bin/portagexs_client \ |
70 |
- usr/sbin/portagexsd \ |
71 |
- t/01_Core.t |
72 |
+ usr/sbin/portagexsd |
73 |
|
74 |
if use minimal ; then |
75 |
rm -r "${S}"/usr || die |
76 |
@@ -41,7 +45,8 @@ src_prepare() { |
77 |
fi |
78 |
} |
79 |
|
80 |
-pkg_preinst() { |
81 |
+src_install() { |
82 |
+ perl-module_src_install |
83 |
if use !minimal ; then |
84 |
cp -r "${S}"/usr "${D}${EPREFIX}" || die |
85 |
fi |
86 |
@@ -54,5 +59,3 @@ pkg_postinst() { |
87 |
elog "to delete old ${EPREFIX}/etc/portagexs directories." |
88 |
fi |
89 |
} |
90 |
- |
91 |
-SRC_TEST="do parallel" |
92 |
|
93 |
diff --git a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild b/dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild |
94 |
similarity index 87% |
95 |
rename from dev-perl/PortageXS/PortageXS-0.02.12.ebuild |
96 |
rename to dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild |
97 |
index 0e4b60f..a881665 100644 |
98 |
--- a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild |
99 |
+++ b/dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild |
100 |
@@ -1,6 +1,7 @@ |
101 |
# Copyright 1999-2015 Gentoo Foundation |
102 |
# Distributed under the terms of the GNU General Public License v2 |
103 |
# $Id$ |
104 |
+ |
105 |
EAPI=5 |
106 |
|
107 |
MODULE_AUTHOR=KENTNL |
108 |
@@ -15,14 +16,18 @@ LICENSE="GPL-2" |
109 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
110 |
IUSE="minimal" |
111 |
|
112 |
-DEPEND="dev-perl/Module-Build |
113 |
+DEPEND=" |
114 |
+ dev-perl/Module-Build |
115 |
virtual/perl-Term-ANSIColor |
116 |
dev-perl/Shell-EnvImporter |
117 |
- !minimal? ( dev-perl/IO-Socket-SSL |
118 |
- virtual/perl-Sys-Syslog )" |
119 |
+ !minimal? ( |
120 |
+ dev-perl/IO-Socket-SSL |
121 |
+ virtual/perl-Sys-Syslog |
122 |
+ ) |
123 |
+" |
124 |
|
125 |
src_prepare() { |
126 |
- epatch "${FILESDIR}"/${PV}/${P}-prefix.patch |
127 |
+ epatch "${FILESDIR}"/0.02.12/${PN}-0.02.12-prefix.patch |
128 |
|
129 |
eprefixify \ |
130 |
lib/PortageXS/examples/getParamFromFile.pl \ |
131 |
@@ -41,7 +46,8 @@ src_prepare() { |
132 |
fi |
133 |
} |
134 |
|
135 |
-pkg_preinst() { |
136 |
+src_install() { |
137 |
+ perl-module_src_install |
138 |
if use !minimal ; then |
139 |
cp -r "${S}"/usr "${D}${EPREFIX}" || die |
140 |
fi |