1 |
arfrever 10/04/20 19:09:56 |
2 |
|
3 |
Modified: pkgcore-0.5.11.3.ebuild |
4 |
Log: |
5 |
Simplify ebuild. |
6 |
(Portage version: HEAD/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: pkgcore-0.5.11.3.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- pkgcore-0.5.11.3.ebuild 22 Mar 2010 19:20:54 -0000 1.1 |
22 |
+++ pkgcore-0.5.11.3.ebuild 20 Apr 2010 19:09:56 -0000 1.2 |
23 |
@@ -1,6 +1,8 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild,v 1.1 2010/03/22 19:20:54 robbat2 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.5.11.3.ebuild,v 1.2 2010/04/20 19:09:56 arfrever Exp $ |
28 |
+ |
29 |
+DISTUTILS_SRC_TEST="setup.py" |
30 |
|
31 |
inherit distutils eutils |
32 |
|
33 |
@@ -54,20 +56,15 @@ |
34 |
fi |
35 |
|
36 |
# This is left behind by pkgcore 0.2. |
37 |
- rm -f "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/pkgcore/plugins/plugincache |
38 |
+ rm -f "${ROOT}"$(python_get_sitedir)/pkgcore/plugins/plugincache |
39 |
} |
40 |
|
41 |
pkg_postrm() { |
42 |
- python_version |
43 |
# Careful not to remove this on up/downgrades. |
44 |
- local sitep="${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages |
45 |
+ local sitep="${ROOT}"$(python_get_sitedir)/site-packages |
46 |
if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] && |
47 |
! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then |
48 |
rm "${sitep}/pkgcore/plugins/plugincache2" |
49 |
fi |
50 |
distutils_pkg_postrm |
51 |
} |
52 |
- |
53 |
-src_test() { |
54 |
- "${python}" setup.py test || die "testing returned non zero" |
55 |
-} |