commit: 7558ca0bef3f5262e9c9e133b85989beeda4fb2a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 3 07:23:22 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 7 08:50:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7558ca0b
distutils-r1.eclass: Remove old maturin support code
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/distutils-r1.eclass | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 0345e3a12c02..4cc117dfbd54 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1447,22 +1447,13 @@ distutils-r1_python_compile() {
fi
;;
maturin)
- if has_version '>=dev-util/maturin-0.13'; then
- # auditwheel may auto-bundle libraries (bug
#831171),
- # also support cargo.eclass' IUSE=debug if
available
- local -x MATURIN_PEP517_ARGS="
- --jobs=$(makeopts_jobs)
- --skip-auditwheel
- $(in_iuse debug && usex debug
--profile=dev '')
- "
- else
- # legacy support, can cleanup when depend on
>=0.13
- local -x MATURIN_PEP517_ARGS="
- --skip-auditwheel
- $(in_iuse debug && usex debug \
-
--cargo-extra-args=--profile=dev '')
- "
- fi
+ # auditwheel may auto-bundle libraries (bug #831171),
+ # also support cargo.eclass' IUSE=debug if available
+ local -x MATURIN_PEP517_ARGS="
+ --jobs=$(makeopts_jobs)
+ --skip-auditwheel
+ $(in_iuse debug && usex debug --profile=dev '')
+ "
;;
no)
return