Ldaptor is a pure-Python library that implements:
* LDAP client logic
* separately-accessible LDAP and BER protocol message generation/parsing
* ASCII-format LDAP filter generation and parsing
* LDIF format data generation
* Samba password changing logic
Also included is a web-based user interface to search and edit information in
an LDAP directory and a set of LDAP utilities for use from the command line.
WWW: https://github.com/antong/ldaptor
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
net/py-ldaptor: Limit to 2.7 (Does not support Python 3.x)
This port depends on Twisted, which supports Python 3.x as of a number of
versions ago for some growing number of its components. On initial view, ldaptor
appears inconsistent (at least not explicit) in its state of Python 3.x support
for its latest version (16.0.0, not this ports version, 0.0.43)
- A Python 3 compatible wheel is available on PyPI
- Python 3.3-3.5 are included in tox.ini for testing
However:
- Travis CI configuration only tests with 2.7
- Open "Python3 support #55" upstream issue [1]
(Only the first 15 lines of the commit message are shown above )
Use setuptools for all Python ports.
Setuptools is the preferred method to manage Python distributions after
many changes to the packaging ecosystem over the past couple of years.
Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using
USE_PYDISTUTILS= easy_install remains the same however this usage is now
deprecated and should be converted to USE_PYDISTUTILS= yes.
Some Python distributions do not work with setuptools out of the box because
they extend the install command from distutils and not setuptools, and
so they need to be patched accordingly.
pip (which leverages setuptools) works around the issue by using eggs, however
we want to get rid of those as well, as support for "flat" installation is
(Only the first 15 lines of the commit message are shown above )
New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
USE_TWISTED= yes
USE_TWISTED= conch names
USE_TWISTED_RUN= yes
you now would write
USES= twisted
USES= twisted:conch,names
USES= twisted:run
Ldaptor is a pure-Python library that implements:
* LDAP client logic
* separately-accessible LDAP and BER protocol message generation/parsing
* ASCII-format LDAP filter generation and parsing
* LDIF format data generation
* Samba password changing logic
Also included is a web-based user interface to search and edit information in
an LDAP directory and a set of LDAP utilities for use from the command line.
WWW: http://github.com/antong/ldaptor
PR: ports/157738
Submitted by: Attila Nagy <bra@fsn.hu>