public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/transformers/
Date: Mon,  7 Oct 2024 08:03:41 +0000 (UTC)	[thread overview]
Message-ID: <1728288179.4709dac3e97f8b74626b67f737aabbfe84fbf077.tupone@gentoo> (raw)

commit:     4709dac3e97f8b74626b67f737aabbfe84fbf077
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 08:01:54 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 08:02:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4709dac3

sci-libs/transformers: add 4.38.2

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/transformers/Manifest                   |  1 +
 sci-libs/transformers/transformers-4.38.2.ebuild | 39 ++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest
index ace196dbfd29..e668bdaae146 100644
--- a/sci-libs/transformers/Manifest
+++ b/sci-libs/transformers/Manifest
@@ -1 +1,2 @@
 DIST transformers-4.37.2.gh.tar.gz 16632049 BLAKE2B 22501598da911cb685598cb3b33e157ef091425c0c7478d05a0af396c182e8f776435d6b2fe708eaf2550ce6136f195ffac3b464f357ae8e023a030c218fcd3d SHA512 37bdf35e0774f7f26a19465b5e5c64709a85a1d001e01382996891173c59d6e31c1b536ef186b9d6a3dbe85e658ac3bf11f78e2e7f73c6d1d18992035afe3852
+DIST transformers-4.38.2.gh.tar.gz 16891664 BLAKE2B 5877ccecdb417d6cb552d1ae3bcc55fb698614f0c60f38b751cecf6465e3155e44639b34773044dd9befc1902ec19fae634f0f737f4be05e9ef85e4a0701f4d5 SHA512 1d826e0793df85395b00008a80dfe51f5c3e1fec7a607112b817a161dfc375fd20fce47a1c5aead0e9c735b6e23cfe4f8526a19060c19d6c4ee9c2a87b42e382

diff --git a/sci-libs/transformers/transformers-4.38.2.ebuild b/sci-libs/transformers/transformers-4.38.2.ebuild
new file mode 100644
index 000000000000..729e1ae55368
--- /dev/null
+++ b/sci-libs/transformers/transformers-4.38.2.ebuild
@@ -0,0 +1,39 @@
+# 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} )
+DISTUTILS_SINGLE_IMPL=1
+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="
+	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


             reply	other threads:[~2024-10-07  8:03 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07  8:03 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-17 21:10 [gentoo-commits] repo/gentoo:master commit in: sci-libs/transformers/ Alfredo Tupone
2025-02-17 21:09 Alfredo Tupone
2025-02-11 20:42 Alfredo Tupone
2025-02-07  5:57 Alfredo Tupone
2024-10-12 20:23 Alfredo Tupone
2024-10-11  7:03 Alfredo Tupone
2024-10-10 16:41 Alfredo Tupone
2024-10-09 20:17 Alfredo Tupone
2024-10-09 19:54 Alfredo Tupone
2024-10-07 12:05 Alfredo Tupone
2024-10-07  8:36 Alfredo Tupone
2024-10-07  8:13 Alfredo Tupone
2024-04-28 15:38 Alfredo Tupone
2024-04-28 13:18 Michał Górny
2024-04-28 10:05 Alfredo Tupone
2024-04-25 10:45 Alfredo Tupone
2024-04-14 13:03 Alfredo Tupone
2024-01-19 21:32 Alfredo Tupone
2023-12-31 10:51 Alfredo Tupone
2023-12-31 10:42 Alfredo Tupone
2023-12-10 21:42 Alfredo Tupone
2023-12-10 21:38 Alfredo Tupone
2023-12-10 21:24 Alfredo Tupone
2023-08-16 18:40 Alfredo Tupone
2023-08-13 16:05 Alfredo Tupone
2023-06-15 18:08 Alfredo Tupone
2023-05-27 13:45 Alfredo Tupone
2023-05-25 20:46 Alfredo Tupone
2023-04-13  6:40 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1728288179.4709dac3e97f8b74626b67f737aabbfe84fbf077.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox