python-pyturbojpeg

LOW
maintainer Smoolak 0 votes scanned 2026-11-01 18:01:05.785766
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: Smoolak <smoolak@gmail.com>
2
3pkgname=python-pyturbojpeg
4pkgver=2.6.1
5pkgrel=1
6pkgdesc="Python wrapper for libjpeg-turbo image encoding and decoding"
7arch=('any')
8url="https://github.com/lilohuang/PyTurboJPEG"
9license=('MIT')
10_commit=85bf75eeac0da88584e57ced17709b173684ccde
11depends=('python' 'python-numpy' 'libjpeg-turbo>=3.0')
12makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
13checkdepends=('python-pytest' 'python-pillow')
14optdepends=('python-opencv: Display images with the module demonstration')
15source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
16sha256sums=('aaa894e0c2d684e092acc3d6cccf2be2c9f6276e082e8fc1b7061454a78f50f9')
17
18build() {
19 cd "PyTurboJPEG-$_commit"
20 python -m build --wheel --no-isolation
21}
22
23check() {
24 cd "PyTurboJPEG-$_commit"
25 TURBOJPEG_LIB_PATH=/usr/lib/libturbojpeg.so \
26 python -m pytest -v tests --junitxml="$srcdir/pytest-results.xml"
27}
28
29package() {
30 cd "PyTurboJPEG-$_commit"
31 python -m installer --destdir="$pkgdir" dist/*.whl
32 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33}
34

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 18:01:05 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