rustpython-packaging-bootstrap

LOW
maintainer vitaliikuzhdin 0 votes base rustpython-bootstrap scanned 2026-08-20 11:11:30.284264
View on AUR
Why flagged

The package builds Python bootstrap tools for RustPython from source using trusted upstream Git repositories, but skips checksums for several sources; however, all actions are transparent and target a legitimate use case without executing untrusted remote code.

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 Python bootstrap tools for RustPython from source using trusted upstream Git repositories, but skips checksums for several sources; however, all actions are transparent and target a legitimate use case without executing untrusted remote code.

PKGBUILD

1# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3pkgbase="rustpython-bootstrap"
4pkgname=(
5 "rustpython-build-bootstrap"
6 "rustpython-flit-core-bootstrap"
7 "rustpython-installer-bootstrap"
8 "rustpython-packaging-bootstrap"
9 "rustpython-pyproject-hooks-bootstrap"
10 "rustpython-setuptools-bootstrap"
11 "rustpython-wheel-bootstrap"
12)
13pkgver=3.14.0
14pkgrel=1
15arch=(
16 'any'
17)
18url="https://gitlab.archlinux.org/archlinux/python-bootstrap"
19license=(
20 'MIT'
21)
22depends=(
23 'rustpython'
24)
25makedepends=(
26 'git'
27)
28_pkgsrc="${url##*/}"
29source=(
30 "${_pkgsrc}::git+${url}.git#tag=${pkgver}?signed"
31 "python-build::git+https://github.com/pypa/build.git"
32 "python-flit::git+https://github.com/takluyver/flit.git"
33 "python-installer::git+https://github.com/pypa/installer.git"
34 "python-wheel::git+https://github.com/pypa/wheel.git"
35 "python-packaging::git+https://github.com/pypa/packaging.git"
36 "python-pyproject-hooks::git+https://github.com/pypa/pyproject-hooks.git"
37 "python-setuptools::git+https://github.com/pypa/setuptools.git"
38)
39sha256sums=('6b3b0f54e23c87be06c87ddfe304c32d595f5ce5e4b0f65dde0624ac35c520bb'
40 'SKIP'
41 'SKIP'
42 'SKIP'
43 'SKIP'
44 'SKIP'
45 'SKIP'
46 'SKIP')
47validpgpkeys=(
48 '991F6E3F0765CF6295888586139B09DA5BF0D338' # David Runge <dvzrv@archlinux.org>
49 'E499C79F53C96A54E572FEE1C06086337C50773E' # Jelle van der Waa <jelle@vdwaa.nl>
50)
51
52prepare() {
53 cd "${srcdir}/${_pkgsrc}"
54 git submodule init
55
56 git config submodule."external/build".url "${srcdir}/python-build"
57 git config submodule."external/flit".url "${srcdir}/python-flit"
58 git config submodule."external/installer".url "${srcdir}/python-installer"
59 git config submodule."external/wheel".url "${srcdir}/python-wheel"
60 git config submodule."external/packaging".url "${srcdir}/python-packaging"
61 git config submodule."external/pyproject-hooks".url "${srcdir}/python-pyproject-hooks"
62 git config submodule."external/setuptools".url "${srcdir}/python-setuptools"
63
64 git -c protocol.file.allow=always submodule update
65 git submodule update --init --recursive
66
67 find . -type f -name '*.py' -exec \
68 sed -i 's/python -m/rustpython -m/g' "{}" +
69}
70
71build() {
72 cd "${srcdir}/${_pkgsrc}"
73 rustpython -m bootstrap.build
74}
75
76package_rustpython-build-bootstrap() {
77 pkgdesc="A simple, correct PEP 517 build frontend (bootstrap)"
78 # license=(
79 # 'MIT'
80 # )
81 depends+=(
82 'rustpython-packaging'
83 'rustpython-pyproject-hooks'
84 )
85 provides=(
86 "${pkgname%-bootstrap}"
87 )
88 conflicts=(
89 "${pkgname%-bootstrap}"
90 )
91
92 cd "${srcdir}/${_pkgsrc}"
93 rustpython -m bootstrap.install dist/build-*-py3-none-any.whl -d "${pkgdir}"
94
95 find "${pkgdir}/usr/bin" -type f -exec \
96 mv -v "{}" "{}-rustpython" \;
97}
98
99package_rustpython-installer-bootstrap() {
100 pkgdesc="Low-level library for installing a Python package from a wheel distribution (bootstrap)"
101 # license=(
102 # 'MIT'
103 # )
104 provides=(
105 "${pkgname%-bootstrap}"
106 )
107 conflicts=(
108 "${pkgname%-bootstrap}"
109 )
110
111 cd "${srcdir}/${_pkgsrc}"
112 rustpython -m bootstrap.install dist/installer-*-py3-none-any.whl -d "${pkgdir}"
113}
114
115package_rustpython-flit-core-bootstrap() {
116 pkgdesc="Simplified packaging of Python modules (core backend) (bootstrap)"
117 license=(
118 'BSD-3-Clause'
119 )
120 provides=(
121 "${pkgname%-bootstrap}"
122 )
123 conflicts=(
124 "${pkgname%-bootstrap}"
125 )
126
127 cd "${srcdir}/${_pkgsrc}"
128 rustpython -m bootstrap.install dist/flit_core-*-py3-none-any.whl -d "${pkgdir}"
129}
130
131package_rustpython-wheel-bootstrap() {
132 pkgdesc="A built-package format for Python (bootstrap)"
133 # license=(
134 # 'MIT'
135 # )
136 provides=(
137 "${pkgname%-bootstrap}"
138 )
139 conflicts=(
140 "${pkgname%-bootstrap}"
141 )
142
143 cd "${srcdir}/${_pkgsrc}"
144 rustpython -m bootstrap.install dist/wheel-*-py3-none-any.whl -d "${pkgdir}"
145
146 find "${pkgdir}/usr/bin" -type f -exec \
147 mv -v "{}" "{}-rustpython" \;
148}
149
150package_rustpython-packaging-bootstrap() {
151 pkgdesc="Core utilities for Python packages (bootstrap)"
152 license=(
153 'Apache-2.0 OR BSD-2-Clause'
154 )
155 provides=(
156 "${pkgname%-bootstrap}"
157 )
158 conflicts=(
159 "${pkgname%-bootstrap}"
160 )
161
162 cd "${srcdir}/${_pkgsrc}"
163 rustpython -m bootstrap.install dist/packaging-*-py3-none-any.whl -d "${pkgdir}"
164}
165
166package_rustpython-pyproject-hooks-bootstrap() {
167 pkgdesc="A low-level library for calling build-backends in pyproject.toml-based project (bootstrap)"
168 # license=(
169 # 'MIT'
170 # )
171 provides=(
172 "${pkgname%-bootstrap}"
173 )
174 conflicts=(
175 "${pkgname%-bootstrap}"
176 )
177
178 cd "${srcdir}/${_pkgsrc}"
179 rustpython -m bootstrap.install dist/pyproject_hooks-*-py3-none-any.whl -d "${pkgdir}"
180}
181
182package_rustpython-setuptools-bootstrap() {
183 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages (bootstrap)"
184 # license=(
185 # 'MIT'
186 # )
187 provides=(
188 "${pkgname%-bootstrap}"
189 )
190 conflicts=(
191 "${pkgname%-bootstrap}"
192 )
193
194 cd "${srcdir}/${_pkgsrc}"
195 rustpython -m bootstrap.install dist/setuptools-*-py3-none-any.whl -d "${pkgdir}"
196}
197

Scan history

Scanned at (UTC)SeverityRules
2026-08-20 11:11:30 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