aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-kerberos/APKBUILD
blob: 551d538d8543ab1775b9d8a492fc53776a9a82cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-kerberos
_pkgname=kerberos
pkgver=1.3.0
pkgrel=1
pkgdesc="A Python Kerberos high-level interface"
url="https://pypi.python.org/pypi/kerberos"
arch="all"
license="Apache-2.0"
depends="python3"
makedepends="krb5-dev py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces=py-kerberos # Backwards compatibility
provides=py-kerberos=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3f861dcb7ed8a1317b9c792c5b3fd00161d6f6539d3f42603ca765d75e105bbcc11d9dcbfdbf90949e0357fcd75a0c4da44ff755f1b26148a86d35e3ed142a1b  kerberos-1.3.0.tar.gz"