summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-04-28 15:17:15 +0200
committerMichał Górny <mgorny@gentoo.org>2024-04-28 15:17:15 +0200
commitb3aa73401531f8bf26e045cb8debe6e4c04ba266 (patch)
treed7066b58a424c218eb42d7b3edf90ed0bad7a800 /sci-libs
parentsys-kernel/gentoo-kernel-bin: Bump to 6.6.29 (diff)
downloadgentoo-b3aa73401531f8bf26e045cb8debe6e4c04ba266.tar.gz
gentoo-b3aa73401531f8bf26e045cb8debe6e4c04ba266.tar.bz2
gentoo-b3aa73401531f8bf26e045cb8debe6e4c04ba266.zip
sci-libs/transformers: Revert "add 4.37.2, drop 4.36.2"
This broke dependencies of sci-libs/evaluate. Reverts: 82b47041228db5dd0acc15535bf99d75e428a316 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/transformers/Manifest2
-rw-r--r--sci-libs/transformers/transformers-4.36.2.ebuild (renamed from sci-libs/transformers/transformers-4.37.2.ebuild)23
2 files changed, 11 insertions, 14 deletions
diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest
index ace196dbfd29..67683244b7fe 100644
--- a/sci-libs/transformers/Manifest
+++ b/sci-libs/transformers/Manifest
@@ -1 +1 @@
-DIST transformers-4.37.2.gh.tar.gz 16632049 BLAKE2B 22501598da911cb685598cb3b33e157ef091425c0c7478d05a0af396c182e8f776435d6b2fe708eaf2550ce6136f195ffac3b464f357ae8e023a030c218fcd3d SHA512 37bdf35e0774f7f26a19465b5e5c64709a85a1d001e01382996891173c59d6e31c1b536ef186b9d6a3dbe85e658ac3bf11f78e2e7f73c6d1d18992035afe3852
+DIST transformers-4.36.2.gh.tar.gz 16379041 BLAKE2B 3cd8dd9949e97971cf116e79327782a59a98df58ffeebafd4cf37009e805f8c332dd9739f1c6f5f627db0c7cc7a286329727740a6b5d701b05d0dc5201ce985d SHA512 e2f07f49f7ad0141dbb1ad594e7e1e0ab91c0b199d7f63e8396f4d6b58dbcf8f9004b9e809ad641950a9616d7755f0cd21fa332f47cbb9606a346a0184baa7b5
diff --git a/sci-libs/transformers/transformers-4.37.2.ebuild b/sci-libs/transformers/transformers-4.36.2.ebuild
index 729e1ae55368..d115e34a5797 100644
--- a/sci-libs/transformers/transformers-4.37.2.ebuild
+++ b/sci-libs/transformers/transformers-4.36.2.ebuild
@@ -5,7 +5,6 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
DESCRIPTION="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"
@@ -22,18 +21,16 @@ KEYWORDS="~amd64"
RESTRICT="test" # Need some modules, not yet packaged
RDEPEND="
- sci-libs/tokenizers[${PYTHON_SINGLE_USEDEP}]
- $(python_gen_cond_dep '
- dev-python/filelock[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
- sci-libs/huggingface_hub[${PYTHON_USEDEP}]
- >=sci-libs/safetensors-0.4.1[${PYTHON_USEDEP}]
- ')
+ dev-python/filelock[${PYTHON_USEDEP}]
+ sci-libs/huggingface_hub[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ sci-libs/safetensors[${PYTHON_USEDEP}]
+ sci-libs/tokenizers[${PYTHON_USEDEP}]
+ dev-python/tqdm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest