# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org> # Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org> pkgname=py3-minikerberos _pyname=minikerberos pkgver=0.4.1 pkgrel=0 pkgdesc="Kerberos manipulation library in pure Python" url="https://github.com/skelsec/minikerberos" arch="noarch" license="MIT" depends=" py3-asn1crypto py3-asysocks py3-oscrypto py3-six py3-tqdm py3-unicrypto python3 " makedepends=" py3-gpep517 py3-wheel py3-setuptools " checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/minikerberos/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" options="!check" # test suite requires connection to a KDC service (see /tests/config.py) build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" .dist/*.whl rm -rf "$pkgdir"/usr/lib/python3.*/site-packages/tests/ # remove tests } sha512sums=" 55281bf5713097ca2a5b2d695119ecd6ce2b3270bf76c7a4b03b0f913a5fc0b16a01e9c962c9872ee4daba29b25ae2dc05c62cbe8684333234ffe448c1dda027 py3-minikerberos-0.4.1.tar.gz "