mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 05:16:12 +02:00
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
# Contributor: Jonas <spameier+alpine@proton.me>
|
|
# Maintainer: Jonas <spameier+alpine@proton.me>
|
|
pkgname=py3-minikerberos
|
|
_pyname=minikerberos
|
|
pkgver=0.4.6
|
|
pkgrel=1
|
|
pkgdesc="Kerberos manipulation library in pure Python"
|
|
url="https://github.com/skelsec/minikerberos"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-asn1crypto
|
|
py3-asysocks
|
|
py3-oscrypto
|
|
py3-six
|
|
py3-tqdm
|
|
py3-unicrypto
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-wheel
|
|
py3-setuptools
|
|
"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/minikerberos/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
options="!check" # test suite requires connection to a KDC service (see /tests/config.py)
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
rm -rf "$pkgdir"/usr/lib/python3.*/site-packages/tests/ # remove tests
|
|
}
|
|
|
|
sha512sums="
|
|
8977e8a435c6898f559067cb1dd03869e633f3a77f228d4f78eb14a667958d23bc1ab7ffed4581d750fe47e8c84ba86a3586c606c99d4c26ebcb9480233c65d5 py3-minikerberos-0.4.6.tar.gz
|
|
"
|