1 |
commit: b82d000ae88bea3defe18827c419bfde345e4cb6 |
2 |
Author: dol-sen <brian.dolbec <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 2 01:17:48 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Mon May 2 01:17:48 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kuroo.git;a=commit;h=b82d000a |
7 |
|
8 |
remove all packages, this overlay is no longer supported. |
9 |
|
10 |
--- |
11 |
app-portage/c-layman/ChangeLog | 4 - |
12 |
app-portage/c-layman/Manifest | 3 - |
13 |
app-portage/c-layman/c-layman-9999.ebuild | 24 -- |
14 |
app-portage/c-layman/metadata.xml | 11 - |
15 |
app-portage/kuroo4/ChangeLog | 10 - |
16 |
app-portage/kuroo4/Manifest | 3 - |
17 |
app-portage/kuroo4/kuroo4-9999.ebuild | 32 --- |
18 |
app-portage/kuroo4/metadata.xml | 13 -- |
19 |
app-portage/layman/ChangeLog | 20 -- |
20 |
app-portage/layman/Manifest | 3 - |
21 |
app-portage/layman/layman-8888.ebuild | 108 ---------- |
22 |
app-portage/layman/metadata.xml | 17 -- |
23 |
sys-apps/portage/ChangeLog | 8 - |
24 |
sys-apps/portage/Manifest | 2 - |
25 |
sys-apps/portage/portage-8888.ebuild | 329 ----------------------------- |
26 |
15 files changed, 0 insertions(+), 587 deletions(-) |
27 |
|
28 |
diff --git a/app-portage/c-layman/ChangeLog b/app-portage/c-layman/ChangeLog |
29 |
deleted file mode 100644 |
30 |
index 4f677d0..0000000 |
31 |
--- a/app-portage/c-layman/ChangeLog |
32 |
+++ /dev/null |
33 |
@@ -1,4 +0,0 @@ |
34 |
-*c-layman-9999 (18 Jul 2010) |
35 |
- |
36 |
- 18 Jul 2010; Detlev Casanova <detlev.casanova@×××××.com> *: Initial commit. |
37 |
- |
38 |
|
39 |
diff --git a/app-portage/c-layman/Manifest b/app-portage/c-layman/Manifest |
40 |
deleted file mode 100644 |
41 |
index a592926..0000000 |
42 |
--- a/app-portage/c-layman/Manifest |
43 |
+++ /dev/null |
44 |
@@ -1,3 +0,0 @@ |
45 |
-EBUILD c-layman-9999.ebuild 493 RMD160 bb5fdf9e9ea9379832205ffb1aebe54915ac73bf SHA1 da77bc8d97cd6fa191593f111af17ff50696ee51 SHA256 f0aaa880c9bf465dc03eae6d0227bc4ef7c90f8bf80c7d975ec02f788d3668e2 |
46 |
-MISC ChangeLog 111 RMD160 bdf3945b9d159e224e4b06776469859c14062a57 SHA1 8db9e5392e914388c81209b28d7468988fb199a8 SHA256 f1fe389a4723c101dcc0dd139f71dcae868467b74e335ad461d4ada4a4a2f20a |
47 |
-MISC metadata.xml 422 RMD160 f341dcd804c086e165f7298b5dba1d55496d3c00 SHA1 a8eadc3f5401ef5412282baa81fd52127c6c2635 SHA256 5885a7c4372f8fb985b114141d35d7103e44d3de362584ba4686d4a8d804d2fd |
48 |
|
49 |
diff --git a/app-portage/c-layman/c-layman-9999.ebuild b/app-portage/c-layman/c-layman-9999.ebuild |
50 |
deleted file mode 100644 |
51 |
index ecc10d1..0000000 |
52 |
--- a/app-portage/c-layman/c-layman-9999.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,24 +0,0 @@ |
55 |
-# Copyright 1999-2010 Gentoo Foundation |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: $ |
58 |
- |
59 |
-EAPI=3 |
60 |
- |
61 |
-PYTHON_DEPEND="2:2.5" |
62 |
- |
63 |
-inherit git |
64 |
- |
65 |
-DESCRIPTION="A C version of the python script for retrieving gentoo overlays." |
66 |
-HOMEPAGE="" |
67 |
-SRC_URI="" |
68 |
-#EGIT_REPO_URI="http://soc.dev.gentoo.org/~cazou/c-layman/" |
69 |
-EGIT_REPO_URI="git://gitorious.org/c-layman/c-layman.git" |
70 |
- |
71 |
-LICENSE="GPL-2" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~amd64" |
74 |
-IUSE="" |
75 |
- |
76 |
-DEPEND="=app-portage/layman-8888" |
77 |
-RDEPEND="${DEPEND}" |
78 |
- |
79 |
|
80 |
diff --git a/app-portage/c-layman/metadata.xml b/app-portage/c-layman/metadata.xml |
81 |
deleted file mode 100644 |
82 |
index 6ecca76..0000000 |
83 |
--- a/app-portage/c-layman/metadata.xml |
84 |
+++ /dev/null |
85 |
@@ -1,11 +0,0 @@ |
86 |
-<?xml version="1.0" encoding="UTF-8"?> |
87 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
88 |
-<pkgmetadata> |
89 |
- <herd>tools-portage</herd> |
90 |
- <longdescription lang="en">A C version of the Gentoo Layman API</longdescription> |
91 |
- <maintainer> |
92 |
- <email>detlev.casanova@×××××.com</email> |
93 |
- <name>Detlev Casanova</name> |
94 |
- <description>Upstream Maintainer (please CC on bugs)</description> |
95 |
- </maintainer> |
96 |
-</pkgmetadata> |
97 |
|
98 |
diff --git a/app-portage/kuroo4/ChangeLog b/app-portage/kuroo4/ChangeLog |
99 |
deleted file mode 100644 |
100 |
index e58fea2..0000000 |
101 |
--- a/app-portage/kuroo4/ChangeLog |
102 |
+++ /dev/null |
103 |
@@ -1,10 +0,0 @@ |
104 |
- 22 Jul 2010; Brian Dolbec <brian.dolbec@×××××.com> *: Add a +debug USE flag. |
105 |
- |
106 |
-*kuroo4-9999 (20 Jul 2010) |
107 |
- |
108 |
- 20 Jul 2010; Detlev Casanova <detlev.casanova@×××××.com> *: Remove keywords. |
109 |
- |
110 |
-*kuroo4-9999 (16 Jul 2010) |
111 |
- |
112 |
- 16 Jul 2010; Detlev Casanova <detlev.casanova@×××××.com> *: Initial commit. |
113 |
- |
114 |
|
115 |
diff --git a/app-portage/kuroo4/Manifest b/app-portage/kuroo4/Manifest |
116 |
deleted file mode 100644 |
117 |
index f738596..0000000 |
118 |
--- a/app-portage/kuroo4/Manifest |
119 |
+++ /dev/null |
120 |
@@ -1,3 +0,0 @@ |
121 |
-EBUILD kuroo4-9999.ebuild 602 RMD160 1696ae70b8a9068701a25d1915375f0af8b1d925 SHA1 4e66a158467db9649c4d96fe674dec428632b72b SHA256 e45a2aa10fad5feca0694da73560222e30fc6d088db77c6173fde3b837176810 |
122 |
-MISC ChangeLog 295 RMD160 f7b40ff42675383f0e6911d503dc7b32229d82d9 SHA1 ea2aa792a35def7d172c2867e0e7f3d02fba22e5 SHA256 3cc4a301e5ea4fde51dfe66983efe9834de37d84135996073615a80a6fc357f3 |
123 |
-MISC metadata.xml 464 RMD160 9bf0c7ada68c443335a4ee4675538541744171c7 SHA1 9289bb5c4624db9c213c37e7cc1fdcb992e71ea8 SHA256 bb208754521a527845da8348b978e8c2bde327813c3c4ec1940432e22f801040 |
124 |
|
125 |
diff --git a/app-portage/kuroo4/kuroo4-9999.ebuild b/app-portage/kuroo4/kuroo4-9999.ebuild |
126 |
deleted file mode 100644 |
127 |
index 6b67cd1..0000000 |
128 |
--- a/app-portage/kuroo4/kuroo4-9999.ebuild |
129 |
+++ /dev/null |
130 |
@@ -1,32 +0,0 @@ |
131 |
-# Copyright 1999-2010 Gentoo Foundation |
132 |
-# Distributed under the terms of the GNU General Public License v2 |
133 |
-# $Header: $ |
134 |
- |
135 |
-EAPI=2 |
136 |
- |
137 |
-inherit subversion kde4-base eutils |
138 |
- |
139 |
-DESCRIPTION="Kuroo is a Qt 4 based portage GUI" |
140 |
-HOMEPAGE="http://kuroo.sourceforge.net/" |
141 |
-SRC_URI="" |
142 |
-ESVN_REPO_URI="http://kuroo.svn.sourceforge.net/svnroot/kuroo/kuroo4/trunk" |
143 |
-ESVN_PROJECT="kuroo4" |
144 |
- |
145 |
-LICENSE="GPL-2" |
146 |
-SLOT="0" |
147 |
-KEYWORDS="" |
148 |
-IUSE="+debug" |
149 |
- |
150 |
-DEPEND="kde-base/kdesu |
151 |
- dev-db/sqlite |
152 |
- app-portage/gentoolkit |
153 |
- kde-base/kompare" |
154 |
-RDEPEND="${DEPEND}" |
155 |
- |
156 |
-pkg_setup() { |
157 |
- kde4-base_pkg_setup |
158 |
-} |
159 |
- |
160 |
-src_prepare() { |
161 |
- kde4-base_src_prepare |
162 |
-} |
163 |
|
164 |
diff --git a/app-portage/kuroo4/metadata.xml b/app-portage/kuroo4/metadata.xml |
165 |
deleted file mode 100644 |
166 |
index 6647a6b..0000000 |
167 |
--- a/app-portage/kuroo4/metadata.xml |
168 |
+++ /dev/null |
169 |
@@ -1,13 +0,0 @@ |
170 |
-<?xml version="1.0" encoding="UTF-8"?> |
171 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
172 |
-<pkgmetadata> |
173 |
- <herd>tools-portage</herd> |
174 |
- <longdescription lang='en'>Kuroo is a portage GUI written in C++ and based |
175 |
- on Qt 4</longdescription> |
176 |
- <herd>tools-portage</herd> |
177 |
- <maintainer> |
178 |
- <email>brian.dolbec@×××××.com</email> |
179 |
- <name>Brian Dolbec</name> |
180 |
- <description>Upstream Maintainer (please CC on bugs)</description> |
181 |
- </maintainer> |
182 |
-</pkgmetadata> |
183 |
|
184 |
diff --git a/app-portage/layman/ChangeLog b/app-portage/layman/ChangeLog |
185 |
deleted file mode 100644 |
186 |
index 4486285..0000000 |
187 |
--- a/app-portage/layman/ChangeLog |
188 |
+++ /dev/null |
189 |
@@ -1,20 +0,0 @@ |
190 |
-# ChangeLog for app-portage/layman |
191 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
192 |
-# $Header: Exp $ |
193 |
- |
194 |
- 01 Aug 2010; Brian Dolbec <brian.dolbec@×××××.com> layman-8888.ebuild: |
195 |
- Change to url to the static ip due to the dns problem |
196 |
- |
197 |
- 17 Jul 2010; Brian Dolbec <brian.dolbec@×××××.com> re-version |
198 |
- this live ebuild to layman-8888 so it does not conflict with other versions. |
199 |
- It also makes it easier to spec on only this version for other development |
200 |
- packages. |
201 |
- |
202 |
- |
203 |
- 17 Jul 2010; Brian Dolbec <brian.dolbec@×××××.com> layman-8888.ebuild: |
204 |
- fix the ebuild to use the proper git branch. |
205 |
- |
206 |
-*layman-9999 (17 Jul 2010) |
207 |
- |
208 |
- 17 Jul 2010; Brian Dolbec <brian.dolbec@×××××.com> +layman-9999.ebuild: |
209 |
- initial copy/edit of the layman-9999.ebuild for the api development branch |
210 |
|
211 |
diff --git a/app-portage/layman/Manifest b/app-portage/layman/Manifest |
212 |
deleted file mode 100644 |
213 |
index 63b4f33..0000000 |
214 |
--- a/app-portage/layman/Manifest |
215 |
+++ /dev/null |
216 |
@@ -1,3 +0,0 @@ |
217 |
-EBUILD layman-8888.ebuild 2877 RMD160 1a106713264d39a1e131beb1a30f4317927f8a59 SHA1 6857328b0fddab58a99a74c70892c3eebae851eb SHA256 f45991b92294236463c2aeb010cf7881dac003b047e6490e4644df249f0aefb6 |
218 |
-MISC ChangeLog 896 RMD160 389f294052d8046e161ce7b3fa48e7b554c8acbb SHA1 3dc485d45d8ec3d97fa066934a211f938758d939 SHA256 badb5f3d7afc3fdaa9ac789ea115f7d951b8ffb6aa2abd6fcabd9992da4f5ef1 |
219 |
-MISC metadata.xml 817 RMD160 e7a6068dce4c30d2b4c83a1a42e1be01ca0eb686 SHA1 a526b3c53d3ed4c878e2dcfbffb95fec868edbd3 SHA256 f275911286023801e5c718656b184e01b379a6e641306e6ee756a7a74b849d9f |
220 |
|
221 |
diff --git a/app-portage/layman/layman-8888.ebuild b/app-portage/layman/layman-8888.ebuild |
222 |
deleted file mode 100644 |
223 |
index b827d6a..0000000 |
224 |
--- a/app-portage/layman/layman-8888.ebuild |
225 |
+++ /dev/null |
226 |
@@ -1,108 +0,0 @@ |
227 |
-# Copyright 1999-2010 Gentoo Foundation |
228 |
-# Distributed under the terms of the GNU General Public License v2 |
229 |
-# $Header: Exp $ |
230 |
- |
231 |
-EAPI="2" |
232 |
-PYTHON_DEPEND="2:2.5" |
233 |
-SUPPORT_PYTHON_ABIS="1" |
234 |
-EGIT_BRANCH="api" |
235 |
- |
236 |
-inherit eutils distutils git |
237 |
- |
238 |
-DESCRIPTION="An experimental development version of layman, a python script for retrieving gentoo overlays." |
239 |
-HOMEPAGE="http://dev.gentooexperimental.org/~dol-sen/ http://layman.sourceforge.net" |
240 |
-SRC_URI="" |
241 |
-#EGIT_REPO_URI="http://dev.gentooexperimental.org/~dol-sen/git/layman.git/" |
242 |
-EGIT_REPO_URI="http://91.191.147.225/~dol-sen/git/layman.git/" |
243 |
- |
244 |
-LICENSE="GPL-2" |
245 |
-SLOT="0" |
246 |
-KEYWORDS="" |
247 |
-IUSE="bazaar cvs darcs git mercurial subversion test" |
248 |
- |
249 |
-COMMON_DEPS="dev-lang/python[xml]" |
250 |
-DEPEND="${COMMON_DEPS} |
251 |
- test? ( dev-vcs/subversion ) |
252 |
- app-text/xmlto" |
253 |
-RDEPEND="${COMMON_DEPS} |
254 |
- bazaar? ( dev-vcs/bzr ) |
255 |
- cvs? ( dev-vcs/cvs ) |
256 |
- darcs? ( dev-vcs/darcs ) |
257 |
- git? ( dev-vcs/git ) |
258 |
- mercurial? ( dev-vcs/mercurial ) |
259 |
- subversion? ( |
260 |
- || ( |
261 |
- >=dev-vcs/subversion-1.5.4[webdav-neon] |
262 |
- >=dev-vcs/subversion-1.5.4[webdav-serf] |
263 |
- ) |
264 |
- )" |
265 |
-RESTRICT_PYTHON_ABIS="2.4 3.*" |
266 |
- |
267 |
-pkg_setup() { |
268 |
- if ! has_version dev-vcs/subversion; then |
269 |
- ewarn "You do not have dev-vcs/subversion installed!" |
270 |
- ewarn "While layman does not exactly depend on this" |
271 |
- ewarn "version control system you should note that" |
272 |
- ewarn "most available overlays are offered via" |
273 |
- ewarn "dev-vcs/subversion. If you do not install it" |
274 |
- ewarn "you will be unable to use these overlays." |
275 |
- ewarn |
276 |
- fi |
277 |
-} |
278 |
- |
279 |
-src_test() { |
280 |
- testing() { |
281 |
- for suite in layman/tests/{dtest,external}.py ; do |
282 |
- PYTHONPATH="." "$(PYTHON)" ${suite} \ |
283 |
- || die "test suite '${suite}' failed" |
284 |
- done |
285 |
- } |
286 |
- python_execute_function testing |
287 |
-} |
288 |
- |
289 |
-src_compile() { |
290 |
- distutils_src_compile |
291 |
- emake -C doc || die "emake -C doc failed" |
292 |
-} |
293 |
- |
294 |
-src_install() { |
295 |
- distutils_src_install |
296 |
- |
297 |
- dodir /etc/layman |
298 |
- |
299 |
- cp etc/layman.cfg "${D}"/etc/layman/ |
300 |
- |
301 |
- doman doc/layman.8 |
302 |
- dohtml doc/layman.8.html |
303 |
- |
304 |
- keepdir /var/lib/layman |
305 |
-} |
306 |
- |
307 |
-pkg_postinst() { |
308 |
- distutils_pkg_postinst |
309 |
- |
310 |
- einfo "You are now ready to add overlays into your system." |
311 |
- einfo |
312 |
- einfo " layman -L" |
313 |
- einfo |
314 |
- einfo "will display a list of available overlays." |
315 |
- einfo |
316 |
- elog "Select an overlay and add it using" |
317 |
- elog |
318 |
- elog " layman -a overlay-name" |
319 |
- elog |
320 |
- elog "If this is the very first overlay you add with layman," |
321 |
- elog "you need to append the following statement to your" |
322 |
- elog "/etc/make.conf file:" |
323 |
- elog |
324 |
- elog " source /var/lib/layman/make.conf" |
325 |
- elog |
326 |
- elog "If you modify the 'storage' parameter in the layman" |
327 |
- elog "configuration file (/etc/layman/layman.cfg) you will" |
328 |
- elog "need to adapt the path given above to the new storage" |
329 |
- elog "directory." |
330 |
- elog |
331 |
- ewarn "Please add the 'source' statement to make.conf only AFTER " |
332 |
- ewarn "you added your first overlay. Otherwise portage will fail." |
333 |
- epause 5 |
334 |
-} |
335 |
|
336 |
diff --git a/app-portage/layman/metadata.xml b/app-portage/layman/metadata.xml |
337 |
deleted file mode 100644 |
338 |
index 3b0bcc0..0000000 |
339 |
--- a/app-portage/layman/metadata.xml |
340 |
+++ /dev/null |
341 |
@@ -1,17 +0,0 @@ |
342 |
-<?xml version="1.0" encoding="UTF-8"?> |
343 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
344 |
-<pkgmetadata> |
345 |
-<herd>no-herd</herd> |
346 |
-<longdescription lang='en'>This is a development version used to develop a public API for consumer apps.</longdescription> |
347 |
-<maintainer> |
348 |
- <email>brian.dolbec@×××××.com</email> |
349 |
- <name>Brian Dolbec (dol-sen)</name> |
350 |
- <description>This is an experimental version used to develop a public API for consumer apps.</description> |
351 |
-</maintainer> |
352 |
-<use> |
353 |
- <flag name='bazaar'>Support <pkg>dev-vcs/bzr</pkg> based overlays</flag> |
354 |
- <flag name='darcs'>Support <pkg>dev-vcs/darcs</pkg> based overlays</flag> |
355 |
- <flag name='git'>Support <pkg>dev-vcs/git</pkg> based overlays</flag> |
356 |
- <flag name='mercurial'>Support <pkg>dev-vcs/mercurial</pkg> based overlays</flag> |
357 |
-</use> |
358 |
-</pkgmetadata> |
359 |
|
360 |
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog |
361 |
deleted file mode 100644 |
362 |
index 74146ea..0000000 |
363 |
--- a/sys-apps/portage/ChangeLog |
364 |
+++ /dev/null |
365 |
@@ -1,8 +0,0 @@ |
366 |
-# ChangeLog for sys-apps/portage |
367 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
368 |
-# $Header: Exp $ |
369 |
- |
370 |
-*portage-8888 (1 Aug 2010) |
371 |
- |
372 |
- 1 Aug 2010; Brian Dolbec <brian.dolbec@×××××.com> +portage-8888.ebuild: |
373 |
- initial copy/edit of the portage-9999.ebuild for the public_api development branch |
374 |
|
375 |
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest |
376 |
deleted file mode 100644 |
377 |
index 3b1de4d..0000000 |
378 |
--- a/sys-apps/portage/Manifest |
379 |
+++ /dev/null |
380 |
@@ -1,2 +0,0 @@ |
381 |
-EBUILD portage-8888.ebuild 10134 RMD160 8e36eafa87b3fe53e2c0acec747dc110ac843c33 SHA1 ec90ed8f5761941b34719dd437ee7c8c8a8659fc SHA256 0fe72b5671b435dcf564a7e8acfc60f6e81ef4ea2e4418aa4f33630d07e1168a |
382 |
-MISC ChangeLog 407 RMD160 7131f6d313087dd7a29f45f83c128c25decb7444 SHA1 27796a8cce236f8150c90385708bb0c182325880 SHA256 108009e9e1e3345d0d3e0d905d129d0af95dc3bfa840ed41b59372b2879b2657 |
383 |
|
384 |
diff --git a/sys-apps/portage/portage-8888.ebuild b/sys-apps/portage/portage-8888.ebuild |
385 |
deleted file mode 100644 |
386 |
index 6348aac..0000000 |
387 |
--- a/sys-apps/portage/portage-8888.ebuild |
388 |
+++ /dev/null |
389 |
@@ -1,329 +0,0 @@ |
390 |
-# Copyright 1999-2010 Gentoo Foundation |
391 |
-# Distributed under the terms of the GNU General Public License v2 |
392 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.4 2010/04/28 07:26:51 zmedico Exp $ |
393 |
- |
394 |
-# Require EAPI 2 since we now require at least python-2.6 (for python 3 |
395 |
-# syntax support) which also requires EAPI 2. |
396 |
-EAPI=2 |
397 |
-EGIT_BRANCH="public_api" |
398 |
-inherit git eutils multilib python |
399 |
- |
400 |
-DESCRIPTION="Portage is the package management and distribution system for Gentoo" |
401 |
-HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" |
402 |
-LICENSE="GPL-2" |
403 |
-KEYWORDS="" |
404 |
-PROVIDE="virtual/portage" |
405 |
-SLOT="0" |
406 |
-IUSE="build doc epydoc python3 selinux" |
407 |
- |
408 |
-python_dep="python3? ( =dev-lang/python-3* ) |
409 |
- !python3? ( || ( dev-lang/python:2.8 dev-lang/python:2.7 dev-lang/python:2.6 >=dev-lang/python-3 ) )" |
410 |
- |
411 |
-# The pysqlite blocker is for bug #282760. |
412 |
-DEPEND="${python_dep} |
413 |
- !build? ( >=sys-apps/sed-4.0.5 ) |
414 |
- doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 ) |
415 |
- epydoc? ( >=dev-python/epydoc-2.0 !<=dev-python/pysqlite-2.4.1 )" |
416 |
-# Require sandbox-2.2 for bug #288863. |
417 |
-RDEPEND="${python_dep} |
418 |
- !build? ( >=sys-apps/sed-4.0.5 |
419 |
- >=app-shells/bash-3.2_p17 |
420 |
- >=app-admin/eselect-1.2 ) |
421 |
- elibc_FreeBSD? ( sys-freebsd/freebsd-bin ) |
422 |
- elibc_glibc? ( >=sys-apps/sandbox-2.2 ) |
423 |
- elibc_uclibc? ( >=sys-apps/sandbox-2.2 ) |
424 |
- >=app-misc/pax-utils-0.1.17 |
425 |
- selinux? ( sys-libs/libselinux )" |
426 |
-PDEPEND=" |
427 |
- !build? ( |
428 |
- >=net-misc/rsync-2.6.4 |
429 |
- userland_GNU? ( >=sys-apps/coreutils-6.4 ) |
430 |
- )" |
431 |
-# coreutils-6.4 rdep is for date format in emerge-webrsync #164532 |
432 |
-# rsync-2.6.4 rdep is for the --filter option #167668 |
433 |
- |
434 |
-SRC_ARCHIVES="http://dev.gentoo.org/~zmedico/portage/archives" |
435 |
- |
436 |
-prefix_src_archives() { |
437 |
- local x y |
438 |
- for x in ${@}; do |
439 |
- for y in ${SRC_ARCHIVES}; do |
440 |
- echo ${y}/${x} |
441 |
- done |
442 |
- done |
443 |
-} |
444 |
- |
445 |
-EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/portage.git" |
446 |
-S="${WORKDIR}"/${PN} |
447 |
- |
448 |
-compatible_python_is_selected() { |
449 |
- [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x2060000 and "good" or "bad")') = good ]] |
450 |
-} |
451 |
- |
452 |
-pkg_setup() { |
453 |
- if ! use python3 && ! compatible_python_is_selected ; then |
454 |
- ewarn "Attempting to select a compatible default python interpreter" |
455 |
- local x success=0 |
456 |
- for x in /usr/bin/python2.* ; do |
457 |
- x=${x#/usr/bin/python2.} |
458 |
- if [[ $x -ge 6 ]] 2>/dev/null ; then |
459 |
- eselect python set python2.$x |
460 |
- if compatible_python_is_selected ; then |
461 |
- elog "Default python interpreter is now set to python-2.$x" |
462 |
- success=1 |
463 |
- break |
464 |
- fi |
465 |
- fi |
466 |
- done |
467 |
- if [ $success != 1 ] ; then |
468 |
- eerror "Unable to select a compatible default python interpreter!" |
469 |
- die "This version of portage requires at least python-2.6 to be selected as the default python interpreter (see \`eselect python --help\`)." |
470 |
- fi |
471 |
- fi |
472 |
- |
473 |
- if use python3; then |
474 |
- python_set_active_version 3 |
475 |
- fi |
476 |
-} |
477 |
- |
478 |
-src_prepare() { |
479 |
- local _version="'$(cd "${S}/.git" && git describe --tags | sed -e 's|-\([0-9]\+\)-.\+$|_p\1|')'[1:]" |
480 |
- einfo "Setting portage.VERSION to ${_version} ..." |
481 |
- sed -i "s/^VERSION=.*/VERSION=${_version}/" pym/portage/__init__.py || \ |
482 |
- die "Failed to patch portage.VERSION" |
483 |
- |
484 |
- if use python3; then |
485 |
- python_convert_shebangs -r 3 . |
486 |
- fi |
487 |
-} |
488 |
- |
489 |
-src_compile() { |
490 |
- if use doc; then |
491 |
- cd "${S}"/doc |
492 |
- touch fragment/date |
493 |
- make xhtml xhtml-nochunks || die "failed to make docs" |
494 |
- fi |
495 |
- |
496 |
- if use epydoc; then |
497 |
- einfo "Generating api docs" |
498 |
- mkdir "${WORKDIR}"/api |
499 |
- local my_modules epydoc_opts="" |
500 |
- my_modules="$(find "${S}/pym" -name "*.py" \ |
501 |
- | sed -e 's:/__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \ |
502 |
- -e 's:/:.:g' | sort)" || die "error listing modules" |
503 |
- # workaround for bug 282760 |
504 |
- > "$S/pym/pysqlite2.py" |
505 |
- PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} \ |
506 |
- epydoc -o "${WORKDIR}"/api \ |
507 |
- -qqqqq --no-frames --show-imports $epydoc_opts \ |
508 |
- --name "${PN}" --url "${HOMEPAGE}" \ |
509 |
- ${my_modules} || die "epydoc failed" |
510 |
- rm "$S/pym/pysqlite2.py" |
511 |
- fi |
512 |
-} |
513 |
- |
514 |
-src_test() { |
515 |
- PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} \ |
516 |
- ./pym/portage/tests/runTests || die "test(s) failed" |
517 |
- # Prevent installation of *.pyc for python scripts. |
518 |
- find "$S/bin" -name "*.py[co]" -print0 | xargs -0 rm |
519 |
-} |
520 |
- |
521 |
-src_install() { |
522 |
- local libdir=$(get_libdir) |
523 |
- local portage_base="/usr/${libdir}/portage" |
524 |
- local portage_share_config=/usr/share/portage/config |
525 |
- |
526 |
- cd "${S}"/cnf |
527 |
- insinto /etc |
528 |
- doins etc-update.conf dispatch-conf.conf || die |
529 |
- |
530 |
- insinto "$portage_share_config/sets" |
531 |
- doins "$S"/cnf/sets/*.conf || die |
532 |
- insinto "$portage_share_config" |
533 |
- doins "$S/cnf/make.globals" || die |
534 |
- if [ -f "make.conf.${ARCH}".diff ]; then |
535 |
- patch make.conf "make.conf.${ARCH}".diff || \ |
536 |
- die "Failed to patch make.conf.example" |
537 |
- newins make.conf make.conf.example || die |
538 |
- else |
539 |
- eerror "" |
540 |
- eerror "Portage does not have an arch-specific configuration for this arch." |
541 |
- eerror "Please notify the arch maintainer about this issue. Using generic." |
542 |
- eerror "" |
543 |
- newins make.conf make.conf.example || die |
544 |
- fi |
545 |
- |
546 |
- dosym ..${portage_share_config}/make.globals /etc/make.globals |
547 |
- |
548 |
- insinto /etc/logrotate.d |
549 |
- doins "${S}"/cnf/logrotate.d/elog-save-summary || die |
550 |
- |
551 |
- # BSD and OSX need a sed wrapper so that find/xargs work properly |
552 |
- if use userland_GNU; then |
553 |
- rm "${S}"/bin/ebuild-helpers/sed || die "Failed to remove sed wrapper" |
554 |
- fi |
555 |
- |
556 |
- local x symlinks |
557 |
- |
558 |
- cd "$S" || die "cd failed" |
559 |
- for x in $(find bin -type d) ; do |
560 |
- exeinto $portage_base/$x || die "exeinto failed" |
561 |
- cd "$S"/$x || die "cd failed" |
562 |
- doexe $(find . -mindepth 1 -maxdepth 1 -type f ! -type l) || \ |
563 |
- die "doexe failed" |
564 |
- symlinks=$(find . -mindepth 1 -maxdepth 1 -type l) |
565 |
- if [ -n "$symlinks" ] ; then |
566 |
- cp -P $symlinks "$D$portage_base/$x" || die "cp failed" |
567 |
- fi |
568 |
- done |
569 |
- |
570 |
- cd "$S" || die "cd failed" |
571 |
- for x in $(find pym/* -type d) ; do |
572 |
- insinto $portage_base/$x || die "insinto failed" |
573 |
- cd "$S"/$x || die "cd failed" |
574 |
- doins *.py || die "doins failed" |
575 |
- symlinks=$(find . -mindepth 1 -maxdepth 1 -type l) |
576 |
- if [ -n "$symlinks" ] ; then |
577 |
- cp -P $symlinks "$D$portage_base/$x" || die "cp failed" |
578 |
- fi |
579 |
- done |
580 |
- |
581 |
- # Symlinks to directories cause up/downgrade issues and the use of these |
582 |
- # modules outside of portage is probably negligible. |
583 |
- for x in "${D}${portage_base}/pym/"{cache,elog_modules} ; do |
584 |
- [ ! -L "${x}" ] && continue |
585 |
- die "symlink to directory will cause upgrade/downgrade issues: '${x}'" |
586 |
- done |
587 |
- |
588 |
- exeinto ${portage_base}/pym/portage/tests |
589 |
- doexe "${S}"/pym/portage/tests/runTests |
590 |
- |
591 |
- doman "${S}"/man/*.[0-9] |
592 |
- |
593 |
- echo 'Producing ChangeLog from Git history...' |
594 |
- ( cd "${S}/.git" && git log --stat > "${S}"/ChangeLog ) |
595 |
- dodoc "${S}"/{ChangeLog,NEWS,RELEASE-NOTES} || die 'dodoc failed' |
596 |
- use doc && dohtml -r "${S}"/doc/* |
597 |
- use epydoc && dohtml -r "${WORKDIR}"/api |
598 |
- |
599 |
- dodir /usr/bin |
600 |
- for x in ebuild egencache emerge portageq repoman ; do |
601 |
- dosym ../${libdir}/portage/bin/${x} /usr/bin/${x} |
602 |
- done |
603 |
- |
604 |
- dodir /usr/sbin |
605 |
- local my_syms="archive-conf |
606 |
- dispatch-conf |
607 |
- emaint |
608 |
- emerge-webrsync |
609 |
- env-update |
610 |
- etc-update |
611 |
- fixpackages |
612 |
- quickpkg |
613 |
- regenworld" |
614 |
- local x |
615 |
- for x in ${my_syms}; do |
616 |
- dosym ../${libdir}/portage/bin/${x} /usr/sbin/${x} |
617 |
- done |
618 |
- dosym env-update /usr/sbin/update-env |
619 |
- dosym etc-update /usr/sbin/update-etc |
620 |
- |
621 |
- dodir /etc/portage |
622 |
- keepdir /etc/portage |
623 |
-} |
624 |
- |
625 |
-pkg_preinst() { |
626 |
- if ! use build && ! has_version dev-python/pycrypto && \ |
627 |
- ! has_version '>=dev-lang/python-2.6[ssl]' ; then |
628 |
- ewarn "If you are an ebuild developer and you plan to commit ebuilds" |
629 |
- ewarn "with this system then please install dev-python/pycrypto or" |
630 |
- ewarn "enable the ssl USE flag for >=dev-lang/python-2.6 in order" |
631 |
- ewarn "to enable RMD160 hash support." |
632 |
- ewarn "See bug #198398 for more information." |
633 |
- fi |
634 |
- if [ -f "${ROOT}/etc/make.globals" ]; then |
635 |
- rm "${ROOT}/etc/make.globals" |
636 |
- fi |
637 |
- |
638 |
- has_version "<${CATEGORY}/${PN}-2.2_alpha" |
639 |
- MINOR_UPGRADE=$? |
640 |
- |
641 |
- has_version "<=${CATEGORY}/${PN}-2.2_pre5" |
642 |
- WORLD_MIGRATION_UPGRADE=$? |
643 |
- |
644 |
- # If portage-2.1.6 is installed and the preserved_libs_registry exists, |
645 |
- # assume that the NEEDED.ELF.2 files have already been generated. |
646 |
- has_version "<=${CATEGORY}/${PN}-2.2_pre7" && \ |
647 |
- ! ( [ -e "$ROOT"var/lib/portage/preserved_libs_registry ] && \ |
648 |
- has_version ">=${CATEGORY}/${PN}-2.1.6_rc" ) |
649 |
- NEEDED_REBUILD_UPGRADE=$? |
650 |
- |
651 |
- [[ -n $PORTDIR_OVERLAY ]] && has_version "<${CATEGORY}/${PN}-2.1.6.12" |
652 |
- REPO_LAYOUT_CONF_WARN=$? |
653 |
-} |
654 |
- |
655 |
-pkg_postinst() { |
656 |
- # Compile all source files recursively. Any orphans |
657 |
- # will be identified and removed in postrm. |
658 |
- python_mod_optimize /usr/$(get_libdir)/portage/pym |
659 |
- |
660 |
- if [ $WORLD_MIGRATION_UPGRADE = 0 ] ; then |
661 |
- einfo "moving set references from the worldfile into world_sets" |
662 |
- cd "${ROOT}/var/lib/portage/" |
663 |
- grep "^@" world >> world_sets |
664 |
- sed -i -e '/^@/d' world |
665 |
- fi |
666 |
- |
667 |
- if [ $NEEDED_REBUILD_UPGRADE = 0 ] ; then |
668 |
- einfo "rebuilding NEEDED.ELF.2 files" |
669 |
- for cpv in "${ROOT}/var/db/pkg"/*/*; do |
670 |
- if [ -f "${cpv}/NEEDED" ]; then |
671 |
- rm -f "${cpv}/NEEDED.ELF.2" |
672 |
- while read line; do |
673 |
- filename=${line% *} |
674 |
- needed=${line#* } |
675 |
- needed=${needed//+/++} |
676 |
- needed=${needed//#/##} |
677 |
- needed=${needed//%/%%} |
678 |
- newline=$(scanelf -BF "%a;%F;%S;%r;${needed}" $filename) |
679 |
- newline=${newline// - } |
680 |
- echo "${newline:3}" >> "${cpv}/NEEDED.ELF.2" |
681 |
- done < "${cpv}/NEEDED" |
682 |
- fi |
683 |
- done |
684 |
- fi |
685 |
- |
686 |
- if [ $REPO_LAYOUT_CONF_WARN = 0 ] ; then |
687 |
- ewarn |
688 |
- echo "If you want overlay eclasses to override eclasses from" \ |
689 |
- "other repos then see the portage(5) man page" \ |
690 |
- "for information about the new layout.conf and repos.conf" \ |
691 |
- "configuration files." \ |
692 |
- | fmt -w 75 | while read -r ; do ewarn "$REPLY" ; done |
693 |
- ewarn |
694 |
- fi |
695 |
- |
696 |
- einfo |
697 |
- einfo "For help with using portage please consult the Gentoo Handbook" |
698 |
- einfo "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3" |
699 |
- einfo |
700 |
- |
701 |
- if [ $MINOR_UPGRADE = 0 ] ; then |
702 |
- elog "If you're upgrading from a pre-2.2 version of portage you might" |
703 |
- elog "want to remerge world (emerge -e world) to take full advantage" |
704 |
- elog "of some of the new features in 2.2." |
705 |
- elog "This is not required however for portage to function properly." |
706 |
- elog |
707 |
- fi |
708 |
- |
709 |
- if [ -z "${PV/*_rc*}" ]; then |
710 |
- elog "If you always want to use the latest development version of portage" |
711 |
- elog "please read http://www.gentoo.org/proj/en/portage/doc/testing.xml" |
712 |
- elog |
713 |
- fi |
714 |
-} |
715 |
- |
716 |
-pkg_postrm() { |
717 |
- python_mod_cleanup /usr/$(get_libdir)/portage/pym |
718 |
-} |