1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/jupyter-notebook/APKBUILD

57 lines
1.4 KiB
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-notebook
pkgver=6.5.2
pkgrel=1
pkgdesc="Jupyter interactive notebook"
url="https://github.com/jupyter/notebook"
# py3-argon2-cffi is not available on s390x
# bower/npm not present on riscv64
# jupyter-nbclassic not present on ppc64le/armhf
arch="noarch !armhf !s390x !riscv64 !ppc64le"
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="bower npm py3-setuptools"
checkdepends="py3-pytest"
options="!check" # lots of unpackaged dependencies + many dependencies would only work on x86_64
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="
18d110f8cd6940525ba776f99a061cf9292a1ad1ca4f9e138c6533ec298ca0a64872a3854c04df9373238cfb805eb46382fb3465b3e75b40204c56add8e4e682 jupyter-notebook-6.5.2.tar.gz
"