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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8619415807A for ; Mon, 7 Oct 2024 08:14:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E64FE29A4; Mon, 7 Oct 2024 08:14:02 +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 77D67E29A4 for ; Mon, 7 Oct 2024 08:14:02 +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 B1716343102 for ; Mon, 7 Oct 2024 08:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEEBC1293 for ; Mon, 7 Oct 2024 08:13:59 +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: <1728288766.3dec1e82b607bf21e877aa574801fa0456ef2814.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.39.3.ebuild X-VCS-Directories: sci-libs/transformers/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 3dec1e82b607bf21e877aa574801fa0456ef2814 X-VCS-Branch: master Date: Mon, 7 Oct 2024 08:13:59 +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: 5f119b00-dae5-4de3-a0e4-74c56a742fe9 X-Archives-Hash: 3061e2d8f9c99885717811f114010583 commit: 3dec1e82b607bf21e877aa574801fa0456ef2814 Author: Alfredo Tupone gentoo org> AuthorDate: Mon Oct 7 08:12:46 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon Oct 7 08:12:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dec1e82 sci-libs/transformers: add 4.39.3 Signed-off-by: Alfredo Tupone gentoo.org> sci-libs/transformers/Manifest | 1 + sci-libs/transformers/transformers-4.39.3.ebuild | 39 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sci-libs/transformers/Manifest b/sci-libs/transformers/Manifest index e668bdaae146..9eccd9d67382 100644 --- a/sci-libs/transformers/Manifest +++ b/sci-libs/transformers/Manifest @@ -1,2 +1,3 @@ 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 +DIST transformers-4.39.3.gh.tar.gz 17957068 BLAKE2B 462930e13b764d78b77782faad5909e1195ec3636fbbf115504bb969704d7264561108f853b4496f0384a5d045c8552263c1c6817e6ab9cee939c2cfe62f07ca SHA512 05bda1a1f68e23857215ba20e2a8b0f63dcef75915e70eb02fef25fb7d92647bf79d9ff372f655b6547d2c639c35bc6c989be361589858fedfa76b4b651c9216 diff --git a/sci-libs/transformers/transformers-4.39.3.ebuild b/sci-libs/transformers/transformers-4.39.3.ebuild new file mode 100644 index 000000000000..729e1ae55368 --- /dev/null +++ b/sci-libs/transformers/transformers-4.39.3.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