void-packages/srcpkgs/python-ldap3/template

27 lines
754 B
Bash
Raw Normal View History

2019-01-09 19:46:37 +01:00
# Template file for 'python-ldap3'
pkgname=python-ldap3
version=2.5.2
revision=1
noarch=yes
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() {
noarch=yes
depends="python3-pyasn1"
pycompile_module="ldap3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}