diff options
author | 2024-04-22 16:42:18 -0700 | |
---|---|---|
committer | 2024-04-22 16:42:18 -0700 | |
commit | a67fa224aee1b23260ecdae2338bdb452219d369 (patch) | |
tree | be3737f4d54e45efb0b5bfe7ea131fba5fb837c8 | |
parent | dev-python/m2crypto: drop 0.40.1 (diff) | |
download | libressl-a67fa224aee1b23260ecdae2338bdb452219d369.tar.gz libressl-a67fa224aee1b23260ecdae2338bdb452219d369.tar.bz2 libressl-a67fa224aee1b23260ecdae2338bdb452219d369.zip |
dev-util/maturin: sync ::gentoo
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r-- | dev-util/maturin/maturin-1.5.1-r1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/maturin/maturin-1.5.1-r1.ebuild b/dev-util/maturin/maturin-1.5.1-r1.ebuild index 45efce3..be03a21 100644 --- a/dev-util/maturin/maturin-1.5.1-r1.ebuild +++ b/dev-util/maturin/maturin-1.5.1-r1.ebuild @@ -441,6 +441,9 @@ KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc +ssl test" RESTRICT="!test? ( test )" +# TODO: cleanup after CRATES_TEST's pyo3 is >=0.20.3 (bug #922236) +RESTRICT+=" ppc? ( test )" + RDEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)" DEPEND="ssl? ( dev-libs/openssl:= )" BDEPEND=" @@ -465,6 +468,8 @@ src_prepare() { distutils-r1_src_prepare + [[ ${CRATES_TEST} == *pyo3@0.20.[0-2]* ]] || die "drop ppc test restrict" + # we build the Rust executable (just once) via cargo_src_compile sed -i -e '/setuptools_rust/d' -e '/rust_extensions/d' setup.py || die |