python-tree-sitter-bash

MEDIUM
maintainer arcanis 1 votes scanned 2026-10-26 11:44:54.928123
View on AUR
Why flagged

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

Triggered rules

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: 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-10-26 11:44
@@ -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-10-26 11:44:54 Medium 1
2026-09-23 00:28:13 Clean 0
2026-09-22 00:15:14 Low 2
2026-09-21 00:26:32 Low 2
2026-09-20 00:25:31 Low 2
2026-09-19 00:25:36 Low 2
2026-09-18 00:17:11 Low 2
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
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