mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
31 lines
893 B
Text
31 lines
893 B
Text
# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
|
|
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
|
|
pkgname=py3-k5test
|
|
_pkgname=k5test
|
|
pkgver=0.10.1
|
|
pkgrel=2
|
|
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"
|
|
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="
|
|
eaf451f0a932fdb8758f23e17ec52b2c1617074f186dddfba1d9c6844291fb2f4b003e05f4a0e02ce1bae37ee4251ea8295d2ebc8d9002c83d3179000fa4785e k5test-0.10.1.tar.gz
|
|
"
|