summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-08-13 18:00:48 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-08-13 18:01:39 +0200
commit799cb12c58dbf86513e5419c4d34ed1842eaeeda (patch)
tree2326f05741b24024155e8274e13e5e020efa16e5 /sci-libs
parentdev-libs/libisoburn: Stabilize 1.5.6 sparc, #912231 (diff)
downloadgentoo-799cb12c58dbf86513e5419c4d34ed1842eaeeda.tar.gz
gentoo-799cb12c58dbf86513e5419c4d34ed1842eaeeda.tar.bz2
gentoo-799cb12c58dbf86513e5419c4d34ed1842eaeeda.zip
sci-libs/safetensors: single -> multi
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/safetensors/safetensors-0.3.1-r1.ebuild (renamed from sci-libs/safetensors/safetensors-0.3.1.ebuild)11
1 files changed, 3 insertions, 8 deletions
diff --git a/sci-libs/safetensors/safetensors-0.3.1.ebuild b/sci-libs/safetensors/safetensors-0.3.1-r1.ebuild
index 37c017327209..74d7d6784af4 100644
--- a/sci-libs/safetensors/safetensors-0.3.1.ebuild
+++ b/sci-libs/safetensors/safetensors-0.3.1-r1.ebuild
@@ -50,7 +50,6 @@ CRATES="
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 cargo
@@ -68,18 +67,14 @@ SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/lib/.*"
+RESTRICT="test" #depends on single pkg ( pytorch )
RDEPEND="
"
BDEPEND="
- $(python_gen_cond_dep '
- dev-python/setuptools-rust[${PYTHON_USEDEP}]
- test? (
- dev-python/h5py[${PYTHON_USEDEP}]
- )
- ')
+ dev-python/setuptools-rust[${PYTHON_USEDEP}]
test? (
- sci-libs/pytorch[${PYTHON_SINGLE_USEDEP}]
+ dev-python/h5py[${PYTHON_USEDEP}]
)
"