jupyter-nbclassic

LOW
maintainer orphaned 0 votes scanned 2026-09-12 11:11:46.143552
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: Antonio Rojas <arojas@archlinux.org>
2
3_pyname=nbclassic
4pkgname=jupyter-$_pyname
5pkgver=1.3.3
6pkgrel=4
7pkgdesc='Jupyter Notebook as a Jupyter Server Extension'
8arch=(any)
9url='https://jupyter.org/'
10license=(BSD-3-Clause)
11depends=(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)
21makedepends=(bower
22 git
23 npm
24 python-babel
25 python-build
26 python-hatch-jupyter-builder
27 python-hatchling
28 python-installer
29 yarn)
30checkdepends=(python-pytest-jupyter
31 python-pytest-tornasync)
32source=(git+https://github.com/jupyter/nbclassic#tag=v$pkgver
33 drop-ipython-genutils.patch)
34sha256sums=('44fba34a96c0c029d074254cc7706d28b36f532b774857b2ad3cae04532f2ede'
35 'f13fc7e757aef24f79562a81178e0a47e3b400af253f70301a4819d2b2902012')
36
37prepare() {
38 cd $_pyname
39 patch -p1 -i ../drop-ipython-genutils.patch
40}
41
42build() {
43 cd $_pyname
44 python -m build --wheel --no-isolation --skip-dependency-check
45}
46
47check() {
48 cd $_pyname
49 pytest -v
50}
51
52package() {
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)SeverityRules
2026-09-12 11:11:46 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