mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +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
43 lines
1 KiB
Text
43 lines
1 KiB
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=py3-pyldap
|
|
_pkgname=python-ldap
|
|
pkgver=3.4.3
|
|
pkgrel=1
|
|
pkgdesc="Python modules for implementing LDAP clients"
|
|
url="https://github.com/python-ldap/python-ldap"
|
|
arch="all"
|
|
license="Python-2.0 AND MIT"
|
|
depends="py3-asn1 py3-asn1-modules"
|
|
checkdepends="
|
|
openldap
|
|
openldap-back-mdb
|
|
openldap-clients
|
|
openldap-overlay-syncprov
|
|
"
|
|
makedepends="python3-dev py3-setuptools openldap-dev"
|
|
replaces="py-pyldap"
|
|
provides="py-pyldap=$pkgver-r$pkgrel"
|
|
source="https://github.com/$_pkgname/$_pkgname/archive/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$_pkgname-$pkgver"
|
|
|
|
case "$CARCH" in
|
|
# FIXME: Some tests fail.
|
|
s390x) options="!check";;
|
|
esac
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
a52403b7d9fc4d114b995640ff34f5aefd313d36cea5ff6de73ea9f46036694ebd43cd9d11382daf3be9da887f62c6675b49d684c05a7d5f0c93d446b16d1981 python-ldap-3.4.3.tar.gz
|
|
"
|