python-pygments-git

CLEAN
maintainer arkades 0 votes scanned 2026-08-29 00:29:17.522988
View on AUR

Triggered rules

Clean AI review downgraded a static finding llm_review

The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from the official project Git repository, uses standard Python build tools, and installs only the project's own code and documentation; the low vote count and recent upload are not indicators of malicious intent.

1 higher static finding superseded - not the current verdict (shown for transparency)
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: Dominik Kummer <admin@arkades.org>
2# Contributor: Evangelos Foutras <foutrelis@archlinux.org>
3# Contributor: Carl Smedstad <carsme@archlinux.org>
4# Contributor: Timm Preetz <timm@preetz.us>
5
6pkgname=python-pygments-git
7_pkgname=python-pygments
8pkgver=0
9pkgrel=1
10pkgdesc="Python syntax highlighter (Git)"
11arch=('any')
12url="https://pygments.org/"
13license=('BSD-2-Clause')
14depends=('python')
15makedepends=(
16 'python-build'
17 'python-hatchling'
18 'python-installer'
19 'python-setuptools'
20 'python-sphinx'
21 'python-wcag-contrast-ratio'
22 'python-wheel'
23)
24checkdepends=(
25 'python-lxml'
26 'python-pytest'
27)
28provides=('pygmentize')
29conflicts=('pygmentize')
30replaces=('pygmentize')
31source=("git+https://github.com/pygments/${_pkgname#python-}.git")
32b2sums=('SKIP')
33
34build() {
35 cd ${_pkgname#python-}
36 python -m build --wheel --no-isolation
37 make -C doc html
38}
39
40check() {
41 cd ${_pkgname#python-}
42 python -m venv --system-site-packages test-env
43 test-env/bin/python -m installer dist/*.whl
44 test-env/bin/python -m pytest
45}
46
47package() {
48 cd ${_pkgname#python-}
49 python -m installer --destdir="$pkgdir" dist/*.whl
50 install -vDm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
51
52 mkdir -vp "$pkgdir/usr/share/doc"
53 cp -vrT doc/_build/html "$pkgdir/usr/share/doc/$pkgname"
54 install -vDm644 doc/pygmentize.1 -t "$pkgdir/usr/share/man/man1"
55 install -vDm644 external/pygments.bashcomp \
56 "$pkgdir/usr/share/bash-completion/completions/pygmentize"
57}
58
59# vim:set ts=2 sw=2 et:
60

Scan history

Scanned at (UTC)SeverityRules
2026-08-29 00:29:17 Clean 2
2026-08-28 23:36:57 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