summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-07-05 15:22:04 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-11-29 16:12:08 -0500
commit4f313c8a60d62cceab147cb62d2a4ee07484dd50 (patch)
tree88245112d14f27d804fca3d72e7f1696ad117e2f /eclass
parentdev-python/setuptools: allow disabling validation of pypi.org allowed strings (diff)
downloadgentoo-4f313c8a60d62cceab147cb62d2a4ee07484dd50.tar.gz
gentoo-4f313c8a60d62cceab147cb62d2a4ee07484dd50.tar.bz2
gentoo-4f313c8a60d62cceab147cb62d2a4ee07484dd50.zip
distutils-r1.eclass: disable setuptools validation of pypi.org allowed strings
In the previous commit, a change was patched into setuptools to enable skipping pypi.org specific validations we do not want. Export the environment variable which activates this, whenever the build backend is setuptools. Bug: https://github.com/pypa/setuptools/issues/4459 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index e5a13e9c88cd..c2d7e7eb8d06 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1259,6 +1259,7 @@ distutils_pep517_install() {
# set it globally in case we were using "standalone" wrapper
local -x HATCH_METADATA_CLASSIFIERS_NO_VERIFY=1
+ local -x GENTOO_VALIDATE_PYPROJECT_NO_TROVE_CLASSIFIERS=1
if in_iuse debug && use debug; then
local -x SETUPTOOLS_RUST_CARGO_PROFILE=dev
fi