diff --git a/srcpkgs/python-ldap3/template b/srcpkgs/python-ldap3/template new file mode 100644 index 00000000000..a1206479629 --- /dev/null +++ b/srcpkgs/python-ldap3/template @@ -0,0 +1,26 @@ +# 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 " +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*" + } +} diff --git a/srcpkgs/python3-ldap3 b/srcpkgs/python3-ldap3 new file mode 120000 index 00000000000..2efd71661a1 --- /dev/null +++ b/srcpkgs/python3-ldap3 @@ -0,0 +1 @@ +python-ldap3 \ No newline at end of file