pkgsrc/databases/py-ldap/Makefile
adam 064130a028 Changes 2.4.3:
Lib/
* Mostly corrected/updated __doc__ strings
Doc/
* Corrected rst files
* Added missing modules, functions, classes, methods, parameters etc.
  at least as auto-generated doc

Changes 2.4.2:
Logging:
* pprint.pformat() is now used when writing method/function
  arguments to the trace log
ldap.schema.subentry:
* SubSchema.__init__() now has new key-word argument check_uniqueness
  which enables checking whether OIDs are unique in the subschema subentry
* Code-cleaning: consequent use of method SubSchema.getoid() instead of
  accessing SubSchema.name2oid directly.
* SubSchema.getoid() and SubSchema.getoid() now have key-word argument
  raise_keyerror=0 and raise KeyError with appropriate description.
2011-07-28 08:37:08 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.43 2011/07/28 08:37:08 adam Exp $
DISTNAME= python-ldap-2.4.3
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
PKG_DESTDIR_SUPPORT= user-destdir
EGG_NAME= ${DISTNAME:S/python-ldap/python_ldap/}
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
.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}|'
PY_LDAP_DOCDIR= ${PREFIX}/share/doc/py-ldap
USE_TOOLS+= pax
INSTALLATION_DIRS= ${PY_LDAP_DOCDIR}
post-install:
cd ${WRKSRC} && pax -s,.cvsignore,, -rw CHANGES README INSTALL TODO Demo \
${DESTDIR}${PY_LDAP_DOCDIR}
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"