ports/databases/py-mongo/Makefile

42 lines
787 B
Makefile
Raw Normal View History

COMMENT= Python driver for mongodb
2023-08-16 22:26:55 +00:00
MODPY_EGG_VERSION= 4.7.3
DISTNAME= pymongo-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:S/py//}
2023-08-16 22:26:55 +00:00
CATEGORIES= databases devel
2023-08-16 22:26:55 +00:00
HOMEPAGE= https://github.com/mongodb/mongo-python-driver/
2023-08-16 22:26:55 +00:00
# Apache 2.0
PERMIT_PACKAGE= Yes
2023-08-16 22:26:55 +00:00
WANTLIB= pthread ${MODPY_WANTLIB}
2023-08-16 22:26:55 +00:00
MODPY_PI= Yes
2023-08-16 22:26:55 +00:00
MODULES= lang/python
FLAVORS= python3
FLAVOR= python3
2023-08-16 22:26:55 +00:00
MODPY_PYBUILD= setuptools
2023-08-16 22:26:55 +00:00
# unported dep
MODPY_PYTEST_ARGS= --ignore test/mockupdb \
--ignore test/auth_aws/test_auth_aws.py
2023-08-16 22:26:55 +00:00
# needs a running mongodb instance at 127.0.0.1:27017,
2023-08-16 22:26:55 +00:00
# and increased kern.somaxconn, various missing files from the tar.gz
# too it seems
TEST_IS_INTERACTIVE= Yes
2023-08-16 22:26:55 +00:00
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mle}
PKG_ARGS += -Dno_be=1
.else
PKG_ARGS += -Dno_be=0
.endif
.include <bsd.port.mk>