python-libzim

LOW
maintainer yochananmarqos 0 votes scanned 2026-08-25 17:27:20.499711
View on AUR
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>
2pkgname=python-libzim
3pkgver=3.12.0
4pkgrel=1
5pkgdesc="Libzim binding for Python: read/write ZIM files in Python"
6arch=('x86_64' 'aarch64')
7url="https://github.com/openzim/python-libzim"
8license=('GPL-3.0-or-later')
9depends=(
10 'libzim'
11 'python'
12)
13makedepends=(
14 'cython'
15 'python-build'
16 'python-installer'
17 'python-setuptools'
18 'python-wheel'
19)
20checkdepends=('python-pytest')
21optdepends=('python-invoke')
22source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
23sha256sums=('b1f92c3d12043b5ae581ead222feea5dd58637e1ee02c0cec52b6ee9f95f3874')
24
25prepare() {
26 cd "$pkgname-$pkgver"
27
28 # Relax dependencies
29 sed -i 's/==/>=/g' pyproject.toml
30}
31
32build() {
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
39check() {
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
46package() {
47 cd "$pkgname-$pkgver"
48 python -m installer --destdir="$pkgdir" dist/*.whl
49}
50

Scan history

Scanned at (UTC)SeverityRules
2026-08-25 17:27:20 Low 1

Report a package

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

0 / 4000
Your suggestion