Hook up databases/py-mongoengine after the move and unbreak index

- Also fix _TEST_DEPENDS flavors helper usage

Pointy hat:	dvl
This commit is contained in:
Tobias Kortkamp 2019-01-08 15:17:50 +00:00
parent a425c2eb2a
commit 34433c8ea3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489698
3 changed files with 3 additions and 8 deletions

View file

@ -796,6 +796,7 @@
SUBDIR += py-leveldb
SUBDIR += py-lmdb
SUBDIR += py-marshmallow-sqlalchemy
SUBDIR += py-mongoengine
SUBDIR += py-motor
SUBDIR += py-mycli
SUBDIR += py-mysql-connector-python

View file

@ -19,16 +19,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.7.1:databases/pymongo@${PY_FLAVOR
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=2.0.0:graphics/py-pillow@${PY_FLAVOR}
py27_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_VER} == 2.7
py27_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}
.endif
# bson is provided by pymongo
post-patch:
@${RM} -r ${WRKSRC}/bson
@ -36,4 +31,4 @@ post-patch:
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -4703,7 +4703,6 @@
SUBDIR += py-mock
SUBDIR += py-molecule
SUBDIR += py-mondrian
SUBDIR += py-mongoengine
SUBDIR += py-mongokit
SUBDIR += py-monotonic
SUBDIR += py-monty