git: dc56fccb09db - main - devel/py-pytest-timeout: Update to 2.1.0

From: Fukang Chen <loader_at_FreeBSD.org>
Date: Sat, 30 Jul 2022 09:18:51 UTC
The branch main has been updated by loader:

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

commit dc56fccb09db7ddeaaaf1202eaf2a95832853134
Author:     Fukang Chen <loader@FreeBSD.org>
AuthorDate: 2022-07-30 06:23:57 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2022-07-30 09:09:00 +0000

    devel/py-pytest-timeout: Update to 2.1.0
    
    - Switch from custom do-test target to USE_PYTHON=pytest
    - Pet portclippy
    
    MFH:    No (feature release)
---
 devel/py-pytest-timeout/Makefile | 15 ++++++---------
 devel/py-pytest-timeout/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/devel/py-pytest-timeout/Makefile b/devel/py-pytest-timeout/Makefile
index 78210b4bb89c..5ffcb3859d19 100644
--- a/devel/py-pytest-timeout/Makefile
+++ b/devel/py-pytest-timeout/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pytest-timeout
-PORTVERSION=	1.4.2
+PORTVERSION=	2.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,18 +10,15 @@ COMMENT=	Pytest plugin to abort hanging tests
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.6.0:devel/py-pytest@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.6.0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=5.0.0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
-
-NO_ARCH=	yes
+USE_PYTHON=	autoplist distutils pytest
 
 TEST_ENV+=	PYTHONPATH=${TEST_WRKSRC}
-do-test:
-	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/py-pytest-timeout/distinfo b/devel/py-pytest-timeout/distinfo
index c30b13ea8928..ff21aa45426d 100644
--- a/devel/py-pytest-timeout/distinfo
+++ b/devel/py-pytest-timeout/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611645002
-SHA256 (pytest-timeout-1.4.2.tar.gz) = 20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
-SIZE (pytest-timeout-1.4.2.tar.gz) = 15424
+TIMESTAMP = 1659146345
+SHA256 (pytest-timeout-2.1.0.tar.gz) = c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9
+SIZE (pytest-timeout-2.1.0.tar.gz) = 18386