Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2022 12:33:08 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: 936a9cc39425 - main - devel/py-unittest2pytest: switch to USES=pytest
Message-ID:  <202204201233.23KCX8LQ063815@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=936a9cc39425d5f6e10cb3161a79bc5ed4619bf6

commit 936a9cc39425d5f6e10cb3161a79bc5ed4619bf6
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-20 11:15:34 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-20 12:32:13 +0000

    devel/py-unittest2pytest: switch to USES=pytest
---
 devel/py-unittest2pytest/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/devel/py-unittest2pytest/Makefile b/devel/py-unittest2pytest/Makefile
index 3da5c7d2d038..f21c4bebb178 100644
--- a/devel/py-unittest2pytest/Makefile
+++ b/devel/py-unittest2pytest/Makefile
@@ -10,13 +10,8 @@ COMMENT=	Convert unittest test-cases to pytest
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING-GPLv3.txt
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-
-USES=		python
+USES=		python pytest
 USE_PYTHON=	autoplist concurrent distutils
 NO_ARCH=	yes
 
-do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
-
 .include <bsd.port.mk>



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