repo/gentoo:master commit in: sci-ml/hf_xet/
"Alfredo Tupone" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786019042.7c5ca8179cebc91e13ee169bdd0a4dc422045c6e.tupone@gentoo> |
commit: 7c5ca8179cebc91e13ee169bdd0a4dc422045c6e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 6 12:23:44 2026 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Aug 6 12:24:02 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5ca817
sci-ml/hf_xet: add 1.5.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/hf_xet/Manifest | 2 ++
sci-ml/hf_xet/hf_xet-1.5.2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/sci-ml/hf_xet/Manifest b/sci-ml/hf_xet/Manifest
index 5e1be9999b97..0be9b8a80969 100644
--- a/sci-ml/hf_xet/Manifest
+++ b/sci-ml/hf_xet/Manifest
@@ -1,2 +1,4 @@
DIST hf_xet-1.2.0-crates.tar.xz 39923180 BLAKE2B 829df449cdfc2371cfeaab4624cf22758b7f6fca409c88da93cf79983a7d00d78e421c29ad1d349f21f6137fa498978c4a2bc2a88fac9627a1f86bc19f25eef4 SHA512 de86a32774ae2810938f57cac69e772b5cbef55436548bf7c261b917fb9509b5de12805ed5da1449a0f4241b058c14d03f36ed0d93574f5fd398f20f44984cef
DIST hf_xet-1.2.0.gh.tar.gz 679128 BLAKE2B f54088890975e906ef63b5c54ff08d0f4fbbc67b8d5dd10360b97b5b20137553ccd5b8559d059fc19d193200c6f97d4a5d6ceabc8a28e4eddf5d7ce5018fc484 SHA512 75b6531349db8df0d25018950509d6859cfec14b7c11c7597f8cb1e001f37af274d6f7ab165a5425e145a3ad68a7ea1cc38fc2f69b7f52bbd80cb85101f606a4
+DIST hf_xet-1.5.2-crates.tar.xz 41859728 BLAKE2B df337824684e9f5523aff9499b19f94fb688da797aefafbc584c73d2ef3769107be4b04527842f2a2eed28f36c627be8d6d274cd5f7af11f90da5e91931aad9b SHA512 1af51f1e563108341256bafb54db3fe226d65eb372b9606b494ae3ea8d2f2e8f787abc890ddd809062bcc5de8cca5a77e9ad4c6a84af662bd6e050617dc97422
+DIST hf_xet-1.5.2.gh.tar.gz 1225622 BLAKE2B 7c75497bb792a686bda2123b43ea054dc36d73ba3fa22ff69f81556ce33cdb40156c03a165c8812359398a090cda10ccd3106f355d2fd5e48bb2ac522fd29e0f SHA512 567dffe455b6353bf392f1f485b8b7b3f95c62f4bbc3f4928d7039ffbee32993f4f53501111b15c757a39d2e3ac892b2384391f72346c4cb9f698df4f01ebf52
diff --git a/sci-ml/hf_xet/hf_xet-1.5.2.ebuild b/sci-ml/hf_xet/hf_xet-1.5.2.ebuild
new file mode 100644
index 000000000000..cc8d8c5492cb
--- /dev/null
+++ b/sci-ml/hf_xet/hf_xet-1.5.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.15.3
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{11..15} )
+RUST_MIN_VER="1.89.0"
+
+CRATES=""
+
+inherit cargo distutils-r1
+
+DESCRIPTION="xet client tech, used in huggingface_hub"
+HOMEPAGE="https://github.com/huggingface/xet-core"
+SRC_URI="https://github.com/huggingface/xet-core/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+if [[ ${PKGBUMPING} != ${PVR} ]]; then
+ SRC_URI+="https://dev.gentoo.org/~tupone/distfiles/${P}-crates.tar.xz"
+fi
+S="${WORKDIR}"/xet-core-${PV}/hf_xet
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CDDL
+ CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+src_configure() {
+ cargo_src_configure
+ distutils-r1_src_configure
+}
+
+src_compile() {
+ cargo_src_compile
+ distutils-r1_src_compile
+}
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest