diff options
Diffstat (limited to 'sci-ml')
-rw-r--r-- | sci-ml/Manifest.gz | bin | 5239 -> 5238 bytes | |||
-rw-r--r-- | sci-ml/huggingface_hub/Manifest | 4 | ||||
-rw-r--r-- | sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild | 74 | ||||
-rw-r--r-- | sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild | 76 |
4 files changed, 154 insertions, 0 deletions
diff --git a/sci-ml/Manifest.gz b/sci-ml/Manifest.gz Binary files differindex 632bbd237a40..098d1c260aa3 100644 --- a/sci-ml/Manifest.gz +++ b/sci-ml/Manifest.gz diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest index b524c362de73..ff871f62bd07 100644 --- a/sci-ml/huggingface_hub/Manifest +++ b/sci-ml/huggingface_hub/Manifest @@ -1,5 +1,9 @@ DIST huggingface_hub-0.27.1.gh.tar.gz 4079456 BLAKE2B 846291aa9242e6951c26fd8f695a2f324899b473e01a582dc0fa9aad11e0bb30233761c5dd573876167913e4fe89c2616ab857892c08fa067eac11d7b2fb5228 SHA512 64d435a08765c67e3046370a4bc701da136570f3b23cdf1b5d35c679331694c8cb35ece72417f34f4288d035695d39e4ab6e1e1dce2fb33db42b3664258186cd DIST huggingface_hub-0.28.1.gh.tar.gz 6559176 BLAKE2B 30c465d7e844dadf4d3154bdb440bcac4296860518e38ae607994e5f7e6642c2e2b94d755faf48e2d129f621275df55819903723113f1bd76bbd3b61c0f49dcc SHA512 3893cac7540d0cc8be65047c1b6798f3d39592070a9be5a86b5f44464cc66d2f12b2a3f0c5c5a12b96a624f128e1160bda1c45c814d2acae294f1484929ec11c +DIST huggingface_hub-0.29.3.gh.tar.gz 7184631 BLAKE2B 96f3e0e6584c506b3c177ac848edcc9f544950b371a4023bef63efe1c0f74c1a71317ece3acd0d170484eb1d83f43dfd1cfadf3e0c5e5e86ed3b6e6574e25d98 SHA512 22bdf8de5db80fb4242f9d5ddc2256ac0e894727b03614f54500f01bfe1df109e92307356e6e1007d3dd7f8b5dcb3902aa41ac59cc59d769c454bd3ded0213d0 +DIST huggingface_hub-0.30.2.gh.tar.gz 7246628 BLAKE2B b423b437654708bef2e609c0dc6c48f286db8c9a8cacc517d2a4d32b44f083674955b0ab0f98206b8042ece4c244c02de529a41995a1502da1d792c1f8f56f7e SHA512 c50000066a9522fec9096ec00ff94d891a74ccf2e36507c52cf08c55c2f174e9dfcb383436ff03f64fa4ee0b4c3d00088db3e8fefbc9f2aaa30c20e5fe48e931 EBUILD huggingface_hub-0.27.1.ebuild 2090 BLAKE2B aaf70ecfc27fd13a534de3d721c2a3b21269452328a68463c3666b1a1434b9ac2b63930c435a26c06a5b628774b99835fba3f60f2eada150ee95b53a1b37b541 SHA512 d2b2cd492dea1f3cf35a1b6922d6f36f8518af54d6fc858c9c979285a812beb0463c1900bffe78508ed83481e0c010adaff920940b112072a43ecffd386360ed EBUILD huggingface_hub-0.28.1.ebuild 2137 BLAKE2B 35f4e5a7da503ece8b0451c3345800d623868489fb738f15c325d6b0b9858bff6c3f2a179b2899c86add8b49994ce3c32b69102a8370f1f2b771eb639ecd27c2 SHA512 1a6da5f91ecbd9082ad0e81999511bdc83629f5aa344e80b3cb41d6a613392cec355793b1c149557ae216ee06d7a595a7ef6585a37d4978f986652c305e3f7f6 +EBUILD huggingface_hub-0.29.3.ebuild 2027 BLAKE2B ec7671e02741462d63a20424eda876f9c18f58a5ec9745bfd41d909a5b9da973a1bcb9a334f42a640eb633cf0fda33158438e40360a31950360866bf25c66a57 SHA512 73e61f3af2aaff6be4c9fa1789924ffe9cd4182daff52bce83f49d2199525686f5cc7cd2860e37612d1ac48f392c63f40d22b76cb0012d2bf80d6d9d56488531 +EBUILD huggingface_hub-0.30.2.ebuild 2083 BLAKE2B 8b83cfe2562cc26d0961c5395d72e60ef1aa9b0b02fc9741dd674d92223bb7e9ae442aab7ead8bf801bb0da4fc54b5e8f01dab66adc9ac21c7945a41e6f3921a SHA512 9cf759fcaf6feea20000449dc046d2f03dab0b2e79d21183ae794f42ca5d413e27d67d040c85927eb3a7ed9fa470182bb3e500d7a8a05030600d2255ca357649 MISC metadata.xml 393 BLAKE2B 1703224359804943e921acb978be119c5ae48c6dae23177d9ba2a4b843a1f8cf10487c7dfc5af83600bb98f1443cb5d3cdad1d48ddc5db7117ebb3092af5fe44 SHA512 74ac25236d7cd4b169ec6281480b140e25f0b2579998ca441eb2ab5c070ed87690c49b7af1bb7b83d8782685c18dc3d2cd5f7ef27e8a51fa8863badc58214461 diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild new file mode 100644 index 000000000000..9145aef77aa4 --- /dev/null +++ b/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild @@ -0,0 +1,74 @@ +# 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_{10..13} ) +DISTUTILS_SINGLE_IMPL=1 +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" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ') +" + +BDEPEND="test? ( + sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] + dev-vcs/git-lfs + )" + +distutils_enable_tests pytest + +src_test() { + local EPYTEST_IGNORE=( + contrib + tests/test_cache_layout.py + tests/test_cache_no_symlinks.py + tests/test_command_delete_cache.py + tests/test_commit_scheduler.py + tests/test_file_download.py + tests/test_hf_api.py + tests/test_hf_file_system.py + tests/test_inference_api.py + tests/test_inference_async_client.py + tests/test_inference_client.py + tests/test_inference_text_generation.py + tests/test_repocard.py + tests/test_repository.py + tests/test_snapshot_download.py + tests/test_utils_cache.py + tests/test_utils_http.py + tests/test_utils_telemetry.py + tests/test_webhooks_server.py + ) + + local EPYTEST_DESELECT=( + tests/test_dduf.py::TestExportFolder::test_export_folder + tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub + tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub + tests/test_offline_utils.py::test_offline_with_timeout + tests/test_utils_pagination.py::TestPagination::test_paginate_github_api + tests/test_fastai_integration.py::TestFastaiUtils::test_push_to_hub_and_from_pretrained_fastai + ) + + distutils-r1_src_test +} diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild new file mode 100644 index 000000000000..dd37fc37b740 --- /dev/null +++ b/sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild @@ -0,0 +1,76 @@ +# 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_{10..13} ) +DISTUTILS_SINGLE_IMPL=1 +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" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ') +" + +BDEPEND="test? ( + sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] + dev-vcs/git-lfs + )" + +distutils_enable_tests pytest + +src_test() { + local EPYTEST_IGNORE=( + contrib + tests/test_cache_layout.py + tests/test_cache_no_symlinks.py + tests/test_command_delete_cache.py + tests/test_commit_scheduler.py + tests/test_file_download.py + tests/test_hf_api.py + tests/test_hf_file_system.py + tests/test_inference_api.py + tests/test_inference_async_client.py + tests/test_inference_client.py + tests/test_inference_text_generation.py + tests/test_repocard.py + tests/test_repository.py + tests/test_snapshot_download.py + tests/test_xet_download.py + tests/test_xet_upload.py + tests/test_utils_cache.py + tests/test_utils_http.py + tests/test_utils_telemetry.py + tests/test_webhooks_server.py + ) + + local EPYTEST_DESELECT=( + tests/test_dduf.py::TestExportFolder::test_export_folder + tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub + tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub + tests/test_offline_utils.py::test_offline_with_timeout + tests/test_utils_pagination.py::TestPagination::test_paginate_github_api + tests/test_fastai_integration.py::TestFastaiUtils::test_push_to_hub_and_from_pretrained_fastai + ) + + distutils-r1_src_test +} |