1 |
commit: 576818e48d00508bfdb64e72764087459a70e013 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 29 12:47:04 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 29 12:47:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576818e4 |
7 |
|
8 |
dev-python/setuptools: Bump to 41.5.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/setuptools/Manifest | 1 + |
13 |
dev-python/setuptools/setuptools-41.5.1.ebuild | 73 ++++++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
17 |
index 3d139baae53..9a3616dbd7a 100644 |
18 |
--- a/dev-python/setuptools/Manifest |
19 |
+++ b/dev-python/setuptools/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST setuptools-41.1.0.zip 851100 BLAKE2B 1a2dcb1d3f1a34d9a5dab5156b76cddb03da0f |
21 |
DIST setuptools-41.2.0.zip 851251 BLAKE2B 1c4896c429c670832a46f951dc4c4958f808f1a7c0ad88670705fe265bee23c1d2b6a348b13298b0a60b6c821d504567d4d35b33f388949028391219cd45191e SHA512 6ac0da9f2e452b2b2334c03eb1667d88ebffeb68da18a69fe14f9f0763ac391986dcc663f123015b63eb0c3f905e5a8be7408499ddb1ac20367109275cb66ac9 |
22 |
DIST setuptools-41.4.0.zip 855608 BLAKE2B 8047a5915d37168c04eded6e0b0b2273557bba7558a173d3f904985471124703797e2b5d00ce8c28096213a181e268a9bae5566f112683b3bee21df26795f5d3 SHA512 3b8406dd6ea23623112b8ba418e70fa97317449838a5dfc54d46738dbde3f2fc15657466e296e2f9bf72cbbaa0aa28ba42d8392afe29f9583cca258645e189b7 |
23 |
DIST setuptools-41.5.0.zip 851068 BLAKE2B 1a45674719fb661eccb43789f0851a1bb1800d13e5a0f99916762c9391bf49acd580b6500e0f5e8f0b23f6a671891b82c48d6300c9d9b7605cb0dfdca7a15075 SHA512 d02c5db7649281fcdc010837a600611af260bb7563440da4ad84cdbaa35b19c7cc1890ae7bdc58b49dfed20041b0ac52a8dbe0dfb340a804668cbecaea6b2bb7 |
24 |
+DIST setuptools-41.5.1.zip 851097 BLAKE2B 2411db77cffb24190c1510c7fab623ae0fb2a248994eae01e1a79427d35d8bf6a2f065de0d95dc11105df0bb42962a57c914486b48dc91115ec32e4dbcbc059d SHA512 eb6e944c80448873f8970477aaf474e75879e2b81b91fdc7a308670fed231d52880c3be3452e7ed3f094f20d4afe54b1db24ec4d98845ed47ee5e71dbf66261d |
25 |
|
26 |
diff --git a/dev-python/setuptools/setuptools-41.5.1.ebuild b/dev-python/setuptools/setuptools-41.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f3990f7b4a6 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/setuptools/setuptools-41.5.1.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
37 |
+PYTHON_REQ_USE="xml(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+if [[ ${PV} == "9999" ]]; then |
42 |
+ EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="Collection of extensions to Distutils" |
50 |
+HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+IUSE="test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ app-arch/unzip |
61 |
+ test? ( |
62 |
+ dev-python/mock[${PYTHON_USEDEP}] |
63 |
+ dev-python/pip[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
65 |
+ <dev-python/pytest-4 |
66 |
+ dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
68 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
69 |
+ virtual/python-futures[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+PDEPEND=" |
73 |
+ >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
74 |
+ |
75 |
+# Force in-source build because build system modifies sources. |
76 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
77 |
+ |
78 |
+DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
79 |
+ |
80 |
+python_prepare_all() { |
81 |
+ if [[ ${PV} == "9999" ]]; then |
82 |
+ python_setup |
83 |
+ ${EPYTHON} bootstrap.py || die |
84 |
+ fi |
85 |
+ |
86 |
+ # disable tests requiring a network connection |
87 |
+ rm setuptools/tests/test_packageindex.py || die |
88 |
+ |
89 |
+ # don't run integration tests |
90 |
+ rm setuptools/tests/test_integration.py || die |
91 |
+ |
92 |
+ distutils-r1_python_prepare_all |
93 |
+} |
94 |
+ |
95 |
+python_test() { |
96 |
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
97 |
+ # It tries to sandbox the test in a tempdir |
98 |
+ HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
99 |
+} |
100 |
+ |
101 |
+python_install() { |
102 |
+ export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
103 |
+ distutils-r1_python_install |
104 |
+} |