python-quickjs-ng

LOW
maintainer etbusch 0 votes scanned 2026-10-30 13:56:02.430493
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: Eric Busch <me@etbus.ch>
2_name=quickjs_ng
3pkgname=python-quickjs-ng
4pkgver=0.17.0.2
5pkgrel=1
6pkgdesc="Thin Python wrapper of the quickjs-ng JavaScript engine."
7arch=('x86_64' 'aarch64')
8url="https://github.com/genotrance/quickjs-ng"
9license=('MIT')
10depends=('python' 'glibc')
11makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
12checkdepends=('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.
16source=("https://files.pythonhosted.org/packages/d6/a4/611b1c2e3a505dd66cc03fb6e5963f0550a09ef2bd7c51243a9237d64db8/$_name-$pkgver.tar.gz")
17sha256sums=('43d2e48272208721a7aaea8e3f02d4b9318f12ef20cc4f5421b59d9a470706ef')
18
19build() {
20 cd "$_name-$pkgver"
21 python -m build --wheel --no-isolation
22}
23
24check() {
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
32package() {
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)SeverityRules
2026-10-30 13:56:02 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