python-libzim
LOW
maintainer yochananmarqos
0 votes
scanned 2026-08-25 17:27:20.499711
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
2
pkgname=python-libzim
3
pkgver=3.12.0
4
pkgrel=1
5
pkgdesc="Libzim binding for Python: read/write ZIM files in Python"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/openzim/python-libzim"
8
license=('GPL-3.0-or-later')
9
depends=(
10
'libzim'
11
'python'
12
)
13
makedepends=(
14
'cython'
15
'python-build'
16
'python-installer'
17
'python-setuptools'
18
'python-wheel'
19
)
20
checkdepends=('python-pytest')
21
optdepends=('python-invoke')
22
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
23
sha256sums=('b1f92c3d12043b5ae581ead222feea5dd58637e1ee02c0cec52b6ee9f95f3874')
24
25
prepare() {
26
cd "$pkgname-$pkgver"
27
28
# Relax dependencies
29
sed -i 's/==/>=/g' pyproject.toml
30
}
31
32
build() {
33
cd "$pkgname-$pkgver"
34
export DONT_DOWNLOAD_LIBZIM=1
35
export USE_SYSTEM_LIBZIM=1
36
python -m build --wheel --no-isolation
37
}
38
39
check() {
40
cd "$pkgname-$pkgver"
41
python -m venv --clear --without-pip --system-site-packages test-env
42
test-env/bin/python -m installer dist/*.whl
43
test-env/bin/python -I -m pytest
44
}
45
46
package() {
47
cd "$pkgname-$pkgver"
48
python -m installer --destdir="$pkgdir" dist/*.whl
49
}
50
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-25 17:27:20 | Low | 1 |