From 4f313c8a60d62cceab147cb62d2a4ee07484dd50 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 5 Jul 2024 15:22:04 -0400 Subject: [PATCH] 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 --- eclass/distutils-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e5a13e9c88cd0..c2d7e7eb8d068 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