diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-31 20:15:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-02-01 19:33:20 +0100 |
commit | 8a8c999ecf9892c8b41ccb120d0098212cd1374f (patch) | |
tree | 7929ca6055926c052c3dfb9e32a71e3f22245c57 /eclass/distutils-r1.eclass | |
parent | distutils-r1.eclass: Add DISTUTILS_DEPS output var for PEP 517 mode (diff) | |
download | gentoo-8a8c999ecf9892c8b41ccb120d0098212cd1374f.tar.gz gentoo-8a8c999ecf9892c8b41ccb120d0098212cd1374f.tar.bz2 gentoo-8a8c999ecf9892c8b41ccb120d0098212cd1374f.zip |
distutils-r1.eclass: Restore QA warning for DUS + DISTUTILS_OPTIONAL
Restore the QA warning (proviously issued as part of install-qa-check.d)
for combining DISTUTILS_USE_SETUPTOOLS and DISTUTILS_OPTIONAL.
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, 5 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index a0ad598eb58f..2b5acb09d926 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -201,6 +201,11 @@ _distutils_set_globals() { die "Unknown DISTUTILS_USE_PEP517=${DISTUTILS_USE_PEP517}" ;; esac + elif [[ ${DISTUTILS_OPTIONAL} ]]; then + if [[ ${DISTUTILS_USE_SETUPTOOLS} ]]; then + eqawarn "QA Notice: DISTUTILS_USE_SETUPTOOLS is not used when DISTUTILS_OPTIONAL" + eqawarn "is enabled." + fi else local setuptools_dep='>=dev-python/setuptools-42.0.2[${PYTHON_USEDEP}]' |