1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/py3-jupyter-packaging/APKBUILD
2023-03-04 09:38:22 +01:00

32 lines
1 KiB
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-jupyter-packaging
pkgver=0.12.3
pkgrel=1
pkgdesc="Tools to help build and install Jupyter Python packages"
url="https://github.com/jupyter/jupyter-packaging"
arch="noarch"
license="BSD-3-Clause"
depends="py3-packaging py3-setuptools py3-tomlkit py3-wheel py3-deprecation"
makedepends="py3-gpep517 py3-hatchling"
checkdepends="py3-pytest py3-pytest-mock py3-build py3-pytest-timeout py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/jupyter-packaging-$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="
04f7b2d743b2702284511a7e33b324687968e4ee994223065beaf803b9fad90ea37bcd5db14ca007595ebd7a4bc9f392525883d5b3d99a96615330e3f36d0565 py3-jupyter-packaging-0.12.3.tar.gz
"