python-pypixelcolor-git
LOW
maintainer lucagoc
0 votes
scanned 2026-08-31 19:46:16.204478
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
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.
PKGBUILD
1
# Maintainer: Lucas Balmès <lucagoc@pm.me>
2
pkgname=python-pypixelcolor-git
3
_name=pypixelcolor
4
pkgver=0.4.0.r14.gb641fe0
5
pkgrel=1
6
pkgdesc="A Python library and CLI to control iPixel Color devices (Git development version)"
7
arch=('any')
8
url="https://github.com/lucagoc/pypixelcolor"
9
license=('MIT')
10
depends=(
11
'python'
12
'python-bleak'
13
'python-crccheck'
14
'python-pillow'
15
'python-rich'
16
'python-textual'
17
'python-websockets'
18
)
19
optdepends=(
20
'python-pillow-heif: HEIF/HEIC image format support'
21
)
22
makedepends=(
23
'git'
24
'python-build'
25
'python-installer'
26
'python-wheel'
27
'python-hatchling'
28
)
29
checkdepends=(
30
'python-pytest'
31
)
32
provides=("python-pypixelcolor=${pkgver}" "pypixelcolor=${pkgver}")
33
conflicts=('python-pypixelcolor' 'pypixelcolor')
34
source=("$_name::git+$url.git#branch=main")
35
sha256sums=('SKIP')
36
37
pkgver() {
38
cd "$_name"
39
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || \
40
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
41
}
42
43
build() {
44
cd "$_name"
45
python -m build --wheel --no-isolation
46
}
47
48
check() {
49
cd "$_name"
50
PYTHONPATH=src pytest
51
}
52
53
package() {
54
cd "$_name"
55
python -m installer --destdir="$pkgdir" dist/*.whl
56
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
57
}
58
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-31 19:46:16 | Low | 1 |