aports/testing/py3-jupyterlab_server/APKBUILD
Alistair Francis 67ecef1b18 testing/py3-jupyterlab_server: new aport
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2025-03-16 22:36:49 +00:00

45 lines
1.1 KiB
Text

# Maintainer: Alistair Francis <alistair@alistair23.me>
pkgname=py3-jupyterlab_server
_pyname=jupyterlab_server
pkgver=2.27.3
pkgrel=0
pkgdesc="A set of server components for JupyterLab and JupyterLab like applications "
url="https://jupyterlab-server.readthedocs.io/en/stable/"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-babel
py3-json5
py3-requests
py3-rpds-py
python3
"
makedepends="
py3-gpep517
py3-hatch-jupyter-builder
py3-hatchling
py3-installer
py3-poetry-core
py3-setuptools
py3-wheel
nodejs
npm
"
checkdepends="py3-pytest py3-setuptools py3-pexpect py3-pytest-jupyter py3-openapi-core"
source="py3-jupyterlab_server-$pkgver.tar.gz::https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
options="!check" # missing py3-strict-rfc3339
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 1>&2
}
package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
}
sha512sums="
3bf0a7eb3e090598ef5bd22f627fb6cff7faa0570e62a691f584adbaa74b37f4e8b225fdb6a1130fafaa8de5056176301ebb2fe8d2d88f48d2c2384da6a14c3e py3-jupyterlab_server-2.27.3.tar.gz
"