From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A517A158046 for ; Wed, 9 Oct 2024 19:54:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8FF18E29EF; Wed, 9 Oct 2024 19:54:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7876FE29EF for ; Wed, 9 Oct 2024 19:54:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D1B23431C4 for ; Wed, 9 Oct 2024 19:54:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78C56B36 for ; Wed, 9 Oct 2024 19:54:38 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1728503632.93a83605e3a1d99d2e9c59f73951377e08d52cd5.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/transformers/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/transformers/Manifest sci-libs/transformers/transformers-4.41.2.ebuild X-VCS-Directories: sci-libs/transformers/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 93a83605e3a1d99d2e9c59f73951377e08d52cd5 X-VCS-Branch: master Date: Wed, 9 Oct 2024 19:54:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ac305b11-d685-45df-81b3-d217ef41279c X-Archives-Hash: 410d69cc6d351069a39362110163a479 commit: 93a83605e3a1d99d2e9c59f73951377e08d52cd5 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Oct 9 19:53:09 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Oct 9 19:53:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a83605 sci-libs/transformers: add 4.41.2 Signed-off-by: Alfredo Tupone gentoo.org> sci-libs/transformers/Manifest | 1 + sci-libs/transformers/transformers-4.41.2.ebuild | 39 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest index 702812166274..7d640e94f56b 100644 --- a/sci-libs/transformers/Manifest +++ b/sci-libs/transformers/Manifest @@ -1 +1,2 @@ DIST transformers-4.40.2.gh.tar.gz 18236908 BLAKE2B f62bdd15b98fb8b4ae7adbe497ad2ab33bf19acab10017aaf8df38832a3e3981aa72c0a21a91712125ba9981c829deff626092f3c43733d580e032a85e3ddd7f SHA512 f1c471c471e31672b4923e6a3cecf31cd1ea2ad7b3b3c520fd93d200d4d21f1dddd993eb29ef58ba137a9e4fbcfd48a00b61243c1c7566b68385f32ede8ee42c +DIST transformers-4.41.2.gh.tar.gz 17879625 BLAKE2B 7e4621bd47d4d58b2c082ea305018f285d4aa5a28776dd577372bab5553c49268602d321495af0a086fb66fbf7e757a10a78705a75bd2d487320aa3d982727a2 SHA512 8c410402b89426685baa408720da69db7faebc5477122773c3eed5c14dbb55f30b9dc459c24de5c74d7e1a85f43c3415262761efe62ad74ef80dad936b5447c5 diff --git a/sci-libs/transformers/transformers-4.41.2.ebuild b/sci-libs/transformers/transformers-4.41.2.ebuild new file mode 100644 index 000000000000..afe16f800ffc --- /dev/null +++ b/sci-libs/transformers/transformers-4.41.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-0.19*[${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