2024-05-26 03:08:12 +00:00
|
|
|
COMMENT= Python driver for mongodb
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-08-12 21:55:32 +00:00
|
|
|
MODPY_EGG_VERSION= 4.7.3
|
2024-05-26 03:08:12 +00:00
|
|
|
DISTNAME= pymongo-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME= py-${DISTNAME:S/py//}
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
CATEGORIES= databases devel
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
HOMEPAGE= https://github.com/mongodb/mongo-python-driver/
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
# Apache 2.0
|
2024-05-26 03:08:12 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
WANTLIB= pthread ${MODPY_WANTLIB}
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
MODPY_PI= Yes
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
MODULES= lang/python
|
|
|
|
FLAVORS= python3
|
|
|
|
FLAVOR= python3
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
MODPY_PYBUILD= setuptools
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
# unported dep
|
2024-05-26 03:08:12 +00:00
|
|
|
MODPY_PYTEST_ARGS= --ignore test/mockupdb \
|
|
|
|
--ignore test/auth_aws/test_auth_aws.py
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +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
|
2024-05-26 03:08:12 +00:00
|
|
|
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>
|