-# Contributor: sev <alpine@sev.monster>
-# Maintainer: sev <alpine@sev.monster>
-pkgname=py3-ldap0
-pkgver=1.4.8
-pkgrel=0
+# Contributor: sev <sev+alpine@sev.monster>
+# Maintainer: sev <sev+alpine@sev.monster>
+_pkgname=ldap0
+pkgname=py3-$_pkgname
+pkgver=1.4.10
+pkgrel=1
pkgdesc="Module package for implementing LDAP clients"
url="https://code.stroeder.com/pymod/python-ldap0.git"
arch="all"
license="Apache-2.0"
+depends="py3-asn1 py3-asn1-modules"
makedepends="python3-dev py3-setuptools openldap-dev"
-# unreliable source
-#source="https://code.stroeder.com/pymod/python-ldap0/tags"
-source="https://gitlab.com/ae-dir/python-ldap0/-/archive/v$pkgver/python-ldap0-v$pkgver.tar.gz"
-builddir="$srcdir/python-ldap0-v$pkgver"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
# XXX: fix openldap: https://stackoverflow.com/a/70207990
}
sha512sums="
-b7418f795ec8c2172f61d90f9ace31e9fdd0e36f6627420674f819aba81e8004da9bdc2aa6fdd188b0c694691715c4f859b00bd04ef27d492983d3db1d8c85ae python-ldap0-v1.4.8.tar.gz
+ef4da17e78594ba3761c24ef63a8c6a8194fd4d3b8152006133e26d2c6b6ff164bd5221725bb833f9a469051dfa4aa438f2bfa3fab4e3f74721d8a626e39ff77 ldap0-1.4.10.tar.gz
"