HomeFreeBSD

net/ldap0: Update to 0.6.8 [1]

Description

net/ldap0: Update to 0.6.8 [1]

Note: ldap0 is Python 3.x only since 0.3.0

While I'm here, level up ports compliance and fix ports issues:

  • Match COMMENT to setup.py:description
  • Match *_DEPENDS (and versions) to setup.py:*_requires
  • Add TEST_* variables and test (QA) target [1][2]
  • Replace setup.py INCLUDES patch with setuptools build_ext commands which honour environment variables
  • Strip extension/library
  • Patch setup.cfg to remove unconditional debug builds
  • Update pkg-descr formatting and WWW url (to match setup.py:homepage)

[1] It's possible to make the unconditional requirement to HAVE_SASL,

ie: a requirement to have a SASL enabled openldap client, optional, by
conditionally adding --undef HAVE_SASL to PYDISTUTILS_BUILDARGS
depending on WANT_OPENLDAP_SASL, but the ldap0 tests unconditionally
run a number of unconditional sasl based tests. These tests should be
made to skip (not fail) if SASL is not available, and the port made to
support non-SASL based configuration. TODO: Upstream test improvements.

[2] WANT_OPENLDAP_SASL currently only results in the openldap-client being

SASL enabled, but doesn't affect the openldap-server port. There's no
way at present to require/force a SASL enabled openldap-server port,
which doesn't enable the SASL option by default either. A slave port
(openldap24-sasl-server, matching client slave port) that enables the
SASL option would be great.

portlint: OK (looks fine.)
testport: OK (poudriere: 12amd64, Python 3.7)
maketest: OK (Ran 248 tests: (skipped=12, expected failures=3))

PR: 242043 [1]
Submitted by: <geraud gcu info> [1]
Approved by: portmgr (maintainer timeout: > 1 months, blanket: ports compliance)

Details

Provenance
koobsAuthored on
Parents
rP522844: Update cubicsdr snapshot version from github
Branches
Unknown
Tags
Unknown