blob: 89d7407a2c9713bbeb21dfe0b31f1fdfc3c5f8ef (
plain)
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: Noel Kuntze <noel.kuntze@thermi.consulting>
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
pkgname=py3-requests-kerberos
_pkgname=requests-kerberos
pkgver=0.14.0
pkgrel=1
pkgdesc="Kerberos authentication handler for using with Python Requests"
url="https://github.com/requests/requests-kerberos"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-requests py3-spnego py3-cryptography"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-mock"
source="$pkgname-$pkgver.tar.gz::https://github.com/requests/requests-kerberos/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH=build/lib pytest -vv --color=yes
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
9dd6eed0d6afe4b852ba96f621be3af2965e9011bf372c5dce77e0bca18191255ea407ba313904271615d722d60029807db2d6815b24437b021b02b026eb60d6 py3-requests-kerberos-0.14.0.tar.gz
"
|