python-tree-sitter-bash

LOW
maintainer rubin55 0 votes scanned 2026-09-09 00:04:09.106193
View on AUR
Why flagged

The package builds from the official source repository over git, which is a normal and safe practice for AUR packages; the low severity is due to few votes and recent upload, not due to any malicious or risky behavior in the PKGBUILD.

Triggered rules

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the official source repository over git, which is a normal and safe practice for AUR packages; the low severity is due to few votes and recent upload, not due to any malicious or risky behavior in the PKGBUILD.

PKGBUILD

1# Maintainer: Rubin Simons <me@rubin55.org>
2
3_pkgname=tree-sitter-bash
4pkgname=python-${_pkgname}
5pkgver=0.25.1
6pkgrel=2
7pkgdesc='Bash grammar for tree-sitter'
8arch=('x86_64')
9url='https://github.com/tree-sitter/tree-sitter-bash'
10license=('MIT')
11depends=(
12 'python'
13 'python-tree-sitter'
14)
15makedepends=(
16 'git'
17 'python-build'
18 'python-installer'
19 'python-setuptools'
20 'python-wheel'
21)
22checkdepends=(
23 'python-pytest'
24)
25source=("git+${url}.git#tag=v${pkgver}")
26sha256sums=('SKIP')
27
28build() {
29 cd "${_pkgname}"
30 python -m build --wheel --no-isolation
31}
32
33check() {
34 cd "${_pkgname}"
35 local _site
36 _site="$(python -c 'import sysconfig; print(sysconfig.get_path("purelib"))')"
37 python -m installer --destdir="${srcdir}/tmp_install" dist/*.whl
38 PYTHONPATH="${srcdir}/tmp_install${_site}" python -m pytest bindings/python/tests -v
39}
40
41package() {
42 cd "${_pkgname}"
43 python -m installer --destdir="${pkgdir}" dist/*.whl
44 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
45}
46

Changes since previous scan

--- PKGBUILD @ 2026-07-20 19:14
+++ PKGBUILD @ 2026-09-09 00:04
@@ -1,25 +1,46 @@
-# shellcheck shell=bash disable=SC2034,SC2154
-# Maintainer: Wu Zhenyu <wuzhenyu@ustc.edu>
-_name=tree-sitter-bash
-pkgname=python-$_name
+# Maintainer: Rubin Simons <me@rubin55.org>
+
+_pkgname=tree-sitter-bash
+pkgname=python-${_pkgname}
pkgver=0.25.1
-pkgrel=1
-pkgdesc="bash grammar for tree-sitter"
-arch=(i686 x86_64 arm aarch64)
-url=https://github.com/tree-sitter/tree-sitter-bash
-depends=(python-tree-sitter)
-makedepends=(python-installer)
-license=(MIT)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
-sha256sums=('bfc0bdaa77bc1e86e3c6652e5a6e140c40c0a16b84185c2b63ad7cd809b88f14')
+pkgrel=2
+pkgdesc='Bash grammar for tree-sitter'
+arch=('x86_64')
+url='https://github.com/tree-sitter/tree-sitter-bash'
+license=('MIT')
+depends=(
+ 'python'
+ 'python-tree-sitter'
+)
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-setuptools'
+ 'python-wheel'
+)
+checkdepends=(
+ 'python-pytest'
+)
+source=("git+${url}.git#tag=v${pkgver}")
+sha256sums=('SKIP')
build() {
- cd "${_name//-/_}-$pkgver" || exit
- uv build --wheel --no-build-isolation
+ cd "${_pkgname}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${_pkgname}"
+ local _site
+ _site="$(python -c 'import sysconfig; print(sysconfig.get_path("purelib"))')"
+ python -m installer --destdir="${srcdir}/tmp_install" dist/*.whl
+ PYTHONPATH="${srcdir}/tmp_install${_site}" python -m pytest bindings/python/tests -v
}
package() {
- cd "${_name//-/_}-$pkgver" || exit
- python -m installer --destdir="$pkgdir" dist/*.whl
+ cd "${_pkgname}"
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

Scan history

Scanned at (UTC)SeverityRules
2026-09-09 00:04:09 Low 2
2026-09-08 21:18:22 Low 2
2026-07-20 19:14:42 Clean 0
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