python-mpy-cross-v6
LOW
maintainer jskier
0 votes
scanned 2026-09-21 19:35:51.541891
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: Jeremy MountainJohnson <jay@jskier.com>
2
pkgname=python-mpy-cross-v6
3
_name=mpy_cross_v6
4
pkgver=1.1.2
5
pkgrel=1
6
pkgdesc="Python wrapper for the MicroPython mpy-cross compiler (MPY ABI v6), used by pybricksdev"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/pybricks/python-mpy-cross"
9
license=('MIT')
10
depends=('python' 'glibc')
11
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
12
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
13
"LICENSE-micropython::https://raw.githubusercontent.com/micropython/micropython/v1.22.0/LICENSE")
14
sha256sums=('6accc831761e8dc2eb778f937808f6bc72650fefc1fc6aa96bfc23867fbadfea'
15
'd9e0e0395867c899090e150213bc2b417e970c17355a8d48300089875b3c8037')
16
17
build() {
18
cd "$_name-$pkgver"
19
# upstream Makefile ignores LDFLAGS; pass hardening flags through its hook
20
export LDFLAGS_EXTRA="$LDFLAGS"
21
python -m build --wheel --no-isolation
22
}
23
24
package() {
25
cd "$_name-$pkgver"
26
python -m installer --destdir="$pkgdir" dist/*.whl
27
install -Dm644 "$srcdir/LICENSE-micropython" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
28
}
29
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 19:35:51 | Low | 1 |