python-peft

MEDIUM
maintainer Smoolak 0 votes scanned 2026-09-27 13:18:29.354985
View on AUR
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: Daniel Bershatsky <bepshatsky@yandex.ru>
2pkgname=python-peft
3_pkgname=${pkgname#python-}
4pkgver=0.17.1
5pkgrel=1
6pkgdesc='State-of-the-art Parameter-Efficient Fine-Tuning.'
7arch=('any')
8url='https://github.com/huggingface/peft'
9license=('Apache-2.0')
10groups=('huggingface')
11depends=(
12 'python-accelerate'
13 'python-huggingface-hub'
14 'python-numpy'
15 'python-packaging'
16 'python-psutil'
17 'python-pytorch'
18 'python-safetensors'
19 'python-tqdm'
20 'python-transformers'
21 'python-yaml'
22)
23makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
24optdepends=()
25source=("$_pkgname-$pkgver.tar.gz::https://github.com/huggingface/$_pkgname/archive/refs/tags/v$pkgver.tar.gz")
26sha256sums=('d9d8a31f757a777ab19839a33551389daa8e23c38b5bea5e47a56e274681d637')
27
28build() {
29 python -m build -nw $_pkgname-$pkgver
30}
31
32check() {
33 export PYTHONPATH=$srcdir/$_pkgname-$pkgver/src
34 python -c 'import peft'
35}
36
37package() {
38 cd $_pkgname-$pkgver
39 install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40 python -m installer --compile-bytecode=1 --destdir=$pkgdir \
41 dist/$_pkgname-$pkgver-py3-*-*.whl
42}
43

Scan history

Scanned at (UTC)SeverityRules
2026-09-27 13:18:29 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion