1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-jupyter-events/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

28 lines
983 B
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-jupyter-events
pkgver=0.6.3
pkgrel=0
pkgdesc="Configurable event system for Jupyter applications and extensions."
url="https://github.com/jupyter/jupyter_events"
arch="noarch"
license="BSD-3-Clause"
depends="py3-jsonschema py3-traitlets py3-json-logger py3-yaml"
makedepends="py3-gpep517 py3-installer py3-hatchling"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/jupyter_events/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/jupyter_events-$pkgver"
options="!check" # seems to need a venv but also fails in a venv
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer --destdir="$pkgdir" dist/*.whl
}
sha512sums="
0e56e0f10676484485b70dbe6a675a4f8ae17f2c0e608df4f8831086a860f51a74dac250e1f34efb55a2f65b8dca264a8116a51236546f18b6a02fabeb8be3d4 py3-jupyter-events-0.6.3.tar.gz
"