diff options
author | 2021-06-28 11:12:02 -0700 | |
---|---|---|
committer | 2021-06-28 11:46:57 -0700 | |
commit | 28ada16af437c0f2955f222abd03730ae2e299d6 (patch) | |
tree | a6b31070826eda674bec8680abea1a0aa5d14c1e /metadata/install-qa-check.d/60distutils-use-setuptools | |
parent | virtual/logger: EAPI 7 (diff) | |
download | gentoo-28ada16af437c0f2955f222abd03730ae2e299d6.tar.gz gentoo-28ada16af437c0f2955f222abd03730ae2e299d6.tar.bz2 gentoo-28ada16af437c0f2955f222abd03730ae2e299d6.zip |
metadata/install-qa-check.d: add QA Notice string to all checks
and re-wrap some lines to fit into 80 char limit
Bug: https://bugs.gentoo.org/728046
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'metadata/install-qa-check.d/60distutils-use-setuptools')
-rw-r--r-- | metadata/install-qa-check.d/60distutils-use-setuptools | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/metadata/install-qa-check.d/60distutils-use-setuptools b/metadata/install-qa-check.d/60distutils-use-setuptools index effa65358aa5..d08be885eb8e 100644 --- a/metadata/install-qa-check.d/60distutils-use-setuptools +++ b/metadata/install-qa-check.d/60distutils-use-setuptools @@ -47,7 +47,9 @@ distutils_use_setuptools_check() { if [[ ${#expected[@]} -gt 1 ]] && has no "${expected[@]}"; then # 'no' and '[rb]depend' are mutually exclusive - eerror "The package seems to have used distutils and setuptools simultaneously." + eerror "QA Notice: The package seems to have used distutils and setuptools" + eerror "simultaneously" + eerror "" eerror "This could mean the package has bad conditions:" eerror "https://dev.gentoo.org/~mgorny/python-guide/distutils.html#conditional-distutils-setuptools-use-in-packages" eerror "Please report a bug about this and CC python@" @@ -74,7 +76,7 @@ distutils_use_setuptools_check() { local def= [[ ${DISTUTILS_USE_SETUPTOOLS} == bdepend ]] && def=' (or unset)' - eqawarn "DISTUTILS_USE_SETUPTOOLS value is probably incorrect" + eqawarn "QA Notice: DISTUTILS_USE_SETUPTOOLS value is probably incorrect" eqawarn " have: DISTUTILS_USE_SETUPTOOLS=${DISTUTILS_USE_SETUPTOOLS}${def}" if [[ ${expected[0]} == bdepend ]]; then eqawarn " expected: (unset)" |