# Contributor: Dmitry Romanenko # Maintainer: Dmitry Romanenko pkgname=py3-k5test _pkgname=k5test pkgver=0.10.3 pkgrel=1 pkgdesc="A library for testing Python applications in self-contained Kerberos 5 environments" url="https://github.com/pythongssapi/k5test" arch="noarch" license="MIT" depends="python3 krb5-dev krb5 krb5-server" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/k/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { # no upstream tests PYTHONPATH=build/lib python3 -c "import k5test" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 8c07677fbed5189d4ef905d6b201470871eab96700318194527514e7d841a8ec2c28c4f5139dbb2d7fe9be0db4046656d0b3f69ace86c1bbbd3886096adb5792 k5test-0.10.3.tar.gz "