1 |
commit: 079ea99f5d3bfc4f3228546edcea5763bc22a30b |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 27 10:08:47 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 27 10:08:56 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079ea99f |
7 |
|
8 |
dev-python/setuptools: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/setuptools/Manifest | 1 + |
14 |
dev-python/setuptools/setuptools-18.6.1.ebuild | 54 ++++++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
18 |
index 0787ad3..641eae0 100644 |
19 |
--- a/dev-python/setuptools/Manifest |
20 |
+++ b/dev-python/setuptools/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST setuptools-18.4.tar.gz 626632 SHA256 cdea5098e60b4ad83453d58723a61dc481ca8e2df251fe4ccbea9afa5a7d111f SHA512 f45f0bdec365642d1648c502a964bafeb518e8f0ed63091a50b278629cf1e17df7f66769b0ddaab1e7c5ae2574673435ccab72886a2d5eb311eaac451c485854 WHIRLPOOL e0c5d69f57ce234b0e002a50c882df0bf1e908224c045baa8b5a62e91148d654f048cfbb64375b59f61f0845a5e850ec03594606933fdfaa9cce9b357bb45aa7 |
23 |
DIST setuptools-18.5.tar.gz 626892 SHA256 4846755f18c0528d87583342d5e1221052858ce9922c5c38acbadd5015bd683d SHA512 d902b7e35c99d21e243168072bc96c07f88a7463e50035ba72d7e10818777e83ce534e4dab2ae0425620791f95f3d8cb2f9d9142be1ea24f05100d85d0d44835 WHIRLPOOL f3cabbc4bda9964bc00eba392e04605c99c1927fa96482ac55e21b1af7271b8a1c102017dea0b615ab02ca0f7219d9a8eab3b83eef6895d8b35f6bcbe4ed7747 |
24 |
+DIST setuptools-18.6.1.tar.gz 627042 SHA256 ddb0f4bdd1ac0ceb41abfe561d6196a840abb76371551dbf0c3e59d8d5cde99a SHA512 50752fc55fe70c1fe7c84d27d6dd046da376e0656c957e36709923ed129dcecf09637e35d64cc677d1e75612b2fc53f3213c97e8bed816dff5248085756a1882 WHIRLPOOL b6ba95bd18db05867a94b756ab1ec71a0861096ffa8ae9bf2dd1410e1465df71a10e52af527b5f72bd685da5ccbfa795b6e1855a0d11aa54e8f28287fa54236e |
25 |
|
26 |
diff --git a/dev-python/setuptools/setuptools-18.6.1.ebuild b/dev-python/setuptools/setuptools-18.6.1.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..f03e8be |
29 |
--- /dev/null |
30 |
+++ b/dev-python/setuptools/setuptools-18.6.1.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI="5" |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Collection of extensions to Distutils" |
43 |
+HOMEPAGE="https://pypi.python.org/pypi/setuptools" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="PSF-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND=">=dev-python/packaging-15.3-r1[${PYTHON_USEDEP}]" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-python/mock[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+PDEPEND=">=dev-python/certifi-2015.04.28[${PYTHON_USEDEP}]" |
59 |
+ |
60 |
+# Force in-source build because build system modifies sources. |
61 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
62 |
+ |
63 |
+DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
64 |
+ |
65 |
+python_prepare_all() { |
66 |
+ rm -r ./pkg_resources/_vendor || die |
67 |
+ # disable tests requiring a network connection |
68 |
+ rm setuptools/tests/test_packageindex.py || die |
69 |
+ |
70 |
+ # don't run integration tests |
71 |
+ rm setuptools/tests/test_integration.py || die |
72 |
+ |
73 |
+ distutils-r1_python_prepare_all |
74 |
+} |
75 |
+ |
76 |
+python_test() { |
77 |
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
78 |
+ # It tries to sandbox the test in a tempdir |
79 |
+ HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
80 |
+} |
81 |
+ |
82 |
+python_install() { |
83 |
+ export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
84 |
+ distutils-r1_python_install |
85 |
+} |