jupyter-nbclassic
LOW
maintainer orphaned
0 votes
scanned 2026-09-12 11:11:46.143552
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: Antonio Rojas <arojas@archlinux.org>
2
3
_pyname=nbclassic
4
pkgname=jupyter-$_pyname
5
pkgver=1.3.3
6
pkgrel=4
7
pkgdesc='Jupyter Notebook as a Jupyter Server Extension'
8
arch=(any)
9
url='https://jupyter.org/'
10
license=(BSD-3-Clause)
11
depends=(jupyter-nbconvert
12
jupyter-nbformat
13
jupyter-notebook-shim
14
jupyter-server
15
mathjax2
16
python
17
python-jupyter-core
18
python-jupyter-server-terminals
19
python-tornado
20
python-traitlets)
21
makedepends=(bower
22
git
23
npm
24
python-babel
25
python-build
26
python-hatch-jupyter-builder
27
python-hatchling
28
python-installer
29
yarn)
30
checkdepends=(python-pytest-jupyter
31
python-pytest-tornasync)
32
source=(git+https://github.com/jupyter/nbclassic#tag=v$pkgver
33
drop-ipython-genutils.patch)
34
sha256sums=('44fba34a96c0c029d074254cc7706d28b36f532b774857b2ad3cae04532f2ede'
35
'f13fc7e757aef24f79562a81178e0a47e3b400af253f70301a4819d2b2902012')
36
37
prepare() {
38
cd $_pyname
39
patch -p1 -i ../drop-ipython-genutils.patch
40
}
41
42
build() {
43
cd $_pyname
44
python -m build --wheel --no-isolation --skip-dependency-check
45
}
46
47
check() {
48
cd $_pyname
49
pytest -v
50
}
51
52
package() {
53
cd $_pyname
54
python -m installer --destdir="$pkgdir" dist/*.whl
55
mv "$pkgdir"/{usr/,}etc
56
# Unbundle mathjax
57
_pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
58
rm -r "$pkgdir"$_pythonpath/nbclassic/static/components/MathJax
59
ln -s /usr/share/mathjax2 "$pkgdir"$_pythonpath/nbclassic/static/components/MathJax
60
61
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
62
# Remove tests
63
rm -r "$pkgdir"/usr/lib/python*/site-packages/nbclassic/tests/
64
}
65
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-12 11:11:46 | Low | 1 |