mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +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
976 B
Text
31 lines
976 B
Text
# 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
|
|
"
|