blob: bccc9cbece605fd70cd3427da8ff9b9f361dd581 (
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-spnego
_pkgname=pyspnego
pkgver=0.6.3
pkgrel=0
pkgdesc="SPNEGO Authentication library"
url="https://github.com/jborean93/pyspnego"
arch="noarch"
license="MIT"
depends="python3 py3-cryptography"
makedepends="py3-setuptools python3-dev"
checkdepends="cython py3-pytest py3-pytest-cov py3-pytest-mock py3-python-gssapi py3-krb5 py3-ruamel.yaml"
source="$pkgname-$pkgver.tar.gz::https://github.com/jborean93/pyspnego/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH=build/lib python3 -m pytest -vv --color=yes
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
f27e6c354e585f6e4cc2ca1fa575f4adbd77da76475c0a470ed29fa29fbf9568814661873e7856d7a99e3fb22c6c020575dfcb6a3d695b4ed80f16139ae6af42 py3-spnego-0.6.3.tar.gz
"
|