1 |
arfrever 09/10/02 16:51:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: setuptools-0.6.3-r3.ebuild |
5 |
Removed: setuptools-0.6.3-r2.ebuild |
6 |
Log: |
7 |
Add new revision to ensure that dev-python/setuptools is installed by default for Python 2 and Python 3. |
8 |
(Portage version: 14471-svn/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.68 dev-python/setuptools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/setuptools/ChangeLog?rev=1.68&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/setuptools/ChangeLog?rev=1.68&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/setuptools/ChangeLog?r1=1.67&r2=1.68 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/setuptools/ChangeLog,v |
20 |
retrieving revision 1.67 |
21 |
retrieving revision 1.68 |
22 |
diff -u -r1.67 -r1.68 |
23 |
--- ChangeLog 1 Oct 2009 17:25:19 -0000 1.67 |
24 |
+++ ChangeLog 2 Oct 2009 16:51:37 -0000 1.68 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-python/setuptools |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/ChangeLog,v 1.67 2009/10/01 17:25:19 klausman Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/ChangeLog,v 1.68 2009/10/02 16:51:37 arfrever Exp $ |
30 |
+ |
31 |
+*setuptools-0.6.3-r3 (02 Oct 2009) |
32 |
+ |
33 |
+ 02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
+ -setuptools-0.6.3-r2.ebuild, +setuptools-0.6.3-r3.ebuild: |
35 |
+ Add new revision to ensure that dev-python/setuptools is installed by |
36 |
+ default for Python 2 and Python 3. |
37 |
|
38 |
01 Oct 2009; Tobias Klausmann <klausman@g.o> |
39 |
setuptools-0.6-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/setuptools/setuptools-0.6.3-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/setuptools/setuptools-0.6.3-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/setuptools/setuptools-0.6.3-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: setuptools-0.6.3-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-0.6.3-r3.ebuild,v 1.1 2009/10/02 16:51:37 arfrever Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
SUPPORT_PYTHON_ABIS="1" |
56 |
|
57 |
inherit distutils eutils |
58 |
|
59 |
DESCRIPTION="A collection of enhancements to the Python distutils including easy install" |
60 |
HOMEPAGE="http://pypi.python.org/pypi/distribute" |
61 |
SRC_URI="http://pypi.python.org/packages/source/d/distribute/distribute-${PV}.tar.gz" |
62 |
|
63 |
LICENSE="PSF-2.2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
66 |
IUSE="" |
67 |
|
68 |
# Avoid silent errors during upgrade from older versions. |
69 |
DEPEND="!!<dev-python/setuptools-0.6.3-r2" |
70 |
# Ensure that dev-python/setuptools is installed by default for Python 2 and Python 3. |
71 |
RDEPEND="=dev-lang/python-2* |
72 |
=dev-lang/python-3*" |
73 |
|
74 |
S="${WORKDIR}/distribute-${PV}" |
75 |
|
76 |
DOCS="README.txt docs/easy_install.txt docs/pkg_resources.txt docs/setuptools.txt" |
77 |
|
78 |
pkg_setup() { |
79 |
# Older versions of Portage don't support !! dependencies correctly (bug #270953). |
80 |
if has_version "<dev-python/setuptools-0.6.3-r2"; then |
81 |
die "<dev-python/setuptools-0.6.3-r2 must be uninstalled before installation of newer versions to avoid silent errors" |
82 |
fi |
83 |
|
84 |
# Delete unneeded files which cause problems. These files were created by some older, broken versions. |
85 |
rm -fr "${ROOT}"usr/lib*/python*/site-packages/{,._cfg????_}setuptools-*egg-info || die "Deletion of broken files failed" |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
distutils_src_prepare |
90 |
|
91 |
epatch "${FILESDIR}/${PN}-0.6_rc7-noexe.patch" |
92 |
|
93 |
# Remove tests that access the network (bugs #198312, #191117) |
94 |
rm setuptools/tests/test_packageindex.py |
95 |
} |
96 |
|
97 |
src_test() { |
98 |
tests() { |
99 |
PYTHONPATH="." "$(PYTHON)" setup.py test |
100 |
} |
101 |
python_execute_function tests |
102 |
} |