PortSystem 1.0
PortGroup python 1.0

name			py-ldap
version			3.2.0
license			PSF
platforms		darwin
maintainers             nomaintainer
description		object-oriented api for python to access LDAP directory servers
long_description    python-ldap provides an object-oriented API to access \
				LDAP directory servers from Python programs. Mainly it \
				wraps the OpenLDAP 2.x libs for that purpose. \
				Additionally the package contains modules for other \
				LDAP-related stuff (e.g. processing LDIF, LDAPURLs, \
				LDAPv3 schema, etc.).

homepage		http://www.python-ldap.org/
python.rootname python-ldap
checksums       md5    fe22522208dc9b06d16eb70f8553eaab \
                rmd160 846bf38cb166f478f2cf401f889ad7ecd39b05c5 \
                sha256 7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e

python.versions 27 36 37

if {$subport ne $name} {
    depends_build   port:py${python.version}-setuptools
    depends_lib-append	port:openldap

    post-destroot {
        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath} CHANGES INSTALL LICENCE README TODO \
            ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
}