The port only supports python 2.7

Fix pkg-descr while I'm here.
This commit is contained in:
Palle Girgensohn 2018-05-06 21:39:24 +00:00
parent db23a2053a
commit 00e194c613
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469253
2 changed files with 15 additions and 8 deletions

View File

@ -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
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
MAKE_ENV+= INCLUDES=${LOCALBASE}/include
WANT_OPENLDAP_SASL=yes
USES= python:2.7
USE_OPENLDAP= yes
USE_PYTHON= autoplist distutils

View File

@ -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