diff options
author | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-05 15:22:04 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-11-29 16:12:08 -0500 |
commit | 4f313c8a60d62cceab147cb62d2a4ee07484dd50 (patch) | |
tree | 88245112d14f27d804fca3d72e7f1696ad117e2f /eclass | |
parent | dev-python/setuptools: allow disabling validation of pypi.org allowed strings (diff) | |
download | gentoo-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.eclass | 1 |
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 |