Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2022 23:19:41 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 58f143af6649 - main - devel/py-applicationinsights: Convert to USE_PYTHON=unittest
Message-ID:  <202206092319.259NJfT4042846@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=58f143af66496eb81e88bf63590ea7281f9ac1e0

commit 58f143af66496eb81e88bf63590ea7281f9ac1e0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:10:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:16:02 +0000

    devel/py-applicationinsights: Convert to USE_PYTHON=unittest
    
    - Add TEST_DEPENDS
---
 devel/py-applicationinsights/Makefile | 7 +++----
 1 file 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>



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