sthen f4547b3121 update to py-mongo-3.4.0, add py3 support, drop sphinx docs
from Andrew Aldridge with minor tweak
2017-05-24 14:07:11 +00:00

41 lines
744 B
Makefile

# $OpenBSD: Makefile,v 1.8 2017/05/24 14:07:11 sthen Exp $
COMMENT = Python driver for mongodb
MODPY_EGG_VERSION = 3.4.0
DISTNAME = pymongo-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/py//}
CATEGORIES = databases devel
HOMEPAGE = https://github.com/mongodb/mongo-python-driver/
# Apache 2.0
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = pthread ${MODPY_WANTLIB}
MODPY_PI = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR ?=
MODPY_SETUPTOOLS = Yes
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}
# needs a running mongodb instance in 127.0.0.1:27017,
# and increased kern.somaxconn
TEST_IS_INTERACTIVE = Yes
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mle}
PKG_ARGS += -Dno_be=1
.else
PKG_ARGS += -Dno_be=0
.endif
.include <bsd.port.mk>