python-miflash-git

LOW
maintainer taotieren 0 votes scanned 2026-09-08 11:17:13.613315
View on AUR
Why flagged

The package builds from a public Git repository with a SKIP'd checksum, but it is a legitimate source for a development version; no untrusted executables or malicious payloads are present.

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 a public Git repository with a SKIP'd checksum, but it is a legitimate source for a development version; no untrusted executables or malicious payloads are present.

PKGBUILD

1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgbase=python-miflash-git
4pkgname=python-miflash-git
5_name=${pkgname%-git}
6_name=${_name#python-}
7pkgver=1.0.0.r2.g73926c8
8pkgrel=1
9pkgdesc="Flash Xiaomi fastboot ROMs on Termux, Linux, macOS, or Windows"
10arch=(any)
11url="https://github.com/MiForge/MiFlash"
12license=('MIT')
13groups=()
14provides=(${_name} ${pkgname%-git})
15conflicts=(${_name} ${pkgname%-git})
16replaces=()
17_pydeps=(
18 rich
19)
20depends=(
21 python
22 "${_pydeps[@]/#/python-}"
23)
24makedepends=(
25 git
26 python-build
27 python-installer
28 python-wheel
29 python-setuptools
30)
31checkdepends=()
32optdepends=(
33 'miassistanttool: Cross-platform CLI for Xiaomi Mi Assistant mode: flash, wipe, reboot'
34)
35source=("${_name}::git+${url}.git")
36sha256sums=('SKIP')
37options=()
38
39pkgver() {
40 cd "${srcdir}/${_name}"
41 (
42 set -o pipefail
43 git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
44 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
45 )
46}
47
48prepare() {
49 git -C "${srcdir}/${_name}" clean -dfx
50}
51
52build() {
53 cd "${srcdir}/${_name}"
54 python -m build --wheel --no-isolation
55}
56
57package() {
58 cd "${srcdir}/${_name}"
59 python -m installer --destdir="${pkgdir}" dist/*.whl
60 install -vDm644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}/"
61}
62

Scan history

Scanned at (UTC)SeverityRules
2026-09-08 11:17:13 Low 2
2026-09-08 09:16:51 Low 2

Report a package

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

0 / 4000
Your suggestion