aports/community/jupyter-notebook/APKBUILD

55 lines
1.2 KiB
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer:
pkgname=jupyter-notebook
pkgver=6.5.7
pkgrel=1
pkgdesc="Jupyter interactive notebook"
url="https://github.com/jupyter/notebook"
arch="noarch"
license="BSD-3-Clause"
depends="
jupyter-nbclassic
jupyter-nbconvert
jupyter-nbformat
py3-argon2-cffi
py3-ipykernel
py3-ipython_genutils
py3-jinja2
py3-jupyter_client
py3-jupyter_core
py3-nest_asyncio
py3-prometheus-client
py3-pyzmq
py3-send2trash
py3-terminado
py3-tornado
py3-traitlets
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
options="!check" # lots of unpackaged dependencies + many dependencies would only work on x86_64
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/notebook/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/notebook-$pkgver"
# secfixes:
# 6.4.12-r0:
# - CVE-2022-29238
# 6.4.10-r0:
# - CVE-2022-24758
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix="/usr" --root="$pkgdir"
}
sha512sums="
3f3bfde67b146dc9029d32d1f9392730ab0d08728ad276c9bafcf981362eef70de3493aaf93067cbddfeda068c417b8bb5ad28efe7c42e2604c8c516cc42c065 jupyter-notebook-6.5.7.tar.gz
"