python-pyturbojpeg
LOW
maintainer Smoolak
0 votes
scanned 2026-11-01 18:01:05.785766
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
3
pkgname=python-pyturbojpeg
4
pkgver=2.6.1
5
pkgrel=1
6
pkgdesc="Python wrapper for libjpeg-turbo image encoding and decoding"
7
arch=('any')
8
url="https://github.com/lilohuang/PyTurboJPEG"
9
license=('MIT')
10
_commit=85bf75eeac0da88584e57ced17709b173684ccde
11
depends=('python' 'python-numpy' 'libjpeg-turbo>=3.0')
12
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
13
checkdepends=('python-pytest' 'python-pillow')
14
optdepends=('python-opencv: Display images with the module demonstration')
15
source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
16
sha256sums=('aaa894e0c2d684e092acc3d6cccf2be2c9f6276e082e8fc1b7061454a78f50f9')
17
18
build() {
19
cd "PyTurboJPEG-$_commit"
20
python -m build --wheel --no-isolation
21
}
22
23
check() {
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
29
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-11-01 18:01:05 | Low | 1 |