27 lines
760 B
Bash
27 lines
760 B
Bash
# Template file for 'python-ldap3'
|
|
pkgname=python-ldap3
|
|
version=2.6.1
|
|
revision=2
|
|
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=f21d1a65e19ed5a691d7cf30af375e84663254e800ddc950bd7b6f9bb15d2c19
|
|
|
|
python3-ldap3_package() {
|
|
archs=noarch
|
|
depends="python3-pyasn1"
|
|
pycompile_module="ldap3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|