1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/py3-msldap/APKBUILD
2023-10-06 09:37:43 +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.7
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="
42e908c77dae5b8e94446ddb89eabfb838b074696bba8763bacb7b78e67cc4f0bc73a537b68edb7e84f2de5d494a9b19f09735a98eeba268d144337e5ce74d4f py3-msldap-0.5.7.tar.gz
"