python-hf-transfer
MEDIUM
maintainer Smoolak
2 votes
scanned 2026-10-19 09:25:06.082550
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Butui Hu <hot123tea123@gmail.com>
2
3
_pkgname=hf_transfer
4
pkgname=python-hf-transfer
5
pkgver=0.1.9
6
pkgrel=3
7
pkgdesc='Speed up file transfers with the Hugging Face Hub'
8
arch=('x86_64')
9
url='https://github.com/huggingface/hf_transfer'
10
license=('Apache-2.0')
11
depends=(
12
gcc-libs
13
glibc
14
openssl
15
python
16
)
17
makedepends=(
18
python-build
19
python-maturin
20
python-installer
21
python-wheel
22
)
23
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/huggingface/hf_transfer/archive/refs/tags/v${pkgver}.tar.gz")
24
sha512sums=('074801626fdf7bf9c83451f6d7567ef3f9cebc390ccf4724f1f3fdbb1d5f56e49d179ef7baecbd53d89b317c13ac6df7459ee47cb9a9f18aa23f52fbfba36a84')
25
26
build() {
27
cd "${_pkgname}-${pkgver}"
28
# use system openssl
29
OPENSSL_NO_VENDOR=1 \
30
python -m build --wheel --no-isolation
31
}
32
33
package() {
34
cd "${_pkgname}-${pkgver}"
35
python -m installer --destdir="${pkgdir}" dist/*.whl
36
}
37
# vim:set ts=2 sw=2 et:
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-19 09:25:06 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |