From: Ionen Wolkens <io...@gentoo.org>

>=maturin-1.7.1 has deprecated --skip-auditwheel and added
--auditwheel=<check|repair|skip> to replace it. Update and set
the lower bound to latest stable rather than use has_version.

Signed-off-by: Ionen Wolkens <io...@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/39204
Signed-off-by: Michał Górny <mgo...@gentoo.org>
---
 eclass/distutils-r1.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7ab8dcae3265..7e65bcb964a1 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -271,7 +271,7 @@ _distutils_set_globals() {
                                ;;
                        maturin)
                                bdep+='
-                                       
>=dev-util/maturin-1.4.0[${PYTHON_USEDEP}]
+                                       
>=dev-util/maturin-1.7.4[${PYTHON_USEDEP}]
                                '
                                ;;
                        no)
@@ -1262,8 +1262,8 @@ distutils_pep517_install() {
                        # `maturin pep517 build-wheel --help` for options
                        local maturin_args=(
                                "${DISTUTILS_ARGS[@]}"
+                               --auditwheel=skip # see bug #831171
                                --jobs="$(makeopts_jobs)"
-                               --skip-auditwheel # see bug #831171
                                $(in_iuse debug && usex debug '--profile=dev' 
'')
                        )
 
-- 
2.47.0


Reply via email to