python-quickjs-ng
LOW
maintainer etbusch
0 votes
scanned 2026-10-30 13:56:02.430493
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: Eric Busch <me@etbus.ch>
2
_name=quickjs_ng
3
pkgname=python-quickjs-ng
4
pkgver=0.17.0.2
5
pkgrel=1
6
pkgdesc="Thin Python wrapper of the quickjs-ng JavaScript engine."
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/genotrance/quickjs-ng"
9
license=('MIT')
10
depends=('python' 'glibc')
11
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
12
checkdepends=('python-pytest')
13
# The sdist vendors the quickjs-ng engine sources (upstream-quickjs/) and
14
# compiles them into the _quickjs extension, so it doesn't link against
15
# extra/quickjs-ng. Installs as the top-level `quickjs` module.
16
source=("https://files.pythonhosted.org/packages/d6/a4/611b1c2e3a505dd66cc03fb6e5963f0550a09ef2bd7c51243a9237d64db8/$_name-$pkgver.tar.gz")
17
sha256sums=('43d2e48272208721a7aaea8e3f02d4b9318f12ef20cc4f5421b59d9a470706ef')
18
19
build() {
20
cd "$_name-$pkgver"
21
python -m build --wheel --no-isolation
22
}
23
24
check() {
25
cd "$_name-$pkgver"
26
rm -rf test-env
27
python -m installer --destdir=test-env dist/*.whl
28
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
29
PYTHONPATH="$PWD/test-env/$site_packages" python -m pytest -q tests
30
}
31
32
package() {
33
cd "$_name-$pkgver"
34
python -m installer --destdir="$pkgdir" dist/*.whl
35
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36
}
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 13:56:02 | Low | 1 |