Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages /
xet-core
Commits:
4c2a3697 by Jakub Klinkovský at 2026-02-20T19:59:37+01:00
Add patch to fix build with current maturin version
- - - - -
3ef1b2e1 by Jakub Klinkovský at 2026-02-20T20:01:16+01:00
upgpkg: 1.2.0-3: Replace deprecated gcc-libs dependency
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = xet-core
pkgdesc = xet client tech, used in Huggingface Hub
pkgver = 1.2.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/huggingface/xet-core
arch = x86_64
license = Apache-2.0
@@ -10,11 +10,13 @@ pkgbase = xet-core
makedepends = python-installer
makedepends = openssl
source =
xet-core-1.2.0.tar.gz::https://github.com/huggingface/xet-core/archive/refs/tags/v1.2.0.tar.gz
+ source =
xet-core-pyproject.patch::https://github.com/huggingface/xet-core/commit/4b8ed4b85b068518f2bc85aa9330b6bf0c9242f2.patch
b2sums =
f54088890975e906ef63b5c54ff08d0f4fbbc67b8d5dd10360b97b5b20137553ccd5b8559d059fc19d193200c6f97d4a5d6ceabc8a28e4eddf5d7ce5018fc484
+ b2sums =
b770660d35af862290c8ec9141a1b98b5dbac68737677e8b7bfa07ecb635ee8d33927b3b47f81575a782fe615ee5b01a73034360c06b2e666eb5b33043a90f76
pkgname = python-hf-xet
- depends = gcc-libs
depends = glibc
+ depends = libgcc
depends = openssl
depends = libssl.so
depends = libcrypto.so
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgbase=xet-core
pkgname=(python-hf-xet)
pkgver=1.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="xet client tech, used in Huggingface Hub"
arch=(x86_64)
url=https://github.com/huggingface/xet-core
@@ -14,12 +14,17 @@ makedepends=(
python-installer
openssl
)
-source=($pkgbase-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
-b2sums=('f54088890975e906ef63b5c54ff08d0f4fbbc67b8d5dd10360b97b5b20137553ccd5b8559d059fc19d193200c6f97d4a5d6ceabc8a28e4eddf5d7ce5018fc484')
+source=($pkgbase-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz
+
$pkgbase-pyproject.patch::https://github.com/huggingface/xet-core/commit/4b8ed4b85b068518f2bc85aa9330b6bf0c9242f2.patch)
+b2sums=('f54088890975e906ef63b5c54ff08d0f4fbbc67b8d5dd10360b97b5b20137553ccd5b8559d059fc19d193200c6f97d4a5d6ceabc8a28e4eddf5d7ce5018fc484'
+
'b770660d35af862290c8ec9141a1b98b5dbac68737677e8b7bfa07ecb635ee8d33927b3b47f81575a782fe615ee5b01a73034360c06b2e666eb5b33043a90f76')
prepare() {
cd $pkgbase-$pkgver
cargo fetch --locked --target "$(rustc --print host-tuple)"
+
+ # Fix build https://github.com/huggingface/xet-core/pull/659
+ patch -p1 < ../$pkgbase-pyproject.patch
}
build() {
@@ -51,8 +56,8 @@ build() {
package_python-hf-xet() {
depends=(
- gcc-libs
glibc
+ libgcc
openssl libssl.so libcrypto.so
python
)
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/xet-core/-/compare/19f05a832b66ec3a30a59e9cc8e75408207b0f06...3ef1b2e1957c16e5de5a91da16ff1d9100f25d6c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/xet-core/-/compare/19f05a832b66ec3a30a59e9cc8e75408207b0f06...3ef1b2e1957c16e5de5a91da16ff1d9100f25d6c
You're receiving this email because of your account on gitlab.archlinux.org.