aports/testing/py3-msldap/APKBUILD
2025-02-24 20:51:27 +00:00

45 lines
1 KiB
Text

# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
pkgname=py3-msldap
_pyname=msldap
pkgver=0.5.14
pkgrel=0
pkgdesc="Python library to play with MS LDAP"
url="https://github.com/skelsec/msldap"
arch="noarch"
license="MIT"
depends="
py3-asn1crypto
py3-asyauth
py3-asysocks
py3-minikerberos
py3-prompt_toolkit
py3-tqdm
py3-unicrypto
py3-wcwidth
py3-winacl
python3
"
makedepends="
py3-gpep517
py3-wheel
py3-setuptools
"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/msldap/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # no tests provided
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
}
sha512sums="
59761c38041fa55e5352262c18ebaad98e72266837cb88cce79b941cca4d4f422cc8d98a527668d045ef5232e61118feef7626ebc220f6a829a85762d6f2b746 py3-msldap-0.5.14.tar.gz
"