[gentoo-dev] [PATCH 1/2] install-qa-check.d: add DISTUTILS_USE_SETUPTOOLS check

2020-09-18 Thread Michał Górny
Move DISTUTILS_USE_SETUPTOOLS check from distutils-r1.eclass to install QA checks, and rewrite it to use installed egg-info rather than greps on input files. This produces less false positives, particularly in packages that use boilerplate empty 'entry_points' in their setup script or

[gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Remove obsolete DISTUTILS_USE_SETUPTOOLS check

2020-09-18 Thread Michał Górny
The DISTUTILS_USE_SETUPTOOLS check is now done in install-qa-check.d, so remove the duplicate. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 42 -- 1 file changed, 42 deletions(-) diff --git a/eclass/distutils-r1.eclass