python-wonderwords

CLEAN
maintainer Smoolak 0 votes scanned 2026-09-21 00:26:32.109917
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 source hosted on the project's official GitHub repository, uses standard Python build tools, and includes reasonable checks; the low-vote and recent upload are not indicative 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: Smoolak <smoolak@gmail.com>
2
3pkgname=python-wonderwords
4_pkgname=wonderwords
5_upstream=wonderwordsmodule
6pkgver=3.0.1
7pkgrel=1
8pkgdesc='Generate random English words and sentences'
9arch=('any')
10url='https://github.com/mrmaxguns/wonderwordsmodule'
11license=('MIT')
12depends=('python')
13makedepends=(
14 'python-build'
15 'python-installer'
16 'python-setuptools'
17 'python-setuptools-scm'
18 'python-wheel'
19)
20checkdepends=(
21 'python-pytest'
22 'python-rich'
23)
24optdepends=('python-rich: command-line interface')
25source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
26sha256sums=('65a5bfd85060e8982b13afa401500afb4116d3b89d519c79c34621fde6b799cd')
27
28build() {
29 cd "$_upstream-$pkgver"
30 SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" \
31 python -m build --wheel --no-isolation
32}
33
34check() {
35 local _checkroot="$srcdir/_check" _site _staged
36 rm -rf "$_checkroot"
37 python -m installer --destdir="$_checkroot" \
38 "$_upstream-$pkgver"/dist/*.whl
39 _site=$(python -c 'import site; print(site.getsitepackages()[0])')
40 _staged="$_checkroot$_site"
41 mkdir -p "$_checkroot/suite"
42 cp -a "$_upstream-$pkgver/tests" "$_checkroot/suite/"
43
44 cd "$_checkroot/suite"
45 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH="$_staged" \
46 python -P -m pytest -ra --import-mode=importlib tests
47
48 PYTHONPATH="$_staged" python -P - <<'PY'
49from wonderwords import RandomSentence, RandomWord, __version__
50
51assert __version__ == "3.0.1"
52words = RandomWord().filter(starts_with="mana")
53assert {"manage", "manager", "management"} <= set(words)
54sentence = RandomSentence(
55 nouns=["builder"], verbs=["test"], adjectives=["careful"]
56).sentence()
57assert sentence.endswith(".") and "builder" in sentence.lower()
58print("Wonderwords staged API workflow passed")
59PY
60 PYTHONPATH="$_staged" python -P -m wonderwords --version | \
61 grep -Fx "Wonderwords $pkgver"
62}
63
64package() {
65 cd "$_upstream-$pkgver"
66 python -m installer --destdir="$pkgdir" dist/*.whl
67 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
68}
69

Scan history

Scanned at (UTC)SeverityRules
2026-09-21 00:26:32 Clean 2
2026-09-20 23:33:19 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