python-moderngl-git

LOW
maintainer groctel 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The pip install in check() installs only the built wheel and test dependencies like numpy and pytest, which are standard and expected for testing; no untrusted external packages are installed.

Triggered rules

Low pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums. Severity reduced: python-* packages routinely use pip.

  • PKGBUILD:53 pip install ./dist/*.whl numpy pytest scipy setuptools
Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The pip install in check() installs only the built wheel and test dependencies like numpy and pytest, which are standard and expected for testing; no untrusted external packages are installed.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Groctel <aur@taxorubio.com>
2# shellcheck disable=SC1091,SC2034,SC2154,SC2164
3
4_name=moderngl
5
6pkgname=python-moderngl-git
7pkgver=5.11.1.r0.g11d3e2ea
8pkgrel=1
9pkgdesc="Modern OpenGL binding for python."
10
11arch=("any")
12license=("MIT")
13url="https://github.com/moderngl/moderngl"
14
15source=("git+$url.git")
16sha512sums=('SKIP')
17
18options=(!emptydirs)
19conflicts=(python-moderngl)
20
21depends=(
22 "libgl"
23 "python"
24)
25makedepends=(
26 "git"
27 "python-build"
28 "python-installer"
29 "python-setuptools"
30 "python-wheel"
31)
32checkdepends=(
33 "python-virtualenv"
34)
35
36pkgver () {
37 cd "$srcdir/$_name"
38 git describe --long --tags | sed 's/^networkx-//;s/\([^-]*-g\)/r\1/;s/-/./g'
39}
40
41build () {
42 cd "$srcdir/$_name"
43 python -m build --wheel --no-isolation
44}
45
46check () {
47 cd "$srcdir/$_name"
48
49
50 python -m venv venv
51 (
52 source venv/bin/activate
53 pip install ./dist/*.whl numpy pytest scipy setuptools
54 python setup.py build_ext -i
55 python -m pytest
56 )
57 rm -rf venv
58}
59
60package () {
61 cd "$srcdir/$_name"
62 python -m installer --destdir="$pkgdir" dist/*.whl
63 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

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

0 / 4000
Your suggestion