pkgsrc/databases/py-ldap/Makefile
adam 6c3eaedbe5 Changes 2.4.22:
Lib/
* LDIFParser now also accepts value-spec without a space
  after the colon.
* Added key-word argument authz_id to LDAPObject methods
  sasl_non_interactive_bind_s(), sasl_external_bind_s() and
  sasl_gssapi_bind_s()
* Hmmpf! Added missing self to LDAPObject.fileno().
* ReconnectLDAPObject.sasl_bind_s() now correctly uses
  generic wrapper arguments *args,**kwargs
* LDIFParser.parse_change_records() now correctly calls
  LDIFParser.handle_change_modify()
* Corrected ldap.controls.pwdpolicy.__all__

Doc/
* Started missing docs for sub-module ldap.sasl.
2015-12-27 12:11:36 +00:00

35 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.64 2015/12/27 12:11:36 adam Exp $
DISTNAME= python-ldap-2.4.22
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= databases python
MASTER_SITES= http://pypi.python.org/packages/source/p/python-ldap/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.python-ldap.org/
COMMENT= LDAP client API for Python
LICENSE= python-software-foundation
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= 33 34 35 # not yet ported as of 2.4.13
.include "options.mk"
SUBST_CLASSES+= setup
SUBST_STAGE.setup= pre-configure
SUBST_FILES.setup= setup.cfg
SUBST_SED.setup= -e 's|@PY_LDAP_LIBRARY_DIRS@|${PY_LDAP_LIBRARY_DIRS:Q}|'
SUBST_SED.setup+= -e 's|@PY_LDAP_INCLUDE_DIRS@|${PY_LDAP_INCLUDE_DIRS:Q}|'
SUBST_SED.setup+= -e 's|@PY_LDAP_LIBS@|${PY_LDAP_LIBS}|'
USE_TOOLS+= pax
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"