1 |
commit: b91283a3e1946a62683dab6a8a5d6f76dd5a2d7b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 21:17:25 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 21:19:18 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91283a3 |
7 |
|
8 |
sys-apps/paludis: Drop old |
9 |
|
10 |
Drop intermediate old versions, keeping only the stable versions using |
11 |
EAPI 5 and EAPI 4. |
12 |
|
13 |
sys-apps/paludis/Manifest | 3 - |
14 |
...udis-2.2.0-check-IUSE_EFFECTIVE-in-EAPI-5.patch | 88 ----------- |
15 |
.../paludis-2.2.0-filter-EBUILD_PHASE_FUNC.patch | 22 --- |
16 |
.../paludis-2.2.0-filter-IUSE_EFFECTIVE.patch | 31 ---- |
17 |
.../files/paludis-2.2.0-fix-MERGE_TYPE.patch | 81 ---------- |
18 |
.../files/paludis-2.2.0-fix-PWD-handling.patch | 30 ---- |
19 |
sys-apps/paludis/paludis-1.4.2-r1.ebuild | 157 ------------------- |
20 |
sys-apps/paludis/paludis-2.2.0-r2.ebuild | 169 --------------------- |
21 |
sys-apps/paludis/paludis-2.2.0.ebuild | 159 ------------------- |
22 |
sys-apps/paludis/paludis-2.4.0_p20160112.ebuild | 154 ------------------- |
23 |
10 files changed, 894 deletions(-) |
24 |
|
25 |
diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest |
26 |
index a6c2d07..ff10717 100644 |
27 |
--- a/sys-apps/paludis/Manifest |
28 |
+++ b/sys-apps/paludis/Manifest |
29 |
@@ -1,6 +1,3 @@ |
30 |
-DIST paludis-1.4.2.tar.bz2 1791385 SHA256 ac342d908572e97968abcdd806ba9f390585a06f8da213b34374475972cb2611 SHA512 1176812683453e61897005612f525aad42b38063ff680e645ee840d63c3ffe866578f4c2756f85f7d8bea5be8ca70d3ad1713c0ea2de9e18a76135251126c109 WHIRLPOOL 72b7391b242cebd78883e43ad82d736825841de64a2e4675a7b43a751a51edd3da8acdf37888b5112f4c9aa22c0137502e519cb81b6a1085681a4d860dafcd1c |
31 |
DIST paludis-2.0.0.tar.bz2 1787616 SHA256 9e635d86e655658d31adde5813f5fcad2982b5fe8847c3c565eca7d28a1ec639 SHA512 e1df4d0617b4e021d1b63181517c0ecb9ece55669226c6ea0bba318b6899277c09a8d8ccc11ef673a3f27e77302c84702df4ae7568b44a87e0b138e346623728 WHIRLPOOL 90dcd765ebc864d14e569a01071fe3effae3c4424cf7f3004ce1f273c721c512697c6100e3b775d34732640bd770220fe5304f4d2b5e67f2de86c9f04c9ffe97 |
32 |
-DIST paludis-2.2.0.tar.bz2 1786405 SHA256 0b0bcb14a6539874d274c72e6a7b9825aa80fa083c2b61e1d5b14daf24829346 SHA512 9b4dd4613ec31683021d6fc5b5eb094024ceada47c41e09d1f0cb86f1de5b621869756401ba14ec0ec5f5dd20a5f8bf5b596c3891724bb9c245400b5fef4961f WHIRLPOOL 9cd602561b38e1bb6fc3d9baa5452c63a394c1e51faf299d8d1e82dad9a53969f14be542dac3f90974fcdf08c16c267cfdf45273c5244f378f9a2b7b6288bd97 |
33 |
DIST paludis-2.4.0.tar.bz2 1787689 SHA256 f47b4bb5503dc127022453b15ca811dec22ee2f04c3c3b76ed1c5a83dbe1af1f SHA512 5fbb15d2285c892fdf19288b8838c51ec2439817a9abc685b8692ff4a3ddf76632d3ab51b2e0298c8eacf00f8b00f4e66b47b34db12844cd4eb77cbfb87ca32e WHIRLPOOL d9dc107886b8bf09bb203704d559dd030190b8390607964578c3f2e10a5c5cd4400146ffed894a968143761fc8149796d37597274b34b8414133b26c7252345b |
34 |
-DIST paludis-2.4.0_p20160112.tar.xz 1296724 SHA256 2b209337b6a4667ffe8b3db431a88314b3b224cf0f9d57a6d4fdd8c2c00f4b19 SHA512 898853bf75e60dcfcb8aca7e45da3b7eeec2bb119db5b77a12e876282abe936bb3064bf52c27b7a7a949ab0865e7fbbfea78dc66408a09d00a02e1a2069153ae WHIRLPOOL 5167ad0d234f874ef304e0725ea78517c7bcd2e0ef09b5e8ac6b6cf4213fcbccd3b6057caf89274ed67bfd7b35efa0f33fc82d479f5b5f31937a0b7c48c37777 |
35 |
DIST paludis-2.6.0.tar.bz2 1885055 SHA256 bde018c89fce95c2cc793d9171e5a51748ad682d06f839fab394e233257aaf4c SHA512 78a9c0a19703dbbc07934de389b749ab83365454e29b19c323d6c03304162e35ff4d92f7ac1f28067ad853057f2422be43418b3c6a57a193c4b8dd5a4e81eba4 WHIRLPOOL dc4f4ecad0ccbb4b8e6b1b4d0a2c71772b5be244f09dc5456fe42d5510b6b7432ca087f99ae86b2bbbd05b18f70a15371dca1193ead556751faffd01ef227dd6 |
36 |
|
37 |
diff --git a/sys-apps/paludis/files/paludis-2.2.0-check-IUSE_EFFECTIVE-in-EAPI-5.patch b/sys-apps/paludis/files/paludis-2.2.0-check-IUSE_EFFECTIVE-in-EAPI-5.patch |
38 |
deleted file mode 100644 |
39 |
index 1950f69..0000000 |
40 |
--- a/sys-apps/paludis/files/paludis-2.2.0-check-IUSE_EFFECTIVE-in-EAPI-5.patch |
41 |
+++ /dev/null |
42 |
@@ -1,88 +0,0 @@ |
43 |
-From bfb1bd7682b4a678cfa7dccb87d1f49d842317ac Mon Sep 17 00:00:00 2001 |
44 |
-From: David Leverton <levertond@××××××××××.com> |
45 |
-Date: Sat, 21 Mar 2015 20:04:30 +0000 |
46 |
-Subject: Only check IUSE_EFFECTIVE for EAPI 5 |
47 |
- |
48 |
-In other EAPIs the value isn't set by C++, and therefore may leak in |
49 |
-from the calling environment. |
50 |
- |
51 |
-diff --git a/paludis/repositories/e/ebuild/0/list_functions.bash b/paludis/repositories/e/ebuild/0/list_functions.bash |
52 |
-index 0c5d91a..4998c2b 100644 |
53 |
---- a/paludis/repositories/e/ebuild/0/list_functions.bash |
54 |
-+++ b/paludis/repositories/e/ebuild/0/list_functions.bash |
55 |
-@@ -37,13 +37,6 @@ usev() |
56 |
- |
57 |
- useq() |
58 |
- { |
59 |
-- if [[ -n "${IUSE_EFFECTIVE:+x}" ]] ; then |
60 |
-- local i=( $IUSE_EFFECTIVE ) |
61 |
-- if ! hasq ${1#!} "${i[@]#[+-]}" ; then |
62 |
-- die "Flag '${1#!}' is not included in IUSE_EFFECTIVE=\"${IUSE_EFFECTIVE}\"" |
63 |
-- fi |
64 |
-- fi |
65 |
-- |
66 |
- if [[ "${1:0:1}" == "!" ]] ; then |
67 |
- ! hasq "${1#!}" "${USE}" |
68 |
- else |
69 |
-diff --git a/paludis/repositories/e/ebuild/5/Makefile.am b/paludis/repositories/e/ebuild/5/Makefile.am |
70 |
-index fbcb919..ced4e53 100644 |
71 |
---- a/paludis/repositories/e/ebuild/5/Makefile.am |
72 |
-+++ b/paludis/repositories/e/ebuild/5/Makefile.am |
73 |
-@@ -7,6 +7,7 @@ libexecprog5dir = $(libexecdir)/paludis/5 |
74 |
- libexecprog5_SCRIPTS = \ |
75 |
- src_test.bash \ |
76 |
- usex.bash \ |
77 |
-+ list_functions.bash \ |
78 |
- output_functions.bash |
79 |
- |
80 |
- TESTS = |
81 |
-diff --git a/paludis/repositories/e/ebuild/5/list_functions.bash b/paludis/repositories/e/ebuild/5/list_functions.bash |
82 |
-new file mode 100644 |
83 |
-index 0000000..7cb22ad |
84 |
---- /dev/null |
85 |
-+++ b/paludis/repositories/e/ebuild/5/list_functions.bash |
86 |
-@@ -0,0 +1,41 @@ |
87 |
-+#!/usr/bin/env bash |
88 |
-+# vim: set sw=4 sts=4 et : |
89 |
-+ |
90 |
-+# Copyright (c) 2006, 2009, 2012 Ciaran McCreesh |
91 |
-+# Copyright (c) 2015 David Leverton |
92 |
-+# |
93 |
-+# Based in part upon ebuild.sh from Portage, which is Copyright 1995-2005 |
94 |
-+# Gentoo Foundation and distributed under the terms of the GNU General |
95 |
-+# Public License v2. |
96 |
-+# |
97 |
-+# This file is part of the Paludis package manager. Paludis is free software; |
98 |
-+# you can redistribute it and/or modify it under the terms of the GNU General |
99 |
-+# Public License, version 2, as published by the Free Software Foundation. |
100 |
-+# |
101 |
-+# Paludis is distributed in the hope that it will be useful, but WITHOUT ANY |
102 |
-+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
103 |
-+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
104 |
-+# details. |
105 |
-+# |
106 |
-+# You should have received a copy of the GNU General Public License along with |
107 |
-+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
108 |
-+# Place, Suite 330, Boston, MA 02111-1307 USA |
109 |
-+ |
110 |
-+ebuild_load_module --older list_functions |
111 |
-+ |
112 |
-+useq() |
113 |
-+{ |
114 |
-+ if [[ -n "${IUSE_EFFECTIVE:+x}" ]] ; then |
115 |
-+ local i=( $IUSE_EFFECTIVE ) |
116 |
-+ if ! hasq ${1#!} "${i[@]#[+-]}" ; then |
117 |
-+ die "Flag '${1#!}' is not included in IUSE_EFFECTIVE=\"${IUSE_EFFECTIVE}\"" |
118 |
-+ fi |
119 |
-+ fi |
120 |
-+ |
121 |
-+ if [[ "${1:0:1}" == "!" ]] ; then |
122 |
-+ ! hasq "${1#!}" "${USE}" |
123 |
-+ else |
124 |
-+ hasq "${1}" "${USE}" |
125 |
-+ fi |
126 |
-+} |
127 |
-+ |
128 |
--- |
129 |
-cgit v0.10.2 |
130 |
- |
131 |
|
132 |
diff --git a/sys-apps/paludis/files/paludis-2.2.0-filter-EBUILD_PHASE_FUNC.patch b/sys-apps/paludis/files/paludis-2.2.0-filter-EBUILD_PHASE_FUNC.patch |
133 |
deleted file mode 100644 |
134 |
index dc46726..0000000 |
135 |
--- a/sys-apps/paludis/files/paludis-2.2.0-filter-EBUILD_PHASE_FUNC.patch |
136 |
+++ /dev/null |
137 |
@@ -1,22 +0,0 @@ |
138 |
-From dccb65acba7684c97675473fec5120e3aa55d2d0 Mon Sep 17 00:00:00 2001 |
139 |
-From: David Leverton <levertond@××××××××××.com> |
140 |
-Date: Sun, 29 Mar 2015 18:36:02 +0100 |
141 |
-Subject: Fix EBUILD_PHASE_FUNC leakage |
142 |
- |
143 |
- |
144 |
-diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash |
145 |
-index 24a93d4..b856bad 100755 |
146 |
---- a/paludis/repositories/e/ebuild/ebuild.bash |
147 |
-+++ b/paludis/repositories/e/ebuild/ebuild.bash |
148 |
-@@ -76,7 +76,7 @@ ebuild_sanitise_envvars |
149 |
- # fancy fake variables |
150 |
- EBUILD_METADATA_VARIABLES="DEPEND RDEPEND PDEPEND IUSE IUSE_EFFECTIVE SRC_URI DOWNLOADS RESTRICT \ |
151 |
- LICENSE LICENCES KEYWORDS INHERITED PROVIDE HOMEPAGE DESCRIPTION DEPENDENCIES \ |
152 |
-- E_IUSE E_DEPEND E_RDEPEND E_PDEPEND PLATFORMS DEFINED_PHASES \ |
153 |
-+ E_IUSE E_DEPEND E_RDEPEND E_PDEPEND PLATFORMS DEFINED_PHASES EBUILD_PHASE_FUNC \ |
154 |
- MYOPTIONS E_MYOPTIONS E_DEPENDENCIES BINARY_KEYWORDS BINARY_URI \ |
155 |
- GENERATED_USING GENERATED_TIME GENERATED_FROM_REPOSITORY BINARY_PLATFORMS REMOTE_IDS \ |
156 |
- SUMMARY BUGS_TO UPSTREAM_DOCUMENTATION UPSTREAM_CHANGELOG \ |
157 |
--- |
158 |
-cgit v0.10.2 |
159 |
- |
160 |
|
161 |
diff --git a/sys-apps/paludis/files/paludis-2.2.0-filter-IUSE_EFFECTIVE.patch b/sys-apps/paludis/files/paludis-2.2.0-filter-IUSE_EFFECTIVE.patch |
162 |
deleted file mode 100644 |
163 |
index 2e56e6b..0000000 |
164 |
--- a/sys-apps/paludis/files/paludis-2.2.0-filter-IUSE_EFFECTIVE.patch |
165 |
+++ /dev/null |
166 |
@@ -1,31 +0,0 @@ |
167 |
-From ef6930e03428ec512c9d564886c06078e5238d45 Mon Sep 17 00:00:00 2001 |
168 |
-From: David Leverton <levertond@××××××××××.com> |
169 |
-Date: Sat, 21 Mar 2015 19:38:52 +0000 |
170 |
-Subject: Add IUSE_EFFECTIVE to EBUILD_METADATA_VARIABLES{,_FROM_CPLUSPLUS} |
171 |
- |
172 |
- |
173 |
-diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash |
174 |
-index f4387e1..24a93d4 100755 |
175 |
---- a/paludis/repositories/e/ebuild/ebuild.bash |
176 |
-+++ b/paludis/repositories/e/ebuild/ebuild.bash |
177 |
-@@ -74,7 +74,7 @@ ebuild_sanitise_envvars |
178 |
- |
179 |
- # The list below should include all variables from all EAPIs, along with any |
180 |
- # fancy fake variables |
181 |
--EBUILD_METADATA_VARIABLES="DEPEND RDEPEND PDEPEND IUSE SRC_URI DOWNLOADS RESTRICT \ |
182 |
-+EBUILD_METADATA_VARIABLES="DEPEND RDEPEND PDEPEND IUSE IUSE_EFFECTIVE SRC_URI DOWNLOADS RESTRICT \ |
183 |
- LICENSE LICENCES KEYWORDS INHERITED PROVIDE HOMEPAGE DESCRIPTION DEPENDENCIES \ |
184 |
- E_IUSE E_DEPEND E_RDEPEND E_PDEPEND PLATFORMS DEFINED_PHASES \ |
185 |
- MYOPTIONS E_MYOPTIONS E_DEPENDENCIES BINARY_KEYWORDS BINARY_URI \ |
186 |
-@@ -82,7 +82,7 @@ EBUILD_METADATA_VARIABLES="DEPEND RDEPEND PDEPEND IUSE SRC_URI DOWNLOADS RESTRIC |
187 |
- SUMMARY BUGS_TO UPSTREAM_DOCUMENTATION UPSTREAM_CHANGELOG \ |
188 |
- UPSTREAM_RELEASE_NOTES PROPERTIES PALUDIS_DECLARED_FUNCTIONS SLOT EAPI OPTIONS USE \ |
189 |
- PALUDIS_EBUILD_RDEPEND_WAS_SET PALUDIS_EBUILD_DEPEND REQUIRED_USE SCM_REVISION" |
190 |
--EBUILD_METADATA_VARIABLES_FROM_CPLUSPLUS="SLOT EAPI OPTIONS USE" |
191 |
-+EBUILD_METADATA_VARIABLES_FROM_CPLUSPLUS="SLOT EAPI OPTIONS USE IUSE_EFFECTIVE" |
192 |
- |
193 |
- shopt -s expand_aliases |
194 |
- [[ -z ${PALUDIS_SHELL_OPTIONS} && unset == ${PALUDIS_SHELL_OPTIONS-unset} ]] && |
195 |
--- |
196 |
-cgit v0.10.2 |
197 |
- |
198 |
|
199 |
diff --git a/sys-apps/paludis/files/paludis-2.2.0-fix-MERGE_TYPE.patch b/sys-apps/paludis/files/paludis-2.2.0-fix-MERGE_TYPE.patch |
200 |
deleted file mode 100644 |
201 |
index 2ef1a48..0000000 |
202 |
--- a/sys-apps/paludis/files/paludis-2.2.0-fix-MERGE_TYPE.patch |
203 |
+++ /dev/null |
204 |
@@ -1,81 +0,0 @@ |
205 |
-From 96768e54e2fdfc526edd2e939f20203e43b25a36 Mon Sep 17 00:00:00 2001 |
206 |
-From: David Leverton <levertond@××××××××××.com> |
207 |
-Date: Sun, 1 Mar 2015 15:22:32 +0000 |
208 |
-Subject: Fix MERGE_TYPE |
209 |
- |
210 |
-Unfortunately the test cases were broken in the same way as the |
211 |
-feature itself, so it wasn't caught. |
212 |
- |
213 |
-Fixes: ticket:1323 |
214 |
- |
215 |
-diff --git a/paludis/repositories/e/e_repository_TEST_4.cc b/paludis/repositories/e/e_repository_TEST_4.cc |
216 |
-index a59014d..caccf2c 100644 |
217 |
---- a/paludis/repositories/e/e_repository_TEST_4.cc |
218 |
-+++ b/paludis/repositories/e/e_repository_TEST_4.cc |
219 |
-@@ -301,7 +301,6 @@ TEST(ERepository, EAPI4MergeType) |
220 |
- n::replacing() = std::make_shared<PackageIDSequence>(), |
221 |
- n::want_phase() = &want_all_phases |
222 |
- )); |
223 |
-- ::setenv("EXPECTED_MERGE_TYPE", "source", 1); |
224 |
- |
225 |
- const std::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches( |
226 |
- PackageDepSpec(parse_user_package_dep_spec("=cat/merge-type-4::test-repo", |
227 |
-@@ -371,7 +370,6 @@ TEST(ERepository, EAPI4MergeTypeBin) |
228 |
- n::replacing() = std::make_shared<PackageIDSequence>(), |
229 |
- n::want_phase() = &want_all_phases |
230 |
- )); |
231 |
-- ::setenv("EXPECTED_MERGE_TYPE", "buildonly", 1); |
232 |
- |
233 |
- const std::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches( |
234 |
- PackageDepSpec(parse_user_package_dep_spec("=cat/merge-type-bin-4::test-repo", |
235 |
-@@ -389,7 +387,6 @@ TEST(ERepository, EAPI4MergeTypeBin) |
236 |
- n::replacing() = std::make_shared<PackageIDSequence>(), |
237 |
- n::want_phase() = &want_all_phases |
238 |
- )); |
239 |
-- ::setenv("EXPECTED_MERGE_TYPE", "binary", 1); |
240 |
- |
241 |
- const std::shared_ptr<const PackageID> id(*env[selection::RequireExactlyOne(generator::Matches( |
242 |
- PackageDepSpec(parse_user_package_dep_spec("=cat/merge-type-bin-4::binrepo", |
243 |
-diff --git a/paludis/repositories/e/e_repository_TEST_4_setup.sh b/paludis/repositories/e/e_repository_TEST_4_setup.sh |
244 |
-index 81b6593..0c28acc 100755 |
245 |
---- a/paludis/repositories/e/e_repository_TEST_4_setup.sh |
246 |
-+++ b/paludis/repositories/e/e_repository_TEST_4_setup.sh |
247 |
-@@ -956,6 +956,8 @@ KEYWORDS="test" |
248 |
- |
249 |
- S="${WORKDIR}" |
250 |
- |
251 |
-+EXPECTED_MERGE_TYPE=source |
252 |
-+ |
253 |
- pkg_setup() { |
254 |
- if [[ ${EXPECTED_MERGE_TYPE} != ${MERGE_TYPE} ]] ; then |
255 |
- die ${EXPECTED_MERGE_TYPE} is not ${MERGE_TYPE} |
256 |
-@@ -975,10 +977,13 @@ KEYWORDS="test" |
257 |
- |
258 |
- S="${WORKDIR}" |
259 |
- |
260 |
-+EXPECTED_MERGE_TYPE=buildonly |
261 |
-+ |
262 |
- pkg_setup() { |
263 |
- if [[ ${EXPECTED_MERGE_TYPE} != ${MERGE_TYPE} ]] ; then |
264 |
- die ${EXPECTED_MERGE_TYPE} is not ${MERGE_TYPE} |
265 |
- fi |
266 |
-+ EXPECTED_MERGE_TYPE=binary |
267 |
- } |
268 |
- END |
269 |
- mkdir -p "cat/required-use-all-good" || exit 1 |
270 |
-diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash |
271 |
-index a88554b..f4387e1 100755 |
272 |
---- a/paludis/repositories/e/ebuild/ebuild.bash |
273 |
-+++ b/paludis/repositories/e/ebuild/ebuild.bash |
274 |
-@@ -304,7 +304,7 @@ ebuild_scrub_environment() |
275 |
- echo "\${!${PALUDIS_CLIENT_UPPER}_CMDLINE_*} ${PALUDIS_CLIENT_UPPER}_OPTIONS" ) |
276 |
- |
277 |
- unset -v CATEGORY PN PV P PNV PVR PF PNVR |
278 |
-- unset -v ebuild EBUILD |
279 |
-+ unset -v ebuild EBUILD MERGE_TYPE |
280 |
- unset -v $( |
281 |
- for v in ${PALUDIS_SOURCE_MERGED_VARIABLES} ${PALUDIS_BRACKET_MERGED_VARIABLES} ; do |
282 |
- echo E_${v} |
283 |
--- |
284 |
-cgit v0.10.2 |
285 |
- |
286 |
|
287 |
diff --git a/sys-apps/paludis/files/paludis-2.2.0-fix-PWD-handling.patch b/sys-apps/paludis/files/paludis-2.2.0-fix-PWD-handling.patch |
288 |
deleted file mode 100644 |
289 |
index 663e94d..0000000 |
290 |
--- a/sys-apps/paludis/files/paludis-2.2.0-fix-PWD-handling.patch |
291 |
+++ /dev/null |
292 |
@@ -1,30 +0,0 @@ |
293 |
-From f9b2434560399b00f7de479474f8f22fc0271e77 Mon Sep 17 00:00:00 2001 |
294 |
-From: Georgi Georgiev <chutz@×××.net> |
295 |
-Date: Tue, 10 Mar 2015 00:38:36 +0900 |
296 |
-Subject: PWD is a special variable, we should leave its value alone |
297 |
- |
298 |
-Bash sets the value of PWD to the current working directory. It is not a |
299 |
-good idea to change that variable without actually changing the |
300 |
-directory. This would happen if the working directory changes between |
301 |
-saving and loading the environment (saving - when building a PBIN, and |
302 |
-loading - when installing it for example), so better let bash handle |
303 |
-this variable. |
304 |
- |
305 |
-Fixes: ticket:1325 |
306 |
- |
307 |
-diff --git a/paludis/repositories/e/ebuild/source_functions.bash b/paludis/repositories/e/ebuild/source_functions.bash |
308 |
-index 58b9327..5bfb251 100755 |
309 |
---- a/paludis/repositories/e/ebuild/source_functions.bash |
310 |
-+++ b/paludis/repositories/e/ebuild/source_functions.bash |
311 |
-@@ -37,7 +37,7 @@ ebuild_need_extglob() |
312 |
- ebuild_safe_source() |
313 |
- { |
314 |
- set -- "${@}" '[^a-zA-Z_]*' '*[^a-zA-Z0-9_]*' \ |
315 |
-- EUID PPID UID FUNCNAME GROUPS SHELLOPTS BASHOPTS BASHPID IFS \ |
316 |
-+ EUID PPID UID FUNCNAME GROUPS SHELLOPTS BASHOPTS BASHPID IFS PWD \ |
317 |
- 'BASH_@(ARGC|ARGV|LINENO|SOURCE|VERSINFO|REMATCH)' \ |
318 |
- 'BASH_COMPLETION?(_DIR)' 'bash+([0-9])?([a-z])' \ |
319 |
- EBUILD_KILL_PID PALUDIS_LOADSAVEENV_DIR PALUDIS_DO_NOTHING_SANDBOXY SANDBOX_ACTIVE \ |
320 |
--- |
321 |
-cgit v0.10.2 |
322 |
- |
323 |
|
324 |
diff --git a/sys-apps/paludis/paludis-1.4.2-r1.ebuild b/sys-apps/paludis/paludis-1.4.2-r1.ebuild |
325 |
deleted file mode 100644 |
326 |
index 4751880..0000000 |
327 |
--- a/sys-apps/paludis/paludis-1.4.2-r1.ebuild |
328 |
+++ /dev/null |
329 |
@@ -1,157 +0,0 @@ |
330 |
-# Copyright 1999-2015 Gentoo Foundation |
331 |
-# Distributed under the terms of the GNU General Public License v2 |
332 |
-# $Id$ |
333 |
- |
334 |
-EAPI=4 |
335 |
- |
336 |
-PYTHON_COMPAT=( python2_7 ) |
337 |
- |
338 |
-inherit bash-completion-r1 eutils python-single-r1 user |
339 |
- |
340 |
-DESCRIPTION="paludis, the other package mangler" |
341 |
-HOMEPAGE="http://paludis.exherbo.org/" |
342 |
-SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2" |
343 |
- |
344 |
-IUSE="doc pbins pink python ruby search-index test xml" |
345 |
-LICENSE="GPL-2 vim" |
346 |
-SLOT="0" |
347 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
348 |
- |
349 |
-COMMON_DEPEND=" |
350 |
- >=app-admin/eselect-1.2.13 |
351 |
- >=app-shells/bash-3.2 |
352 |
- >=sys-devel/gcc-4.4 |
353 |
- dev-libs/libpcre[cxx] |
354 |
- sys-apps/file |
355 |
- pbins? ( >=app-arch/libarchive-3.1.2[xattr] ) |
356 |
- python? ( |
357 |
- ${PYTHON_DEPS} |
358 |
- >=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] ) |
359 |
- ruby? ( dev-lang/ruby:1.9 ) |
360 |
- xml? ( >=dev-libs/libxml2-2.6 ) |
361 |
- search-index? ( >=dev-db/sqlite-3 )" |
362 |
- |
363 |
-DEPEND="${COMMON_DEPEND} |
364 |
- doc? ( |
365 |
- || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 ) |
366 |
- python? ( |
367 |
- dev-python/epydoc[${PYTHON_USEDEP}] |
368 |
- dev-python/pygments[${PYTHON_USEDEP}] ) |
369 |
- ruby? ( dev-ruby/syntax ) |
370 |
- ) |
371 |
- virtual/pkgconfig |
372 |
- test? ( >=dev-cpp/gtest-1.6.0-r1 )" |
373 |
- |
374 |
-RDEPEND="${COMMON_DEPEND} |
375 |
- sys-apps/sandbox" |
376 |
- |
377 |
-PDEPEND="app-eselect/eselect-package-manager" |
378 |
- |
379 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
380 |
- |
381 |
-pkg_pretend() { |
382 |
- if [[ ${MERGE_TYPE} != buildonly ]]; then |
383 |
- if id paludisbuild >/dev/null 2>/dev/null ; then |
384 |
- if ! groups paludisbuild | grep --quiet '\<tty\>' ; then |
385 |
- eerror "The 'paludisbuild' user is now expected to be a member of the" |
386 |
- eerror "'tty' group. You should add the user to this group before" |
387 |
- eerror "upgrading Paludis." |
388 |
- die "Please add paludisbuild to tty group" |
389 |
- fi |
390 |
- fi |
391 |
- fi |
392 |
- |
393 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
394 |
- if [[ $(gcc-major-version) -lt 4 |
395 |
- || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]] |
396 |
- then |
397 |
- eerror "Paludis requires at least gcc 4.4 to build. Please switch the active" |
398 |
- eerror "gcc version using gcc-config." |
399 |
- die "Paludis requires at least gcc 4.4" |
400 |
- fi |
401 |
- fi |
402 |
-} |
403 |
- |
404 |
-pkg_setup() { |
405 |
- enewgroup "paludisbuild" |
406 |
- enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" |
407 |
- |
408 |
- use python && python-single-r1_pkg_setup |
409 |
-} |
410 |
- |
411 |
-src_prepare() { |
412 |
- # The package explicitly wants ruby1.9, so fix the script on it. |
413 |
- # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 |
414 |
- sed -i -e '1s/ruby/&19/' ruby/demos/*.rb || die |
415 |
- |
416 |
- epatch_user |
417 |
-} |
418 |
- |
419 |
-src_configure() { |
420 |
- local myeconfargs=( |
421 |
- --htmldir=/usr/share/doc/${PF}/html |
422 |
- |
423 |
- $(use_enable doc doxygen) |
424 |
- $(use_enable pbins) |
425 |
- $(use_enable pink) |
426 |
- $(use_enable ruby) |
427 |
- $(use ruby && use_enable doc ruby-doc) |
428 |
- $(use_enable python) |
429 |
- $(use python && use_enable doc python-doc) |
430 |
- $(use_enable xml) |
431 |
- $(use_enable search-index) |
432 |
- $(use_enable test gtest) |
433 |
- |
434 |
- --enable-prebuilt-documentation |
435 |
- --enable-vim |
436 |
- --enable-visibility |
437 |
- --with-config-framework=eselect |
438 |
- --with-environments=default,portage |
439 |
- --with-vim-install-dir=/usr/share/vim/vimfiles |
440 |
- ) |
441 |
- |
442 |
- econf "${myeconfargs[@]}" |
443 |
-} |
444 |
- |
445 |
-src_install() { |
446 |
- default |
447 |
- prune_libtool_files |
448 |
- |
449 |
- dobashcomp bash-completion/cave |
450 |
- |
451 |
- insinto /usr/share/zsh/site-functions |
452 |
- doins zsh-completion/_cave |
453 |
-} |
454 |
- |
455 |
-src_test() { |
456 |
- # Work around Portage bugs |
457 |
- local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
458 |
- local -x BASH_ENV=/dev/null |
459 |
- |
460 |
- if [[ ${EUID} == 0 ]] ; then |
461 |
- # hate |
462 |
- local -x PALUDIS_REDUCED_UID=0 |
463 |
- local -x PALUDIS_REDUCED_GID=0 |
464 |
- fi |
465 |
- |
466 |
- if ! nonfatal emake check ; then |
467 |
- eerror "Tests failed. Looking for files for you to add to your bug report..." |
468 |
- find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
469 |
- eerror " $a" |
470 |
- done |
471 |
- die "Make check failed" |
472 |
- fi |
473 |
-} |
474 |
- |
475 |
-pkg_postinst() { |
476 |
- local pm |
477 |
- if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
478 |
- pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) |
479 |
- fi |
480 |
- |
481 |
- if [[ ${pm} != paludis ]] ; then |
482 |
- elog "If you are using paludis or cave as your primary package manager," |
483 |
- elog "you should consider running:" |
484 |
- elog " eselect package-manager set paludis" |
485 |
- fi |
486 |
-} |
487 |
|
488 |
diff --git a/sys-apps/paludis/paludis-2.2.0-r2.ebuild b/sys-apps/paludis/paludis-2.2.0-r2.ebuild |
489 |
deleted file mode 100644 |
490 |
index 98a4d23..0000000 |
491 |
--- a/sys-apps/paludis/paludis-2.2.0-r2.ebuild |
492 |
+++ /dev/null |
493 |
@@ -1,169 +0,0 @@ |
494 |
-# Copyright 1999-2015 Gentoo Foundation |
495 |
-# Distributed under the terms of the GNU General Public License v2 |
496 |
-# $Id$ |
497 |
- |
498 |
-EAPI=5 |
499 |
- |
500 |
-PYTHON_COMPAT=( python2_7 ) |
501 |
- |
502 |
-inherit autotools bash-completion-r1 eutils python-single-r1 user |
503 |
- |
504 |
-DESCRIPTION="paludis, the other package mangler" |
505 |
-HOMEPAGE="http://paludis.exherbo.org/" |
506 |
-SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2" |
507 |
- |
508 |
-IUSE="doc pbins pink python ruby search-index test xml" |
509 |
-LICENSE="GPL-2 vim" |
510 |
-SLOT="0" |
511 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
512 |
- |
513 |
-COMMON_DEPEND=" |
514 |
- >=app-admin/eselect-1.2.13 |
515 |
- >=app-shells/bash-3.2 |
516 |
- dev-libs/libpcre[cxx] |
517 |
- sys-apps/file |
518 |
- pbins? ( >=app-arch/libarchive-3.1.2 ) |
519 |
- python? ( |
520 |
- ${PYTHON_DEPS} |
521 |
- >=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] ) |
522 |
- ruby? ( dev-lang/ruby:1.9 ) |
523 |
- search-index? ( >=dev-db/sqlite-3 ) |
524 |
- xml? ( >=dev-libs/libxml2-2.6 )" |
525 |
- |
526 |
-DEPEND="${COMMON_DEPEND} |
527 |
- >=app-text/asciidoc-8.6.3 |
528 |
- app-text/htmltidy |
529 |
- app-text/xmlto |
530 |
- >=sys-devel/gcc-4.7 |
531 |
- doc? ( |
532 |
- || ( |
533 |
- >=app-doc/doxygen-1.5.3 |
534 |
- <=app-doc/doxygen-1.5.1 ) |
535 |
- python? ( |
536 |
- dev-python/sphinx[${PYTHON_USEDEP}] ) |
537 |
- ruby? ( dev-ruby/syntax ) |
538 |
- ) |
539 |
- virtual/pkgconfig |
540 |
- test? ( >=dev-cpp/gtest-1.6.0-r1 )" |
541 |
- |
542 |
-RDEPEND="${COMMON_DEPEND} |
543 |
- sys-apps/sandbox" |
544 |
- |
545 |
-PDEPEND="app-eselect/eselect-package-manager" |
546 |
- |
547 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
548 |
- |
549 |
-pkg_pretend() { |
550 |
- if [[ ${MERGE_TYPE} != buildonly ]]; then |
551 |
- if id paludisbuild >/dev/null 2>/dev/null ; then |
552 |
- if ! groups paludisbuild | grep --quiet '\<tty\>' ; then |
553 |
- eerror "The 'paludisbuild' user is now expected to be a member of the" |
554 |
- eerror "'tty' group. You should add the user to this group before" |
555 |
- eerror "upgrading Paludis." |
556 |
- die "Please add paludisbuild to tty group" |
557 |
- fi |
558 |
- fi |
559 |
- fi |
560 |
- |
561 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
562 |
- if [[ $(gcc-major-version) -lt 4 |
563 |
- || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ) ]] |
564 |
- then |
565 |
- eerror "Paludis requires at least gcc 4.7 to build. Please switch the active" |
566 |
- eerror "gcc version using gcc-config." |
567 |
- die "Paludis requires at least gcc 4.7" |
568 |
- fi |
569 |
- fi |
570 |
-} |
571 |
- |
572 |
-pkg_setup() { |
573 |
- enewgroup "paludisbuild" |
574 |
- enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" |
575 |
- |
576 |
- use python && python-single-r1_pkg_setup |
577 |
-} |
578 |
- |
579 |
-src_prepare() { |
580 |
- # The package explicitly wants ruby1.9, so fix the script on it. |
581 |
- # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 |
582 |
- sed -i -e '1s/ruby/&19/' ruby/demos/*.rb || die |
583 |
- |
584 |
- local PATCHES=( |
585 |
- "${FILESDIR}"/${P}-fix-MERGE_TYPE.patch |
586 |
- "${FILESDIR}"/${P}-fix-PWD-handling.patch |
587 |
- "${FILESDIR}"/${P}-filter-IUSE_EFFECTIVE.patch |
588 |
- "${FILESDIR}"/${P}-check-IUSE_EFFECTIVE-in-EAPI-5.patch |
589 |
- "${FILESDIR}"/${P}-filter-EBUILD_PHASE_FUNC.patch |
590 |
- ) |
591 |
- |
592 |
- epatch "${PATCHES[@]}" |
593 |
- epatch_user |
594 |
- eautoreconf |
595 |
-} |
596 |
- |
597 |
-src_configure() { |
598 |
- local myconf=( |
599 |
- --htmldir=/usr/share/doc/${PF}/html |
600 |
- |
601 |
- $(use_enable doc doxygen) |
602 |
- $(use_enable test gtest) |
603 |
- $(use_enable pbins) |
604 |
- $(use_enable pink) |
605 |
- $(use_enable python) |
606 |
- $(use python && use_enable doc python-doc) |
607 |
- $(use_enable ruby) |
608 |
- $(use ruby && use_enable doc ruby-doc) |
609 |
- $(use_enable search-index) |
610 |
- $(use_enable xml) |
611 |
- |
612 |
- --enable-vim |
613 |
- --with-config-framework=eselect |
614 |
- --with-environments=default,portage |
615 |
- --with-vim-install-dir=/usr/share/vim/vimfiles |
616 |
- ) |
617 |
- |
618 |
- econf "${myconf[@]}" |
619 |
-} |
620 |
- |
621 |
-src_install() { |
622 |
- default |
623 |
- prune_libtool_files |
624 |
- |
625 |
- dobashcomp bash-completion/cave |
626 |
- |
627 |
- insinto /usr/share/zsh/site-functions |
628 |
- doins zsh-completion/_cave |
629 |
-} |
630 |
- |
631 |
-src_test() { |
632 |
- # Work around Portage bugs |
633 |
- local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
634 |
- local -x BASH_ENV=/dev/null |
635 |
- |
636 |
- if [[ ${EUID} == 0 ]] ; then |
637 |
- # hate |
638 |
- local -x PALUDIS_REDUCED_UID=0 |
639 |
- local -x PALUDIS_REDUCED_GID=0 |
640 |
- fi |
641 |
- |
642 |
- if ! nonfatal emake -k check ; then |
643 |
- eerror "Tests failed. Looking for files for you to add to your bug report..." |
644 |
- find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
645 |
- eerror " $a" |
646 |
- done |
647 |
- die "Make check failed" |
648 |
- fi |
649 |
-} |
650 |
- |
651 |
-pkg_postinst() { |
652 |
- local pm |
653 |
- if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
654 |
- pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) |
655 |
- fi |
656 |
- |
657 |
- if [[ ${pm} != paludis ]] ; then |
658 |
- elog "If you are using paludis or cave as your primary package manager," |
659 |
- elog "you should consider running:" |
660 |
- elog " eselect package-manager set paludis" |
661 |
- fi |
662 |
-} |
663 |
|
664 |
diff --git a/sys-apps/paludis/paludis-2.2.0.ebuild b/sys-apps/paludis/paludis-2.2.0.ebuild |
665 |
deleted file mode 100644 |
666 |
index d8a064b..0000000 |
667 |
--- a/sys-apps/paludis/paludis-2.2.0.ebuild |
668 |
+++ /dev/null |
669 |
@@ -1,159 +0,0 @@ |
670 |
-# Copyright 1999-2015 Gentoo Foundation |
671 |
-# Distributed under the terms of the GNU General Public License v2 |
672 |
-# $Id$ |
673 |
- |
674 |
-EAPI=4 |
675 |
- |
676 |
-PYTHON_COMPAT=( python2_7 ) |
677 |
- |
678 |
-inherit bash-completion-r1 eutils python-single-r1 user |
679 |
- |
680 |
-DESCRIPTION="paludis, the other package mangler" |
681 |
-HOMEPAGE="http://paludis.exherbo.org/" |
682 |
-SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2" |
683 |
- |
684 |
-IUSE="doc pbins pink python ruby search-index test xml" |
685 |
-LICENSE="GPL-2 vim" |
686 |
-SLOT="0" |
687 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
688 |
- |
689 |
-COMMON_DEPEND=" |
690 |
- >=app-admin/eselect-1.2.13 |
691 |
- >=app-shells/bash-3.2 |
692 |
- dev-libs/libpcre[cxx] |
693 |
- sys-apps/file |
694 |
- pbins? ( >=app-arch/libarchive-3.1.2 ) |
695 |
- python? ( |
696 |
- ${PYTHON_DEPS} |
697 |
- >=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] ) |
698 |
- ruby? ( dev-lang/ruby:1.9 ) |
699 |
- search-index? ( >=dev-db/sqlite-3 ) |
700 |
- xml? ( >=dev-libs/libxml2-2.6 )" |
701 |
- |
702 |
-DEPEND="${COMMON_DEPEND} |
703 |
- >=app-text/asciidoc-8.6.3 |
704 |
- app-text/htmltidy |
705 |
- app-text/xmlto |
706 |
- >=sys-devel/gcc-4.7 |
707 |
- doc? ( |
708 |
- || ( |
709 |
- >=app-doc/doxygen-1.5.3 |
710 |
- <=app-doc/doxygen-1.5.1 ) |
711 |
- python? ( |
712 |
- dev-python/sphinx[${PYTHON_USEDEP}] ) |
713 |
- ruby? ( dev-ruby/syntax ) |
714 |
- ) |
715 |
- virtual/pkgconfig |
716 |
- test? ( >=dev-cpp/gtest-1.6.0-r1 )" |
717 |
- |
718 |
-RDEPEND="${COMMON_DEPEND} |
719 |
- sys-apps/sandbox" |
720 |
- |
721 |
-PDEPEND="app-eselect/eselect-package-manager" |
722 |
- |
723 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
724 |
- |
725 |
-pkg_pretend() { |
726 |
- if [[ ${MERGE_TYPE} != buildonly ]]; then |
727 |
- if id paludisbuild >/dev/null 2>/dev/null ; then |
728 |
- if ! groups paludisbuild | grep --quiet '\<tty\>' ; then |
729 |
- eerror "The 'paludisbuild' user is now expected to be a member of the" |
730 |
- eerror "'tty' group. You should add the user to this group before" |
731 |
- eerror "upgrading Paludis." |
732 |
- die "Please add paludisbuild to tty group" |
733 |
- fi |
734 |
- fi |
735 |
- fi |
736 |
- |
737 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
738 |
- if [[ $(gcc-major-version) -lt 4 |
739 |
- || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ) ]] |
740 |
- then |
741 |
- eerror "Paludis requires at least gcc 4.7 to build. Please switch the active" |
742 |
- eerror "gcc version using gcc-config." |
743 |
- die "Paludis requires at least gcc 4.7" |
744 |
- fi |
745 |
- fi |
746 |
-} |
747 |
- |
748 |
-pkg_setup() { |
749 |
- enewgroup "paludisbuild" |
750 |
- enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" |
751 |
- |
752 |
- use python && python-single-r1_pkg_setup |
753 |
-} |
754 |
- |
755 |
-src_prepare() { |
756 |
- # The package explicitly wants ruby1.9, so fix the script on it. |
757 |
- # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 |
758 |
- sed -i -e '1s/ruby/&19/' ruby/demos/*.rb || die |
759 |
- |
760 |
- epatch_user |
761 |
-} |
762 |
- |
763 |
-src_configure() { |
764 |
- local myconf=( |
765 |
- --htmldir=/usr/share/doc/${PF}/html |
766 |
- |
767 |
- $(use_enable doc doxygen) |
768 |
- $(use_enable test gtest) |
769 |
- $(use_enable pbins) |
770 |
- $(use_enable pink) |
771 |
- $(use_enable python) |
772 |
- $(use python && use_enable doc python-doc) |
773 |
- $(use_enable ruby) |
774 |
- $(use ruby && use_enable doc ruby-doc) |
775 |
- $(use_enable search-index) |
776 |
- $(use_enable xml) |
777 |
- |
778 |
- --enable-vim |
779 |
- --with-config-framework=eselect |
780 |
- --with-environments=default,portage |
781 |
- --with-vim-install-dir=/usr/share/vim/vimfiles |
782 |
- ) |
783 |
- |
784 |
- econf "${myconf[@]}" |
785 |
-} |
786 |
- |
787 |
-src_install() { |
788 |
- default |
789 |
- prune_libtool_files |
790 |
- |
791 |
- dobashcomp bash-completion/cave |
792 |
- |
793 |
- insinto /usr/share/zsh/site-functions |
794 |
- doins zsh-completion/_cave |
795 |
-} |
796 |
- |
797 |
-src_test() { |
798 |
- # Work around Portage bugs |
799 |
- local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
800 |
- local -x BASH_ENV=/dev/null |
801 |
- |
802 |
- if [[ ${EUID} == 0 ]] ; then |
803 |
- # hate |
804 |
- local -x PALUDIS_REDUCED_UID=0 |
805 |
- local -x PALUDIS_REDUCED_GID=0 |
806 |
- fi |
807 |
- |
808 |
- if ! nonfatal emake check ; then |
809 |
- eerror "Tests failed. Looking for files for you to add to your bug report..." |
810 |
- find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
811 |
- eerror " $a" |
812 |
- done |
813 |
- die "Make check failed" |
814 |
- fi |
815 |
-} |
816 |
- |
817 |
-pkg_postinst() { |
818 |
- local pm |
819 |
- if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
820 |
- pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) |
821 |
- fi |
822 |
- |
823 |
- if [[ ${pm} != paludis ]] ; then |
824 |
- elog "If you are using paludis or cave as your primary package manager," |
825 |
- elog "you should consider running:" |
826 |
- elog " eselect package-manager set paludis" |
827 |
- fi |
828 |
-} |
829 |
|
830 |
diff --git a/sys-apps/paludis/paludis-2.4.0_p20160112.ebuild b/sys-apps/paludis/paludis-2.4.0_p20160112.ebuild |
831 |
deleted file mode 100644 |
832 |
index ef55347..0000000 |
833 |
--- a/sys-apps/paludis/paludis-2.4.0_p20160112.ebuild |
834 |
+++ /dev/null |
835 |
@@ -1,154 +0,0 @@ |
836 |
-# Copyright 1999-2015 Gentoo Foundation |
837 |
-# Distributed under the terms of the GNU General Public License v2 |
838 |
-# $Id$ |
839 |
- |
840 |
-EAPI=5 |
841 |
- |
842 |
-PYTHON_COMPAT=( python2_7 ) |
843 |
-# matching profile defaults for now |
844 |
-RUBY_VER=2.0 |
845 |
- |
846 |
-inherit bash-completion-r1 eutils python-single-r1 user |
847 |
- |
848 |
-DESCRIPTION="paludis, the other package mangler" |
849 |
-HOMEPAGE="http://paludis.exherbo.org/" |
850 |
-SRC_URI="http://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" |
851 |
- |
852 |
-IUSE="doc pbins pink python ruby search-index test +xml" |
853 |
-LICENSE="GPL-2 vim" |
854 |
-SLOT="0" |
855 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
856 |
- |
857 |
-COMMON_DEPEND=" |
858 |
- >=app-admin/eselect-1.2.13 |
859 |
- >=app-shells/bash-3.2 |
860 |
- dev-libs/libpcre[cxx] |
861 |
- sys-apps/file |
862 |
- pbins? ( >=app-arch/libarchive-3.1.2 ) |
863 |
- python? ( |
864 |
- ${PYTHON_DEPS} |
865 |
- >=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] ) |
866 |
- ruby? ( dev-lang/ruby:${RUBY_VER} ) |
867 |
- search-index? ( >=dev-db/sqlite-3 ) |
868 |
- xml? ( >=dev-libs/libxml2-2.6 )" |
869 |
- |
870 |
-DEPEND="${COMMON_DEPEND} |
871 |
- app-arch/xz-utils |
872 |
- >=app-text/asciidoc-8.6.3 |
873 |
- app-text/htmltidy |
874 |
- app-text/xmlto |
875 |
- >=sys-devel/gcc-4.7 |
876 |
- doc? ( |
877 |
- || ( |
878 |
- >=app-doc/doxygen-1.5.3 |
879 |
- <=app-doc/doxygen-1.5.1 ) |
880 |
- python? ( |
881 |
- dev-python/sphinx[${PYTHON_USEDEP}] ) |
882 |
- ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] ) |
883 |
- ) |
884 |
- virtual/pkgconfig |
885 |
- test? ( >=dev-cpp/gtest-1.6.0-r1 )" |
886 |
- |
887 |
-RDEPEND="${COMMON_DEPEND} |
888 |
- sys-apps/sandbox" |
889 |
- |
890 |
-PDEPEND="app-eselect/eselect-package-manager" |
891 |
- |
892 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
893 |
- |
894 |
-pkg_pretend() { |
895 |
- if [[ ${MERGE_TYPE} != buildonly ]]; then |
896 |
- if id paludisbuild >/dev/null 2>/dev/null ; then |
897 |
- if ! groups paludisbuild | grep --quiet '\<tty\>' ; then |
898 |
- eerror "The 'paludisbuild' user is now expected to be a member of the" |
899 |
- eerror "'tty' group. You should add the user to this group before" |
900 |
- eerror "upgrading Paludis." |
901 |
- die "Please add paludisbuild to tty group" |
902 |
- fi |
903 |
- fi |
904 |
- fi |
905 |
- |
906 |
-} |
907 |
- |
908 |
-pkg_setup() { |
909 |
- enewgroup "paludisbuild" |
910 |
- enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" |
911 |
- |
912 |
- use python && python-single-r1_pkg_setup |
913 |
-} |
914 |
- |
915 |
-src_prepare() { |
916 |
- # Fix the script shebang on Ruby scripts. |
917 |
- # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 |
918 |
- sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die |
919 |
- |
920 |
- epatch_user |
921 |
-} |
922 |
- |
923 |
-src_configure() { |
924 |
- local myconf=( |
925 |
- --htmldir=/usr/share/doc/${PF}/html |
926 |
- |
927 |
- $(use_enable doc doxygen) |
928 |
- $(use_enable test gtest) |
929 |
- $(use_enable pbins) |
930 |
- $(use_enable pink) |
931 |
- $(use_enable python) |
932 |
- $(use python && use_enable doc python-doc) |
933 |
- $(use_enable ruby) |
934 |
- $(use ruby && use_enable doc ruby-doc) |
935 |
- --with-ruby-version="${RUBY_VER}" |
936 |
- $(use_enable search-index) |
937 |
- $(use_enable xml) |
938 |
- |
939 |
- --enable-vim |
940 |
- --with-config-framework=eselect |
941 |
- --with-environments=default,portage |
942 |
- --with-vim-install-dir=/usr/share/vim/vimfiles |
943 |
- ) |
944 |
- |
945 |
- econf "${myconf[@]}" |
946 |
-} |
947 |
- |
948 |
-src_install() { |
949 |
- default |
950 |
- prune_libtool_files |
951 |
- |
952 |
- dobashcomp bash-completion/cave |
953 |
- |
954 |
- insinto /usr/share/zsh/site-functions |
955 |
- doins zsh-completion/_cave |
956 |
-} |
957 |
- |
958 |
-src_test() { |
959 |
- # Work around Portage bugs |
960 |
- local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
961 |
- local -x BASH_ENV=/dev/null |
962 |
- |
963 |
- if [[ ${EUID} == 0 ]] ; then |
964 |
- # hate |
965 |
- local -x PALUDIS_REDUCED_UID=0 |
966 |
- local -x PALUDIS_REDUCED_GID=0 |
967 |
- fi |
968 |
- |
969 |
- if ! nonfatal emake -k check ; then |
970 |
- eerror "Tests failed. Looking for files for you to add to your bug report..." |
971 |
- find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
972 |
- eerror " $a" |
973 |
- done |
974 |
- die "Make check failed" |
975 |
- fi |
976 |
-} |
977 |
- |
978 |
-pkg_postinst() { |
979 |
- local pm |
980 |
- if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
981 |
- pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) |
982 |
- fi |
983 |
- |
984 |
- if [[ ${pm} != paludis ]] ; then |
985 |
- elog "If you are using paludis or cave as your primary package manager," |
986 |
- elog "you should consider running:" |
987 |
- elog " eselect package-manager set paludis" |
988 |
- fi |
989 |
-} |