Update devel/py-test-timteout to 1.4.2

The only consumer, www/py-aiohttp is python3-only now, so we can drop the
py2 flavor.

Changelog:
1.4.2
    Fix compatibility when run with pytest pre-releases, thanks Bruno Oliveira,
    Fix detection of third-party debuggers, thanks Bruno Oliveira.

1.4.1
    Fix coverage compatibility which was broken by 1.4.0.

1.4.0
    Better detection of when we are debugging, thanks Mattwmaster58.

All tests pass on amd64. The tests for its only consumer, www/py-aiohttp,
has tests that are currently broken (missing ports cause the tests to
abort rather than fail).

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-test-timeout/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    3 Jul 2020 21:12:50 -0000       1.3
+++ Makefile    16 Mar 2021 02:46:57 -0000
@@ -2,11 +2,10 @@
 
 COMMENT =              pytest plugin to abort hanging tests
 
-MODPY_EGG_VERSION =    1.3.4
+MODPY_EGG_VERSION =    1.4.2
 
 DISTNAME =             pytest-timeout-${MODPY_EGG_VERSION}
 PKGNAME =              ${DISTNAME:S/py/py-/}
-REVISION =             0
 
 CATEGORIES =           devel
 
@@ -24,12 +23,12 @@ MODPY_SETUPTOOLS =  Yes
 MODPY_PYTEST =         Yes
 
 RUN_DEPENDS =          devel/py-test${MODPY_FLAVOR}
-TEST_DEPENDS =         ${FULLPKGNAME}:${FULLPKGPATH} \
-                       devel/py-pexpect${MODPY_FLAVOR}
+TEST_DEPENDS =         devel/py-pexpect${MODPY_FLAVOR} \
+                       devel/py-test-cov${MODPY_FLAVOR}
 
 TEST_ENV +=            PYTHONPATH="."
 
 FLAVORS =              python3
-FLAVOR ?=
+FLAVOR =               python3
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-test-timeout/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    17 Feb 2020 14:18:40 -0000      1.2
+++ distinfo    16 Mar 2021 02:46:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (pytest-timeout-1.3.4.tar.gz) = 
gPqhnNJFpCuHpRaZ1kDADZN8ArdJBSv8prrovb4SxI4=
-SIZE (pytest-timeout-1.3.4.tar.gz) = 12255
+SHA256 (pytest-timeout-1.4.2.tar.gz) = 
ILMRPPbk6Azi1AO2+1bp4bhxtRAlkgbUD/jWCfSL2nY=
+SIZE (pytest-timeout-1.4.2.tar.gz) = 15424
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-test-timeout/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   27 Dec 2019 05:16:59 -0000      1.1.1.1
+++ pkg/PLIST   16 Mar 2021 02:46:57 -0000
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/27 05:16:59 kmos Exp $
+@conflict py-test-cov-*
+@pkgpath devel/py-test-cov
 
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}pytest_timeout.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 
lib/python${MODPY_VERSION}/site-packages/pytest_timeout-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO

Reply via email to