python-miflash-git
LOW
maintainer taotieren
0 votes
scanned 2026-09-08 11:17:13.613315
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
3
pkgbase=python-miflash-git
4
pkgname=python-miflash-git
5
_name=${pkgname%-git}
6
_name=${_name#python-}
7
pkgver=1.0.0.r2.g73926c8
8
pkgrel=1
9
pkgdesc="Flash Xiaomi fastboot ROMs on Termux, Linux, macOS, or Windows"
10
arch=(any)
11
url="https://github.com/MiForge/MiFlash"
12
license=('MIT')
13
groups=()
14
provides=(${_name} ${pkgname%-git})
15
conflicts=(${_name} ${pkgname%-git})
16
replaces=()
17
_pydeps=(
18
rich
19
)
20
depends=(
21
python
22
"${_pydeps[@]/#/python-}"
23
)
24
makedepends=(
25
git
26
python-build
27
python-installer
28
python-wheel
29
python-setuptools
30
)
31
checkdepends=()
32
optdepends=(
33
'miassistanttool: Cross-platform CLI for Xiaomi Mi Assistant mode: flash, wipe, reboot'
34
)
35
source=("${_name}::git+${url}.git")
36
sha256sums=('SKIP')
37
options=()
38
39
pkgver() {
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
48
prepare() {
49
git -C "${srcdir}/${_name}" clean -dfx
50
}
51
52
build() {
53
cd "${srcdir}/${_name}"
54
python -m build --wheel --no-isolation
55
}
56
57
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-08 11:17:13 | Low | 2 |
| 2026-09-08 09:16:51 | Low | 2 |