diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-04-12 10:40:02 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-04-12 10:40:21 +0200 |
commit | 57ebe9342940b88496b0a5bc4791cda43f5448d9 (patch) | |
tree | aed52ad96a719e3b8a637665cfad6bdda3e3f277 /sci-libs | |
parent | sys-kernel/installkernel-gentoo: Remove old (diff) | |
download | gentoo-57ebe9342940b88496b0a5bc4791cda43f5448d9.tar.gz gentoo-57ebe9342940b88496b0a5bc4791cda43f5448d9.tar.bz2 gentoo-57ebe9342940b88496b0a5bc4791cda43f5448d9.zip |
sci-libs/huggingface_hub: new package, add 0.13.4
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/huggingface_hub/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/huggingface_hub/huggingface_hub-0.13.4.ebuild | 22 | ||||
-rw-r--r-- | sci-libs/huggingface_hub/metadata.xml | 12 |
3 files changed, 35 insertions, 0 deletions
diff --git a/sci-libs/huggingface_hub/Manifest b/sci-libs/huggingface_hub/Manifest new file mode 100644 index 000000000000..864a1294e192 --- /dev/null +++ b/sci-libs/huggingface_hub/Manifest @@ -0,0 +1 @@ +DIST huggingface_hub-0.13.4.gh.tar.gz 325227 BLAKE2B 56ad70072ddd7f9878de4db45fffeb200032d71ba36fa2dc0e81d50a079a5ffa9ad80b3a71773a5fe466ac4522db7061fc7974149092d212278b8159d30e212b SHA512 6c07c1dc1a0c327ca463b7f366c265dfc7e55ed69592df5ad10f6d77956ac1dfe3e1f827a2df200f943da2f34a96ba4de1c395944b542e3d7142d925f60ad274 diff --git a/sci-libs/huggingface_hub/huggingface_hub-0.13.4.ebuild b/sci-libs/huggingface_hub/huggingface_hub-0.13.4.ebuild new file mode 100644 index 000000000000..29254fa42182 --- /dev/null +++ b/sci-libs/huggingface_hub/huggingface_hub-0.13.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +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 + +distutils_enable_tests pytest diff --git a/sci-libs/huggingface_hub/metadata.xml b/sci-libs/huggingface_hub/metadata.xml new file mode 100644 index 000000000000..ed22415e0eec --- /dev/null +++ b/sci-libs/huggingface_hub/metadata.xml @@ -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>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + <upstream> + <remote-id type="github">huggingface/huggingface_hub</remote-id> + <remote-id type="pypi">huggingface_hub</remote-id> + </upstream> +</pkgmetadata> |