svn commit: r489698 - in head: databases databases/py-mongoengine devel

Tobias Kortkamp tobik at FreeBSD.org
Tue Jan 8 15:17:52 UTC 2019


Author: tobik
Date: Tue Jan  8 15:17:50 2019
New Revision: 489698
URL: https://svnweb.freebsd.org/changeset/ports/489698

Log:
  Hook up databases/py-mongoengine after the move and unbreak index
  
  - Also fix _TEST_DEPENDS flavors helper usage
  
  Pointy hat:	dvl

Modified:
  head/databases/Makefile
  head/databases/py-mongoengine/Makefile
  head/devel/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Tue Jan  8 15:17:29 2019	(r489697)
+++ head/databases/Makefile	Tue Jan  8 15:17:50 2019	(r489698)
@@ -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

Modified: head/databases/py-mongoengine/Makefile
==============================================================================
--- head/databases/py-mongoengine/Makefile	Tue Jan  8 15:17:29 2019	(r489697)
+++ head/databases/py-mongoengine/Makefile	Tue Jan  8 15:17:50 2019	(r489698)
@@ -19,16 +19,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymongo>=2.7.1:dat
 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>

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jan  8 15:17:29 2019	(r489697)
+++ head/devel/Makefile	Tue Jan  8 15:17:50 2019	(r489698)
@@ -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


More information about the svn-ports-head mailing list