1 |
commit: dbd3b03330d9be67c75aa41238f15d5f17969dff |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 26 09:37:51 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 26 09:37:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd3b033 |
7 |
|
8 |
dev-python/setuptools: version bump to 35.0.1 |
9 |
|
10 |
dev-python/setuptools/Manifest | 1 + |
11 |
dev-python/setuptools/setuptools-35.0.1.ebuild | 70 ++++++++++++++++++++++++++ |
12 |
2 files changed, 71 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
15 |
index ca74d70822c..74ae7b281e1 100644 |
16 |
--- a/dev-python/setuptools/Manifest |
17 |
+++ b/dev-python/setuptools/Manifest |
18 |
@@ -6,3 +6,4 @@ DIST setuptools-34.0.2.zip 617839 SHA256 a5bdc45a3c123a88c84e089a789ba70bbc61ee8 |
19 |
DIST setuptools-34.3.2.zip 622899 SHA256 4efcdcbc0b268a4c5b1094b36dd5ed55658968195577ed331cec9b1c71891f31 SHA512 f2f849a505c80bf93825d8136df4b3198a8041bfdc183882a8d2194ca1376b3e3ea24f56d2975eb374be54923e8bb45c7afeedbce86798efb31b1fb9e3b6c371 WHIRLPOOL c7a53c8f046b6ba548b0ad19f0d6ca23a022567b49ff6fecd4e06d4ce86487e7bbacaa48b58889f443acd5712dc1e67009d971722971aad9338a0876ffc317eb |
20 |
DIST setuptools-34.3.3.zip 622967 SHA256 2cd244d3fca6ff7d0794a9186d1d19a48453e9813ae1d783edbfb8c348cde905 SHA512 e45552954864b3b53319807a1593e8d10fc477f1a864da73560a17760f5239eca1cb338ad822c6680cb26c8e15897163122e4e9b19e76ed1e6d1542ffe7a6d34 WHIRLPOOL ddbc9e3ce6466416c3687fd7295dcc4f77aaf059550542cb9d21f31359adac0bc0b2281c755e1867db18ed4f4192e6951a0d78c34ae4bfdc46bfd8411df1e75c |
21 |
DIST setuptools-34.4.1.zip 623937 SHA256 704cc0c9fe6c97edd3c6370d165c5a754dfde318b671058523ed3226d944ea1b SHA512 cd0b3fafe87fdea85b6f1c72fd6bfa138592cde2856d0d9336078443d05f55ef61fc764ef7428708578bcfd85ac1919eef0c8ceb4f3e90c26e7a128c17150f30 WHIRLPOOL 0133154e25c2c8a4b2c92aeac99f0c0665ee692d0798a5f5f1f642e7d4d10f1740f6deac414bd0cad388ffc64c0eeeb78097d28440bea034ac74c43bde7bb804 |
22 |
+DIST setuptools-35.0.1.zip 624263 SHA256 eea7f2ff55d4a810b6bc39be1ad1c60c2702341b78b2365c71306eaa7316beac SHA512 a3f5362ad64dead468172f9989bc62043ce736180d22e50d9815af25aecbceb58e701bb87a643b9fbbf0beedb37a45268b23b1b5e7e6e397aa124f43b1d4bb0d WHIRLPOOL e33041a6f03dc4ceb4a34db4c18a4d76a908b4e5a726ad18598cc202aca24df0a81241aa72812b7a31b1e452dd265e813c58ea23255e37a75c2c2ec2f73d8787 |
23 |
|
24 |
diff --git a/dev-python/setuptools/setuptools-35.0.1.ebuild b/dev-python/setuptools/setuptools-35.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..9bdebb0a071 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/setuptools/setuptools-35.0.1.ebuild |
29 |
@@ -0,0 +1,70 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
35 |
+PYTHON_REQ_USE="xml(+)" |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+if [[ ${PV} == "9999" ]]; then |
40 |
+ EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
41 |
+ inherit git-r3 |
42 |
+else |
43 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
44 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 ~ppc-aix ~x64-cygwin ~sparc-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+fi |
46 |
+ |
47 |
+DESCRIPTION="Collection of extensions to Distutils" |
48 |
+HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+IUSE="test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/packaging-16.8[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/appdirs-1.4.0-r1[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ app-arch/unzip |
61 |
+ test? ( |
62 |
+ dev-python/pip[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/backports-unittest-mock-1.2[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+PDEPEND=" |
68 |
+ >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
69 |
+ |
70 |
+# Force in-source build because build system modifies sources. |
71 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
72 |
+ |
73 |
+DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
74 |
+ |
75 |
+python_prepare_all() { |
76 |
+ if [[ ${PV} == "9999" ]]; then |
77 |
+ python_setup |
78 |
+ ${EPYTHON} bootstrap.py || die |
79 |
+ fi |
80 |
+ |
81 |
+ # disable tests requiring a network connection |
82 |
+ rm setuptools/tests/test_packageindex.py || die |
83 |
+ |
84 |
+ # don't run integration tests |
85 |
+ rm setuptools/tests/test_integration.py || die |
86 |
+ |
87 |
+ distutils-r1_python_prepare_all |
88 |
+} |
89 |
+ |
90 |
+python_test() { |
91 |
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
92 |
+ # It tries to sandbox the test in a tempdir |
93 |
+ HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
94 |
+} |
95 |
+ |
96 |
+python_install() { |
97 |
+ export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
98 |
+ distutils-r1_python_install |
99 |
+} |