summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-03 09:23:22 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-07 10:50:22 +0200
commit7558ca0bef3f5262e9c9e133b85989beeda4fb2a (patch)
tree0bba41de2be665619885478874a44811b959ff72 /eclass
parentdistutils-r1.eclass: Remove obsolete EAPI condition for *.pth files (diff)
downloadgentoo-7558ca0bef3f5262e9c9e133b85989beeda4fb2a.tar.gz
gentoo-7558ca0bef3f5262e9c9e133b85989beeda4fb2a.tar.bz2
gentoo-7558ca0bef3f5262e9c9e133b85989beeda4fb2a.zip
distutils-r1.eclass: Remove old maturin support code
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass23
1 files 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