python-bluetooth-battery
maintainer galaxy102
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package installs a Python dependency via pip from PyPI, which is a normal and expected practice for Python packages; the action is transparent, targets a specific version, and installs only the declared project.
Triggered rules
LOW
pip install of an external package
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums. Severity reduced: python-* packages routinely use pip.
-
PKGBUILD:16
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring pip install --no-deps --target="bluetooth-battery" bluetooth-battery==1.3.2
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The package installs a Python dependency via pip from PyPI, which is a normal and expected practice for Python packages; the action is transparent, targets a specific version, and installs only the declared project.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Konstantin Köhring <konstantin.koehring@gmail.com>
2
# PKGBUILD generated by pipman
3
# Python package author: TheWeirdDev <alireza6677@gmail.com>
4
5
pkgname=python-bluetooth-battery
6
pkgver=1.3.2
7
pkgrel=4
8
pkgdesc="A python script to get battery level from Bluetooth headsets"
9
arch=(any)
10
url="https://pypi.org/project/bluetooth-battery"
11
license=(GPL-3.0)
12
depends=('python-pybluez')
13
makedepends=("python" "python-pip")
14
15
build() {
16
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring pip install --no-deps --target="bluetooth-battery" bluetooth-battery==1.3.2
17
}
18
package() {
19
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
20
mkdir -p $pkgdir/"$sitepackages"
21
cp -r $srcdir/bluetooth-battery/* $pkgdir/"$sitepackages"
22
mkdir -p $pkgdir/usr/bin/
23
cp $srcdir/bluetooth-battery/bin/bluetooth_battery $pkgdir/usr/bin/bluetooth_battery
24
}
25
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |