python-pygments-git
CLEAN
maintainer arkades
0 votes
scanned 2026-08-29 00:29:17.522988
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
6
pkgname=python-pygments-git
7
_pkgname=python-pygments
8
pkgver=0
9
pkgrel=1
10
pkgdesc="Python syntax highlighter (Git)"
11
arch=('any')
12
url="https://pygments.org/"
13
license=('BSD-2-Clause')
14
depends=('python')
15
makedepends=(
16
'python-build'
17
'python-hatchling'
18
'python-installer'
19
'python-setuptools'
20
'python-sphinx'
21
'python-wcag-contrast-ratio'
22
'python-wheel'
23
)
24
checkdepends=(
25
'python-lxml'
26
'python-pytest'
27
)
28
provides=('pygmentize')
29
conflicts=('pygmentize')
30
replaces=('pygmentize')
31
source=("git+https://github.com/pygments/${_pkgname#python-}.git")
32
b2sums=('SKIP')
33
34
build() {
35
cd ${_pkgname#python-}
36
python -m build --wheel --no-isolation
37
make -C doc html
38
}
39
40
check() {
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
47
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-29 00:29:17 | Clean | 2 |
| 2026-08-28 23:36:57 | Low | 1 |