rustpython-packaging

LOW
maintainer vitaliikuzhdin 0 votes scanned 2026-08-20 13:11:31.763076
View on AUR
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: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3_pypiname="packaging"
4pkgname="rustpython-${_pypiname}"
5pkgver=26.3
6pkgrel=1
7pkgdesc="Core utilities for Python packages"
8arch=(
9 'any'
10)
11url="https://github.com/pypa/${_pypiname}"
12_url="https://github.com/pypa/${_pypiname}"
13license=(
14 'Apache-2.0 OR BSD-2-Clause'
15)
16depends=(
17 'rustpython'
18)
19# checkdepends=(
20# 'rustpython-pytest'
21# 'rustpython-pretend'
22# 'rustpython-tomli-w'
23# 'rustpython-hypothesis'
24# )
25makedepends=(
26 'git'
27 'rustpython-build'
28 'rustpython-flit-core'
29 'rustpython-installer'
30)
31replaces=(
32 "${pkgname}-bootstrap"
33)
34_pkgsrc="python-${_url##*/}"
35source=(
36 "${_pkgsrc}::git+${_url}.git#tag=${pkgver}?signed"
37)
38sha256sums=('5ea0acedf3b15c0679ac4ea4412e17796e0ea22a728c0145d197b5716ae493f2')
39validpgpkeys=(
40 '2FDEC9863E5E14C7BC429F27B9D0E45146A241E8' # Henry Schreiner <hschrein@cern.ch>
41)
42
43build() {
44 cd "${srcdir}/${_pkgsrc}"
45 rustpython -m build --wheel --no-isolation --skip-dependency-check
46}
47
48# check() {
49# cd "${srcdir}/${_pkgsrc}"
50# RUSTPYTHONPATH=src pytest-rustpython
51# }
52
53package() {
54 local rustpython_site_packages="$(rustpython -c "import site; print(site.getsitepackages()[0])")"
55
56 cd "${srcdir}/${_pkgsrc}"
57 rustpython -m installer --destdir="${pkgdir}" dist/*.whl
58
59 install -vDm644 README* -t "${pkgdir}/usr/share/doc/${pkgname}"
60
61 install -vd "${pkgdir}/usr/share/licenses"
62 ln -vsf "${rustpython_site_packages}/${_pypiname//-/_}-${pkgver}.dist-info/licenses" \
63 "${pkgdir}/usr/share/licenses/${pkgname}"
64}
65

Scan history

Scanned at (UTC)SeverityRules
2026-08-20 13:11:31 Low 1

Report a package

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

0 / 4000
Your suggestion