1 |
commit: 7665e26386d84000f9f19bbcf140ff0daf200406 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 22:27:49 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 22:56:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7665e263 |
7 |
|
8 |
dev-python/setuptools: Bump to 56.1.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/setuptools/Manifest | 1 + |
13 |
dev-python/setuptools/setuptools-56.1.0.ebuild | 68 ++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
17 |
index 0d47747d359..17917de9378 100644 |
18 |
--- a/dev-python/setuptools/Manifest |
19 |
+++ b/dev-python/setuptools/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST setuptools-53.1.0.tar.gz 2051159 BLAKE2B f4148df45f5c62acd6acae833619dcae50f131da91ece1a2e1231620d4800294f14dab6c72ca5b2ffd31191c4e3306a869abdba349adcec5746600fc067b340d SHA512 0ca02e9b997623268d8f73b73ee6a4b1ad513802cbc75c74124a85bd5ca7bfaea5cf7cccb706334c0dac2c8a0674a5bc2cea10f44f99f881ad893c8337af3da2 |
22 |
DIST setuptools-54.2.0.tar.gz 2054279 BLAKE2B 2a52e76808fb2bc6df4c59ac7476a9386401180ff6c0d52a5f3d87aedf976a3057cfa0a7ddf2a4497c4c1552d5ebe4810c4bbfa127e1293f950054bddbf7d835 SHA512 b18cd075cf59b8648611eef1874de41199ede6ffe6d7f5047586c6ac8783fe18b9a4f537783e590e7aec127033f612b93925e92f039bd6416a609fcfb262e354 |
23 |
DIST setuptools-56.0.0.tar.gz 2054762 BLAKE2B 3fc0f47304109f765ff0f8430dae735005d508aaa79609c5ca08217eb3802014267bd0f1a4f4678b417143f0d22b4b27f166573e41685229e0d4491b1789713d SHA512 951d43a0192b9dddacd7bd7ff6b76e281c14071771096db3c413fde6ea67b0c534f17a770cb3464cd3a6a4e8145b82f4cf5c0228e76e6f2cefe88d33748816e9 |
24 |
+DIST setuptools-56.1.0.tar.gz 2109659 BLAKE2B 2538391c7ee135f12550da9bb7c110aedcc1480616260195f3f8fc8b8a650651f5bb1f0244832801f897381a8663fc88e2b3840101c560595844af5b192259a2 SHA512 e490c61b4453678339ed3222b4ff39f218fdf515f6de0079b7e4343bf2e1a74a0c8d2f2c9108f462986cf06bc940f260bce29c3f61cc9e0c88471914de345ef1 |
25 |
|
26 |
diff --git a/dev-python/setuptools/setuptools-56.1.0.ebuild b/dev-python/setuptools/setuptools-56.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..26e0b9576c5 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/setuptools/setuptools-56.1.0.ebuild |
31 |
@@ -0,0 +1,68 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+# Set to 'manual' to avoid triggering install QA check |
37 |
+DISTUTILS_USE_SETUPTOOLS=manual |
38 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
39 |
+PYTHON_REQ_USE="xml(+)" |
40 |
+ |
41 |
+inherit distutils-r1 multiprocessing |
42 |
+ |
43 |
+DESCRIPTION="Collection of extensions to Distutils" |
44 |
+HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ test? ( |
53 |
+ dev-python/jaraco-envs[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
55 |
+ dev-python/mock[${PYTHON_USEDEP}] |
56 |
+ dev-python/pip[${PYTHON_USEDEP}] |
57 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
59 |
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
62 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+PDEPEND=" |
66 |
+ >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
67 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+# Force in-source build because build system modifies sources. |
72 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
73 |
+ |
74 |
+DOCS=( {CHANGES,README}.rst ) |
75 |
+ |
76 |
+python_test() { |
77 |
+ distutils_install_for_testing --via-root |
78 |
+ local deselect=( |
79 |
+ # network |
80 |
+ 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
81 |
+ setuptools/tests/test_distutils_adoption.py |
82 |
+ # TODO |
83 |
+ setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
84 |
+ ) |
85 |
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
86 |
+ setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode |
87 |
+ ) |
88 |
+ |
89 |
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
90 |
+ # It tries to sandbox the test in a tempdir |
91 |
+ HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \ |
92 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ |
93 |
+ setuptools |
94 |
+} |
95 |
+ |
96 |
+python_install() { |
97 |
+ export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
98 |
+ distutils-r1_python_install |
99 |
+} |