From 632b049522c573f0f21362c280090dcf5959b3ae Mon Sep 17 00:00:00 2001
From: Alfredo Tupone <tupone@gentoo.org>
Date: Thu, 25 Apr 2024 12:44:12 +0200
Subject: sci-libs/transformers: add 4.36.2 remove old

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
---
 sci-libs/transformers/Manifest                     |  3 +-
 .../transformers/transformers-4.34.1-r1.ebuild     | 36 ----------------------
 sci-libs/transformers/transformers-4.35.2.ebuild   | 36 ----------------------
 sci-libs/transformers/transformers-4.36.2.ebuild   | 36 ++++++++++++++++++++++
 4 files changed, 37 insertions(+), 74 deletions(-)
 delete mode 100644 sci-libs/transformers/transformers-4.34.1-r1.ebuild
 delete mode 100644 sci-libs/transformers/transformers-4.35.2.ebuild
 create mode 100644 sci-libs/transformers/transformers-4.36.2.ebuild

(limited to 'sci-libs')

diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest
index 3065b80adec1..67683244b7fe 100644
--- a/sci-libs/transformers/Manifest
+++ b/sci-libs/transformers/Manifest
@@ -1,2 +1 @@
-DIST transformers-4.34.1.gh.tar.gz 14985064 BLAKE2B 7bccc5c924d26c69a6d185265bdbb70fddd57f325d6cf586dd0fcf0f84890dabd653eb1e528668d5605c22349e5314344b6f0052b9a3fc35018d4ca9ca89f6cf SHA512 ed1703e63597f94a0782c1e74287735b306d0722437fb860f8badc7ae88c25f7bcdaacb381435643aba776ba5886fe1a676cc33f5d07d647711298bb797067dd
-DIST transformers-4.35.2.gh.tar.gz 15700171 BLAKE2B 4a22810aa0fc4b0fc032bc1392669eb254c93a23a9b71d997be16cb3da3ef35c66117e58d30f28882b484c5cddf33e41910196d443aba04003146ea00703cee2 SHA512 1ba232f48cfb572a9576b32cfc47c1941137aed08c18759c86f60e58424b6733484e85e73ad214bde2d020ddaa269ed0496dddd945d68f2bfa520017d8f94447
+DIST transformers-4.36.2.gh.tar.gz 16379041 BLAKE2B 3cd8dd9949e97971cf116e79327782a59a98df58ffeebafd4cf37009e805f8c332dd9739f1c6f5f627db0c7cc7a286329727740a6b5d701b05d0dc5201ce985d SHA512 e2f07f49f7ad0141dbb1ad594e7e1e0ab91c0b199d7f63e8396f4d6b58dbcf8f9004b9e809ad641950a9616d7755f0cd21fa332f47cbb9606a346a0184baa7b5
diff --git a/sci-libs/transformers/transformers-4.34.1-r1.ebuild b/sci-libs/transformers/transformers-4.34.1-r1.ebuild
deleted file mode 100644
index 482c1835adb8..000000000000
--- a/sci-libs/transformers/transformers-4.34.1-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
-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
diff --git a/sci-libs/transformers/transformers-4.35.2.ebuild b/sci-libs/transformers/transformers-4.35.2.ebuild
deleted file mode 100644
index d115e34a5797..000000000000
--- a/sci-libs/transformers/transformers-4.35.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-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
diff --git a/sci-libs/transformers/transformers-4.36.2.ebuild b/sci-libs/transformers/transformers-4.36.2.ebuild
new file mode 100644
index 000000000000..d115e34a5797
--- /dev/null
+++ b/sci-libs/transformers/transformers-4.36.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+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
-- 
cgit v1.2.3-65-gdbad