aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:10:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:16:02 +0000
commit58f143af66496eb81e88bf63590ea7281f9ac1e0 (patch)
treeb4a5c64f474bb2d21a2dad62bfe91c1447b517ee
parentff3b5dbd10baf2944009c06399575ac9cafedf99 (diff)
downloadports-58f143af66496eb81e88bf63590ea7281f9ac1e0.tar.gz
ports-58f143af66496eb81e88bf63590ea7281f9ac1e0.zip
devel/py-applicationinsights: Convert to USE_PYTHON=unittest
- Add TEST_DEPENDS
-rw-r--r--devel/py-applicationinsights/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/py-applicationinsights/Makefile b/devel/py-applicationinsights/Makefile
index f843ac1ee6a2..c9759c19021a 100644
--- a/devel/py-applicationinsights/Makefile
+++ b/devel/py-applicationinsights/Makefile
@@ -10,12 +10,11 @@ COMMENT= Applications Insights SDK for Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=0:www/py-django32@${PY_FLAVOR}
+
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils unittest
NO_ARCH= yes
-do-test:
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
-
.include <bsd.port.mk>