27 lines
758 B
Bash
27 lines
758 B
Bash
# Template file for 'python-ldap3'
|
|
pkgname=python-ldap3
|
|
version=2.5.2
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc=ldap3-${version}
|
|
build_style=python-module
|
|
pycompile_module="ldap3"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-pyasn1"
|
|
short_desc="Strictly RFC 4510 conforming LDAP V3 pure Python client (Python2)"
|
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/cannatag/ldap3"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=e842247dea702368bdecded0ee71c19081cd376c3567fdc7b0eb4546c06ae803
|
|
|
|
python3-ldap3_package() {
|
|
archs=noarch
|
|
depends="python3-pyasn1"
|
|
pycompile_module="ldap3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|