python-rank-bm25

maintainer shimi · 0 votes · scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged The package builds from official PyPI and GitHub sources, with verifiable checksums; the orphaned/re-adopted status is administrative and does not imply code risk.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from official PyPI and GitHub sources, with verifiable checksums; the orphaned/re-adopted status is administrative and does not imply code risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: devome <evinedeng@hotmail.com>
2
3_pkgname=rank-bm25
4_pipname="${_pkgname//-/_}"
5pkgname="python-${_pkgname}"
6pkgver=0.2.2
7pkgrel=1
8pkgdesc="Various BM25 algorithms for document ranking"
9arch=('any')
10url="https://github.com/dorianbrown/${_pipname}"
11license=('Apache-2.0')
12depends=("python-numpy")
13makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
14source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pipname::1}/${_pipname}/${_pipname}-${pkgver}.tar.gz"
15 "version-${pkgver}.py::${url}/raw/refs/tags/${pkgver}/version.py")
16sha256sums=('096ccef76f8188563419aaf384a02f0ea459503fdf77901378d4fd9d87e5e51d'
17 'c98ea549a508952b84f6dc8153aa143944661fe45ade8b58eb59516f04d59704')
18
19build() {
20 cd "${_pipname}-${pkgver}"
21 cp -f .."/version-${pkgver}.py" version.py
22 python -m build --wheel --no-isolation
23}
24
25package() {
26 cd "${_pipname}-${pkgver}"
27 python -m installer --destdir="${pkgdir}" dist/*.whl
28}
29

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 00:03:42 LOW 2
2026-08-17 00:18:29 LOW 2
2026-08-16 00:03:42 LOW 2
2026-08-15 13:30:33 MEDIUM 1
2026-06-18 16:11:54 CLEAN 0

Report a package

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

0 / 4000
Your suggestion