openbsd-ports/databases/py-ldap/Makefile
mbalmer 4f5ab2fe67 Update to version 2.0.10, released 2005-09-23
Changes since 2.0.9:

Lib/
* Switched back to old implementation of
  ldap.schema.tokenizer.split_tokens() since the new one
  had a bug which deletes the spaces from DESC
* ldap.INSUFFICIENT_ACCESS is now ignored in
  ldap.ldapobject.LDAPObject.search_subschemasubentry_s()
2005-09-23 11:59:02 +00:00

42 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.9 2005/09/23 11:59:02 mbalmer Exp $
SHARED_ONLY= Yes
COMMENT= "LDAP client API for Python"
DISTNAME= python-ldap-2.0.10
PKGNAME= ${DISTNAME:S/python/py/}
CATEGORIES= databases
HOMEPAGE= http://python-ldap.sourceforge.net/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# Python
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= crypto ssl
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
LIB_DEPENDS= ldap_r.7,lber.7::databases/openldap \
sasl2.2::security/cyrus-sasl2
MODULES= lang/python
EXAMPLESDIR= ${PREFIX}/share/examples/py-ldap
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
cd ${WRKSRC}; tar cf - Demo | tar xf - -C ${EXAMPLESDIR}
do-regress: fake
@cd ${WRKSRC}/Tests/Lib && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./test_ldapurl.py
.include <bsd.port.mk>