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-pytest-jupyter/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
977 B
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-pytest-jupyter
pkgver=0.6.2
pkgrel=0
pkgdesc="A pytest plugin for testing Jupyter core libraries and extensions."
url="https://github.com/jupyter-server/pytest-jupyter"
arch="noarch"
license="BSD-3-Clause"
depends="py3-pytest py3-jupyter_core"
makedepends="py3-gpep517 py3-installer py3-hatchling"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter-server/pytest-jupyter/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/pytest-jupyter-$pkgver"
options="!check" # 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="
7a59b84b751bb9ec20126dea77d0c758666770f4b2f97451008640f9eead07ef0effb3879dad92983ad30299fedee8571ce78ef005f5aa418b92f64abbc56525 py3-pytest-jupyter-0.6.2.tar.gz
"