1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-hatch-jupyter-builder/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

32 lines
958 B
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-hatch-jupyter-builder
pkgver=0.8.2
pkgrel=0
pkgdesc="A hatch plugin to help build Jupyter packages"
url="https://github.com/jupyterlab/hatch-jupyter-builder"
arch="noarch"
license="BSD-3-Clause"
depends="py3-hatchling"
makedepends="py3-gpep517 py3-setuptools"
checkdepends="py3-pytest py3-tomli py3-pytest-mock"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/hatch-jupyter-builder-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
check() {
pytest
}
package() {
python3 -m installer --destdir="$pkgdir" dist/*.whl
}
sha512sums="
85fae54b7bb39a097764e1637b7208299dbb543047e5c7abfbb8859c23cf72b2dd41b0bdbcc47f49c7fdbdb39d8b7e49f06a47e844b3ad3b2bee1672cb51d3be py3-hatch-jupyter-builder-0.8.2.tar.gz
"