e0fa650791
Release 2.5.2: * code-cleaning in setup.py Modules/ * PyBytes_ instead of PyString_ and added PyInt_FromLong compat macro * moved code from version.c to ldapmodule.c * removed obsolete back-ward compability constants from common.h * build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x * _ldap.__author__ and _ldap.__license__ also set from ldap.pkginfo * assume C extension API for Python 2.7+ Lib/ * removed all dependencies on modules string and types * removed use of .has_key() * removed class ldap.ldapobject.NonblockingLDAPObject * new global constant ldap.LIBLDAP_API_INFO * right after importing _ldap there is a call into libldap to initialize it * method .decodeControlValue() of SSSResponseControl and VLVResponseControl does not set class attribute result_code anymore * always use bytes() for UUID() constructor in ldap.syncrepl * module ldif now uses functions b64encode() and b64decode() * fixed pickling and restoring of ReconnectLDAPObject * more modules with PEP-8 compliance * ldap.ldapobject split into module-package Tests/ * scripts do not directly call SlapdTestCase.setUpClass() anymore * added LDIF test with folded, base64-encoded attribute * added more tests for sub-module ldap.dn * added tests for ldap.syncrepl
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.81 2017/11/27 10:47:27 adam Exp $
|
|
|
|
DISTNAME= python-ldap-2.5.2
|
|
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-ldap/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://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_ACCEPTED= 27
|
|
|
|
.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"
|