python-ocp-viewer-core

LOW
maintainer greyltc 0 votes scanned 2026-09-18 17:28:51.851564
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

1pkgname=python-ocp-viewer-core
2_build_fragment="tag=v1.0.13-1.0.4"
3pkgver=1.0.13.1.0.4
4pkgrel=1
5pkgdesc="The shared half of the OCP viewer ecosystem"
6arch=(any)
7url="https://github.com/bernhard-42/ocp-viewer-core"
8license=(Apache-2.0)
9depends=(
10ipython
11jupyter-console
12python-click
13python-ocp
14python-ocp-tessellate
15python-orjson
16python-websockets
17python-flask
18python-numpy
19python-orjson
20python-pyperclip
21python-questionary
22python-threejs_materials
23python-flask-sock
24python-pygltflib
25python-pillow
26python-matplotlib
27python-webcolors
28python-yaml
29)
30checkdepends=(
31python-pytest
32python-build123d
33)
34makedepends=(
35git
36make
37npm
38vsce
39python-setuptools-scm
40python-build
41python-installer
42python-wheel
43yarn
44)
45optdepends=(
46"python-cadquery: for working with cadquery"
47"python-build123d: for working with build123d"
48"vscode: this plugin works here"
49"vscode-insiders: this plugin works here"
50)
51
52#install=python-ocp-vscode.install
53
54source=("git+https://github.com/bernhard-42/ocp-viewer-core#${_build_fragment}")
55
56b2sums=('0b9b8450e01d6b26d79fd22599ce92fde1509aa29d5247958c3d03ab63be535fe96cad3b8944b3b8dc8de2f8713d8ea26dda48ba9971a9a8d15ba82810d10bcc')
57
58pkgver() {
59 cd ocp-viewer-core
60 git describe --tags | sed 's/-/./' | sed 's/^v//'
61 #git describe --tags | rev | cut -d- -f2- | rev | sed 's/-/.r/' | sed 's/^v//'
62}
63
64prepare() {
65 cd ocp-viewer-core
66 #sed '/^[ \t]*vsce package/s/^/#/' -i Makefile
67 #sed '/^[ \t]*@python -m build/s/^/#/' -i Makefile
68 #sed '/^[ \t]*@ls -l dist/s/^/#/' -i Makefile
69 #mkdir -p ocp_vscode/static/css
70}
71
72build() {
73 cd ocp-viewer-core
74 #npm install --cache "${srcdir}/npm-cache"
75 #make dist
76 python -m build --wheel --no-isolation
77}
78
79check() {
80 python -m venv --without-pip --system-site-packages --clear venv
81 source venv/bin/activate
82
83 cd ocp-viewer-core
84 python -m installer dist/*.whl
85#
86 NATIVE_TESSELLATOR=0 OCP_VSCODE_PYTEST=1 python -m pytest -v -s tests/ --ignore=tests/test_show.py --ignore=tests/test_viewer_config.py
87# #NATIVE_TESSELLATOR=1 OCP_VSCODE_PYTEST=1 python -m pytest -v -s tests/
88# #--ignore=tests/test_show.py --ignore=tests/test_viewer_config.py
89#
90 deactivate
91}
92
93package() {
94 cd ocp-viewer-core
95 python -m installer --destdir="$pkgdir" dist/*.whl
96}
97

Scan history

Scanned at (UTC)SeverityRules
2026-09-18 17:28:51 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