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 <mgo...@gentoo.org> --- eclass/distutils-r1.eclass | 5 +++++ 1 file changed, 5 insertions(+) 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}]' -- 2.35.1