openbsd-ports/databases/py-ldap0/Makefile

38 lines
749 B
Makefile

COMMENT = provides an API to access LDAP directory servers for Python
FIX_EXTRACT_PERMISSIONS = Yes
MODPY_EGG_VERSION = 1.4.9
REVISION = 0
DISTNAME = ldap0-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = databases devel
HOMEPAGE = https://code.stroeder.com/pymod/python-ldap0
MAINTAINER = Lucas Raab <tuftedocelot@fastmail.fm>
# Apache 2.0
PERMIT_PACKAGE = Yes
WANTLIB += ${MODPY_WANTLIB} pthread ldap
MODULES = lang/python
FLAVOR = python3
FLAVORS = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
# tests not shipped on PyPi
NO_TEST = Yes
LIB_DEPENDS += databases/openldap
RUN_DEPENDS = devel/py-asn1${MODPY_FLAVOR} \
devel/py-asn1-modules${MODPY_FLAVOR}
MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
.include <bsd.port.mk>