commit:     5c431d966af391ec2419df55eb6eb92d833f63d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 03:27:41 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 21:12:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c431d96

distutils-r1.eclass: Use HATCH_METADATA_CLASSIFIERS_NO_VERIFY

Bug: https://github.com/pypa/hatch/issues/1368
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

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

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 1806eb06483d..2a71899f08b7 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1257,6 +1257,9 @@ distutils_pep517_install() {
                cmd+=( cargo_env )
        fi
 
+       # set it globally in case we were using "standalone" wrapper
+       local -x HATCH_METADATA_CLASSIFIERS_NO_VERIFY=1
+
        case ${DISTUTILS_USE_PEP517} in
                maturin)
                        # `maturin pep517 build-wheel --help` for options

Reply via email to