Date: Mon, 7 Feb 2022 19:59:56 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5b9111c41809 - main - www/py-httpie: implement testing Message-ID: <202202071959.217JxuFR070044@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b9111c41809892a929af934f98c7c0726aa94c2 commit 5b9111c41809892a929af934f98c7c0726aa94c2 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-02-07 19:58:11 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-02-07 19:59:34 +0000 www/py-httpie: implement testing Approved by: portmgr blanket --- www/py-httpie/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/py-httpie/Makefile b/www/py-httpie/Makefile index 4418991b75f9..ca383cfcfc9b 100644 --- a/www/py-httpie/Makefile +++ b/www/py-httpie/Makefile @@ -17,6 +17,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2.0.0:textproc/py-charse ${PYTHON_PKGNAMEPREFIX}pygments>=2.5.2:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multidict>=4.7.0:www/py-multidict@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-httpbin>=0:devel/py-pytest-httpbin@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} USES= cpe python:3.8+ USE_PYTHON= distutils autoplist @@ -25,4 +28,7 @@ USE_GITHUB= yes NO_ARCH= yes +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202071959.217JxuFR070044>