commit:     4f313c8a60d62cceab147cb62d2a4ee07484dd50
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  5 19:22:04 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 21:12:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f313c8a

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 <AT> gentoo.org>

 eclass/distutils-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

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

Reply via email to