python-scad123d

LOW
maintainer dcelasun 0 votes scanned 2026-10-27 09:47:05.186512
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: D. Can Celasun <can[at]dcc[dot]im>
2
3pkgname=python-scad123d
4_pkgname=scad123d
5pkgver=0.8.0
6pkgrel=1
7pkgdesc="Import OpenSCAD files as native build123d BRep geometry, via OpenSCAD's flattened CSG export"
8arch=('any')
9url="https://github.com/etjones/scad123d"
10license=('MIT AND OFL-1.1')
11depends=(
12 'openscad'
13 'python'
14 'python-build123d'
15 'python-fonttools'
16 'python-lark-parser'
17 'python-numpy'
18 'python-ocp'
19 'python-scipy'
20 'python-webcolors'
21)
22makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling')
23checkdepends=('python-pytest' 'python-psutil' 'python-rich')
24optdepends=(
25 'scad2step: scad2step command'
26 'python-psutil: scad123d-batch'
27 'python-rich: scad123d-batch'
28)
29source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
30sha256sums=('044c3ef01d2ee9dd334e91731adf94e86a1e84eeb2f968243db74afaa812451e')
31
32build() {
33 cd "${_pkgname}-${pkgver}"
34 python -m build --wheel --no-isolation
35}
36
37check() {
38 cd "${_pkgname}-${pkgver}"
39 rm -rf test-env
40 python -m installer --destdir=test-env dist/*.whl
41 local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
42 # Same tier as upstream CI: the differential tests need a specific OpenSCAD
43 PYTHONPATH="${PWD}/test-env/${_site_packages}" pytest -m "not needs_openscad"
44}
45
46package() {
47 cd "${_pkgname}-${pkgver}"
48 python -m installer --destdir="${pkgdir}" dist/*.whl
49
50 # Owned by the scad2step package, which is the same entry point
51 rm "${pkgdir}/usr/bin/scad2step"
52
53 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
54 install -Dm644 src/solid123d/_fonts/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.LiberationSans"
55}
56

Scan history

Scanned at (UTC)SeverityRules
2026-10-27 09:47:05 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