diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-12-10 22:42:24 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-12-10 22:42:24 +0100 |
commit | 2c6903cbe39b8712439cfec88a74143c5a269f5e (patch) | |
tree | 5048debc73d5dee00b6a31660ab6f0fdf7e4c260 /sci-libs/transformers | |
parent | sci-libs/transformers: add 4.33.3 (diff) | |
download | gentoo-2c6903cbe39b8712439cfec88a74143c5a269f5e.tar.gz gentoo-2c6903cbe39b8712439cfec88a74143c5a269f5e.tar.bz2 gentoo-2c6903cbe39b8712439cfec88a74143c5a269f5e.zip |
sci-libs/transformers: add 4.34.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/transformers')
-rw-r--r-- | sci-libs/transformers/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/transformers/transformers-4.34.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest index d93161541e76..8170124a20b6 100644 --- a/sci-libs/transformers/Manifest +++ b/sci-libs/transformers/Manifest @@ -4,3 +4,4 @@ DIST transformers-4.30.2.gh.tar.gz 13946731 BLAKE2B 2831f413fb06e4210f59c8b56779 DIST transformers-4.31.0.gh.tar.gz 14219555 BLAKE2B cdda047b3b2e2e90db86fa9a4978fbafc9293d1d663982dae0494d0b6988054c03feca8ee64ca9988c2b7c3a4adbf65876872607dc0769b70c62762762fe2e6f SHA512 744cb15389a23228811f121add1154a4b569e7843fd4908763321a60fbbabd1c57c2f84835c4cfdabecd6fe8c1e88cc5e5f5ad65c9850d59439a2a5ad97a70bb DIST transformers-4.32.1.gh.tar.gz 14509309 BLAKE2B c87f3b6223894b4235cdbf02a75002b182824cbf6bbc426327f848d1f1cf595d73bbb7cc968327b9d9603e257c71a5a87b952f3cdd25834a7e5fd4f195bf5975 SHA512 73622f3f63ddc739bd87b17c6fb804b98eaf2ccb552e9952021aa3491b8b3af1f7aacc6e87271bd7f241acc8139730a1e1a148de6a7b31572f8588c0745dce61 DIST transformers-4.33.3.gh.tar.gz 14679862 BLAKE2B 1bee7405b911aec1939559a807690bbf9787543e42228bf1ed80d80912ef55747002a5010faa61d9d56c9d7b1a49f0b6b9bf2fdd1419f7108b52da0c48879278 SHA512 392d7b80a970a516f57cedc8269b100508f07e094698bd9462ff79bc4182c1ae8f1826fac083374d0d7d5368434263cf03d1e8e1ad0f1e77e068212d1e463cb0 +DIST transformers-4.34.1.gh.tar.gz 14985064 BLAKE2B 7bccc5c924d26c69a6d185265bdbb70fddd57f325d6cf586dd0fcf0f84890dabd653eb1e528668d5605c22349e5314344b6f0052b9a3fc35018d4ca9ca89f6cf SHA512 ed1703e63597f94a0782c1e74287735b306d0722437fb860f8badc7ae88c25f7bcdaacb381435643aba776ba5886fe1a676cc33f5d07d647711298bb797067dd diff --git a/sci-libs/transformers/transformers-4.34.1.ebuild b/sci-libs/transformers/transformers-4.34.1.ebuild new file mode 100644 index 000000000000..c74ee13c79fc --- /dev/null +++ b/sci-libs/transformers/transformers-4.34.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow" +HOMEPAGE=" + https://pypi.org/project/transformers/ + https://huggingface.co/ +" +SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +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}] +" + +distutils_enable_tests pytest |