Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2022 23:20:11 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: ab228ce60a8d - main - devel/py-sniffio: Convert to USE_PYTHON=pytest
Message-ID:  <202206092320.259NKB0Z047193@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=ab228ce60a8d9e96bea9ddc545ff7731a66cf481

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

    devel/py-sniffio: Convert to USE_PYTHON=pytest
---
 devel/py-sniffio/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/devel/py-sniffio/Makefile b/devel/py-sniffio/Makefile
index ca2747cd4c15..e0efc7c8acbd 100644
--- a/devel/py-sniffio/Makefile
+++ b/devel/py-sniffio/Makefile
@@ -15,15 +15,11 @@ LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.APACHE2
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.MIT
 
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curio>=0:devel/py-curio@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-
 .include <bsd.port.mk>



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