python-scad123d
LOW
maintainer dcelasun
0 votes
scanned 2026-10-27 09:47:05.186512
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
3
pkgname=python-scad123d
4
_pkgname=scad123d
5
pkgver=0.8.0
6
pkgrel=1
7
pkgdesc="Import OpenSCAD files as native build123d BRep geometry, via OpenSCAD's flattened CSG export"
8
arch=('any')
9
url="https://github.com/etjones/scad123d"
10
license=('MIT AND OFL-1.1')
11
depends=(
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
)
22
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling')
23
checkdepends=('python-pytest' 'python-psutil' 'python-rich')
24
optdepends=(
25
'scad2step: scad2step command'
26
'python-psutil: scad123d-batch'
27
'python-rich: scad123d-batch'
28
)
29
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
30
sha256sums=('044c3ef01d2ee9dd334e91731adf94e86a1e84eeb2f968243db74afaa812451e')
31
32
build() {
33
cd "${_pkgname}-${pkgver}"
34
python -m build --wheel --no-isolation
35
}
36
37
check() {
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
46
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-27 09:47:05 | Low | 1 |