pkgsrc/databases/py-ldap/Makefile
adam 94191c66d8 Changes 2.4.38:
Lib/slapdtest.py
* SlapdObject now evaluates env var SLAPD for optionally pointing
  to OpenLDAP's slapd executable (e.g. with OpenLDAP LTB builds)
* added LDAPI support in slaptest.SlapdObject which is internally used
  in methods ldapadd() and ldapwhoami()
* added method slaptest.SlapdObject.ldapmodify()
* fixed enabling logger in slaptest
* directory name now contains port to be able to run several SlapdObject
  instances side-by-side (e.g. with replication)
* added authz-regexp mapping to rootdn for user running the test
* internally use SASL/EXTERNAL via LDAPI to bind
* SlapdObject.server_id used as serverID in slapd.conf for MMR
* Removed method SlapdObject.started() because SlapdTestCase.setUpClass()
  will be used to add initial entries

Tests/
* ReconnectLDAPObject is also tested by sub-classing test class
2017-05-05 06:44:22 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.72 2017/05/05 06:44:22 adam Exp $
DISTNAME= python-ldap-2.4.38
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-ldap/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.python-ldap.org/
COMMENT= LDAP client API for Python
LICENSE= python-software-foundation
USE_TOOLS+= pax
PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib
PY_LDAP_INCLUDE_DIRS= ${BUILDLINK_PREFIX.openldap-client}/include
PY_LDAP_LIBS= ldap_r lber ssl crypto
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.4.38
.include "options.mk"
SUBST_CLASSES+= setup
SUBST_STAGE.setup= pre-configure
SUBST_FILES.setup= setup.cfg
SUBST_VARS.setup= PY_LDAP_LIBRARY_DIRS PY_LDAP_INCLUDE_DIRS PY_LDAP_LIBS
REPLACE_PYTHON= Lib/ldap/controls/readentry.py
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"