Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 09:52:52 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508369 - head/www/py-django22
Message-ID:  <201908080952.x789qqSq005117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Thu Aug  8 09:52:52 2019
New Revision: 508369
URL: https://svnweb.freebsd.org/changeset/ports/508369

Log:
  - Add TEST_DEPENDS and do-test

Modified:
  head/www/py-django22/Makefile

Modified: head/www/py-django22/Makefile
==============================================================================
--- head/www/py-django22/Makefile	Thu Aug  8 09:30:04 2019	(r508368)
+++ head/www/py-django22/Makefile	Thu Aug  8 09:52:52 2019	(r508369)
@@ -19,6 +19,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}
 
 NO_ARCH=	yes
 USES=		cpe python:3.5+ shebangfix
@@ -61,5 +62,8 @@ post-install:
 post-install-HTMLDOCS-on:
 	${MKDIR} ${STAGEDIR}/${DOCSDIR}
 	${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR}
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908080952.x789qqSq005117>