diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-04-28 12:03:44 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-04-28 12:04:25 +0200 |
commit | 82b47041228db5dd0acc15535bf99d75e428a316 (patch) | |
tree | 7436a139552956d0689fcc42a8029ff20225d471 /sci-libs/transformers | |
parent | sci-libs/safetensors: new package, add 0.4.3, drop 0.3.3 (diff) | |
download | gentoo-82b47041228db5dd0acc15535bf99d75e428a316.tar.gz gentoo-82b47041228db5dd0acc15535bf99d75e428a316.tar.bz2 gentoo-82b47041228db5dd0acc15535bf99d75e428a316.zip |
sci-libs/transformers: add 4.37.2, drop 4.36.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/transformers')
-rw-r--r-- | sci-libs/transformers/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/transformers/transformers-4.37.2.ebuild (renamed from sci-libs/transformers/transformers-4.36.2.ebuild) | 23 |
2 files changed, 14 insertions, 11 deletions
diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest index 67683244b7fe..ace196dbfd29 100644 --- a/sci-libs/transformers/Manifest +++ b/sci-libs/transformers/Manifest @@ -1 +1 @@ -DIST transformers-4.36.2.gh.tar.gz 16379041 BLAKE2B 3cd8dd9949e97971cf116e79327782a59a98df58ffeebafd4cf37009e805f8c332dd9739f1c6f5f627db0c7cc7a286329727740a6b5d701b05d0dc5201ce985d SHA512 e2f07f49f7ad0141dbb1ad594e7e1e0ab91c0b199d7f63e8396f4d6b58dbcf8f9004b9e809ad641950a9616d7755f0cd21fa332f47cbb9606a346a0184baa7b5 +DIST transformers-4.37.2.gh.tar.gz 16632049 BLAKE2B 22501598da911cb685598cb3b33e157ef091425c0c7478d05a0af396c182e8f776435d6b2fe708eaf2550ce6136f195ffac3b464f357ae8e023a030c218fcd3d SHA512 37bdf35e0774f7f26a19465b5e5c64709a85a1d001e01382996891173c59d6e31c1b536ef186b9d6a3dbe85e658ac3bf11f78e2e7f73c6d1d18992035afe3852 diff --git a/sci-libs/transformers/transformers-4.36.2.ebuild b/sci-libs/transformers/transformers-4.37.2.ebuild index d115e34a5797..729e1ae55368 100644 --- a/sci-libs/transformers/transformers-4.36.2.ebuild +++ b/sci-libs/transformers/transformers-4.37.2.ebuild @@ -5,6 +5,7 @@ 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" @@ -21,16 +22,18 @@ KEYWORDS="~amd64" RESTRICT="test" # Need some modules, not yet packaged RDEPEND=" - 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}] + 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}] + ') " distutils_enable_tests pytest |