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-shim/APKBUILD
psykose aa528d2a76 */*: unify gpep517 use to output to fd 3
outputting to 3 then redirecting all to stderr prevents clobbering of
wrapped build fds
2023-01-18 12:58:53 +01:00

34 lines
981 B
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=jupyter-notebook-shim
pkgver=0.2.2
pkgrel=1
pkgdesc="Shim layer for notebook traits and config"
url="https://github.com/jupyter/notebook_shim"
# s390x, ppc64le: no jupyter-server
arch="noarch !armhf !s390x !ppc64le"
license="BSD-3-Clause"
depends="jupyter-server"
makedepends="py3-gpep517 py3-installer py3-hatchling"
checkdepends="py3-pytest py3-pytest-tornasync"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/notebook_shim/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/notebook_shim-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
check() {
pytest
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
d338039afe23b6acacc3048a00712c4bf700779efc7be2bc3a3ee8e0465b4fe6a6a8570f32593a58acd7e0ab9013454e1d72018acd56106d8da31b9ced14d71b jupyter-notebook-shim-0.2.2.tar.gz
"