git: 148bf34e9e78 - main - misc/py-wurlitzer: Update to 3.0.3

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Fri, 02 Dec 2022 17:18:07 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=148bf34e9e78ab066ef1030b34108063cb6f9860

commit 148bf34e9e78ab066ef1030b34108063cb6f9860
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-12-02 17:12:37 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-12-02 17:16:44 +0000

    misc/py-wurlitzer: Update to 3.0.3
    
    Move test target to pytest framework
    
    Changelog: https://github.com/minrk/wurlitzer/blob/main/CHANGELOG.md#303
    
    Reported by:    portscout, Repology
---
 misc/py-wurlitzer/Makefile | 9 +++------
 misc/py-wurlitzer/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/misc/py-wurlitzer/Makefile b/misc/py-wurlitzer/Makefile
index ac816488db01..929970e41a45 100644
--- a/misc/py-wurlitzer/Makefile
+++ b/misc/py-wurlitzer/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wurlitzer
-PORTVERSION=	3.0.2
+PORTVERSION=	3.0.3
 CATEGORIES=	misc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,15 +14,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYNUMPY}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${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.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	autoplist concurrent distutils
+PYTEST_ARGS=	test.py
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -x -v test.py
-
 .include <bsd.port.mk>
diff --git a/misc/py-wurlitzer/distinfo b/misc/py-wurlitzer/distinfo
index bd7da6ca57f6..ef6214bc0f69 100644
--- a/misc/py-wurlitzer/distinfo
+++ b/misc/py-wurlitzer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1630005300
-SHA256 (wurlitzer-3.0.2.tar.gz) = 36051ac530ddb461a86b6227c4b09d95f30a1d1043de2b4a592e97ae8a84fcdf
-SIZE (wurlitzer-3.0.2.tar.gz) = 9846
+TIMESTAMP = 1669990536
+SHA256 (wurlitzer-3.0.3.tar.gz) = 224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b
+SIZE (wurlitzer-3.0.3.tar.gz) = 10171