diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2018-05-06 21:39:24 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2018-05-06 21:39:24 +0000 |
commit | 00e194c613053e195c6394f5a92a173d0f95c650 (patch) | |
tree | ae81197c4e020293606ac0cabc0da37b3cdf9047 /net/py-ldap0 | |
parent | db23a2053a7ef0f9494a2e481df7a50e47e5bc8a (diff) | |
download | ports-00e194c613053e195c6394f5a92a173d0f95c650.tar.gz ports-00e194c613053e195c6394f5a92a173d0f95c650.zip |
The port only supports python 2.7
Fix pkg-descr while I'm here.
Notes
Notes:
svn path=/head/; revision=469253
Diffstat (limited to 'net/py-ldap0')
-rw-r--r-- | net/py-ldap0/Makefile | 6 | ||||
-rw-r--r-- | net/py-ldap0/pkg-descr | 15 |
2 files changed, 14 insertions, 7 deletions
diff --git a/net/py-ldap0/Makefile b/net/py-ldap0/Makefile index 73e760a070aa..a3ef3125194f 100644 --- a/net/py-ldap0/Makefile +++ b/net/py-ldap0/Makefile @@ -2,6 +2,7 @@ PORTNAME= ldap0 PORTVERSION= 0.0.60 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,11 +12,12 @@ COMMENT= Python module package for implementing LDAP clients LICENSE= PSFL +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} + MAKE_ENV+= INCLUDES=${LOCALBASE}/include WANT_OPENLDAP_SASL=yes -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} -USES= python +USES= python:2.7 USE_OPENLDAP= yes USE_PYTHON= autoplist distutils diff --git a/net/py-ldap0/pkg-descr b/net/py-ldap0/pkg-descr index 170cb112d72b..db6aedf38bb4 100644 --- a/net/py-ldap0/pkg-descr +++ b/net/py-ldap0/pkg-descr @@ -1,6 +1,11 @@ -ldap3 is a pure Python LDAP 3 client library strictly conforming to RFC4511 -released under the LGPL v3 open source license. RFC4511 is the current LDAP -specification (June 2006) from IETF and obsoletes the previous LDAP RFCs -2251, 2830, 3771 (December 1997) +ldap0 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 Python modules: +- parsing and producing LDIF +- handle LDAPURLs +- parse and handle LDAPv3 subschema +- LDAPv3 extended operations and controls +- automatic tests with OpenLDAP server This package is a non-compatible fork of + python-ldap and therefore uses the separate module name-space 'ldap0'. -WWW: https://github.com/cannatag/ldap3 +WWW: https://pypi.org/project/ldap0/#description |