26 lines
758 B
Bash
26 lines
758 B
Bash
# Template file for 'python-ldap3'
|
|
pkgname=python-ldap3
|
|
version=2.6
|
|
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=4efa622b5e27ad24c6ac6c567bcf24163dd63e7c27694db58d6a8c1ad4200b34
|
|
|
|
python3-ldap3_package() {
|
|
archs=noarch
|
|
depends="python3-pyasn1"
|
|
pycompile_module="ldap3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|