diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-20 11:28:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-23 23:44:24 +0200 |
commit | 0c2d62f8854dc3409e9fcd2c351fa66ada6d6691 (patch) | |
tree | 28a96ce5f6ff4ad061ada8ac635a4a70772bfa88 /eclass/distutils-r1.eclass | |
parent | distutils-r1.eclass: Replace mydistutilsargs with DISTUTILS_ARGS (diff) | |
download | gentoo-0c2d62f8854dc3409e9fcd2c351fa66ada6d6691.tar.gz gentoo-0c2d62f8854dc3409e9fcd2c351fa66ada6d6691.tar.bz2 gentoo-0c2d62f8854dc3409e9fcd2c351fa66ada6d6691.zip |
distutils-r1.eclass: Require >=pyproject2setuppy-15
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index d7a476f48586..1446d2cda749 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -129,7 +129,7 @@ _distutils_set_globals() { rdep+=" ${setuptools_dep}" ;; pyproject.toml) - bdep+=' dev-python/pyproject2setuppy[${PYTHON_USEDEP}]' + bdep+=' >=dev-python/pyproject2setuppy-15[${PYTHON_USEDEP}]' ;; *) die "Invalid DISTUTILS_USE_SETUPTOOLS=${DISTUTILS_USE_SETUPTOOLS}" @@ -465,8 +465,7 @@ esetup.py() { local setup_py=( setup.py ) if [[ ${DISTUTILS_USE_SETUPTOOLS} == pyproject.toml ]]; then - # TODO: remove '.main' when we require v10 - setup_py=( -m pyproject2setuppy.main ) + setup_py=( -m pyproject2setuppy ) fi if [[ ${EAPI} != [67] && ${mydistutilsargs[@]} ]]; then |