1 |
commit: d1270fb602d41c6d3959431db012eac3470d9b5f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 26 12:16:57 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 26 12:21:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1270fb6 |
7 |
|
8 |
dev-python/setuptools: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/setuptools/setuptools-60.5.0-r1.ebuild | 13 ++----------- |
13 |
1 file changed, 2 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/setuptools/setuptools-60.5.0-r1.ebuild b/dev-python/setuptools/setuptools-60.5.0-r1.ebuild |
16 |
index 2c14210e9434..497ee5493faa 100644 |
17 |
--- a/dev-python/setuptools/setuptools-60.5.0-r1.ebuild |
18 |
+++ b/dev-python/setuptools/setuptools-60.5.0-r1.ebuild |
19 |
@@ -4,8 +4,7 @@ |
20 |
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
21 |
EAPI=7 |
22 |
|
23 |
-# Set to 'manual' to avoid triggering install QA check |
24 |
-DISTUTILS_USE_SETUPTOOLS=manual |
25 |
+DISTUTILS_USE_PEP517=standalone |
26 |
PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
27 |
PYTHON_REQ_USE="xml(+)" |
28 |
|
29 |
@@ -31,6 +30,7 @@ RDEPEND=" |
30 |
" |
31 |
BDEPEND=" |
32 |
${RDEPEND} |
33 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
34 |
test? ( |
35 |
$(python_gen_cond_dep ' |
36 |
dev-python/build[${PYTHON_USEDEP}] |
37 |
@@ -54,9 +54,6 @@ PDEPEND=" |
38 |
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
39 |
dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
40 |
|
41 |
-# Force in-source build because build system modifies sources. |
42 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
43 |
- |
44 |
DOCS=( {CHANGES,README}.rst ) |
45 |
|
46 |
src_prepare() { |
47 |
@@ -79,7 +76,6 @@ python_test() { |
48 |
# keep in sync with python_gen_cond_dep above! |
49 |
has "${EPYTHON}" python3.{8..10} pypy3 || continue |
50 |
|
51 |
- distutils_install_for_testing |
52 |
local EPYTEST_DESELECT=( |
53 |
# network |
54 |
setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist |
55 |
@@ -100,8 +96,3 @@ python_test() { |
56 |
HOME="${PWD}" epytest \ |
57 |
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools |
58 |
} |
59 |
- |
60 |
-python_install() { |
61 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
62 |
- distutils-r1_python_install |
63 |
-} |