sci-libs/huggingface_hub: new package, add 0.27.1

Signed-off-by: RarogCmex <denis7774@gmail.com>
This commit is contained in:
RarogCmex 2025-01-11 12:01:55 +05:00
parent f1a94f7b86
commit fa466fdadc
No known key found for this signature in database
GPG key ID: 8BF46C7A8BC53515
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,3 @@
DIST huggingface_hub-0.27.1.gh.tar.gz 4079456 BLAKE2B 846291aa9242e6951c26fd8f695a2f324899b473e01a582dc0fa9aad11e0bb30233761c5dd573876167913e4fe89c2616ab857892c08fa067eac11d7b2fb5228 SHA512 64d435a08765c67e3046370a4bc701da136570f3b23cdf1b5d35c679331694c8cb35ece72417f34f4288d035695d39e4ab6e1e1dce2fb33db42b3664258186cd
EBUILD huggingface_hub-0.27.1.ebuild 805 BLAKE2B 0652c80ff314196343328bd07aeca7f899ca89e08d6673309935315b40beb8287d7ae7ba5dabb5d0455525ffcfe81bd69cd82bfe306be2b78b52d352ae5e6931 SHA512 6db886ea620be06c1702671ebd48c4108069bc2c65cd2703d19af24c1348dbf38788258152f717f61d8e0fec95cd124f17a50b5652304f5768bb73d191df32d1
MISC metadata.xml 391 BLAKE2B 8a1d44063d1fb71930fc6d0cf1fd58ae6d965b879a9940c16f7d37d3ac6d4fff98f5943067e2afc343cbf287ce44b2ae9f5ba65641bcf5d66835212456f64f4e SHA512 75ef366c044f2c06a4b29603f86670220229d8f78f9ae6ad124c4fdad8c55f9f4e0414db6dad37747b4eea2ad2ba9025209a77f1612cacb1dc6722cacd6ffece

View file

@ -0,0 +1,31 @@
# Copyright 2023-2025 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="a client library to interact with the Hugging Face Hub"
HOMEPAGE="
https://pypi.org/project/huggingface_hub/
"
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" #Several modules not yet packaged
RDEPEND="
dev-python/filelock[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>denis7774@gmail.com</email>
<name>Denis Reva</name>
</maintainer>
<upstream>
<remote-id type="github">huggingface/huggingface_hub</remote-id>
<remote-id type="pypi">huggingface_hub</remote-id>
</upstream>
</pkgmetadata>