git: 1d244cdd602d - main - textproc/py-parso: switch to pytest4

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Mon, 28 Mar 2022 12:51:08 UTC
The branch main has been updated by amdmi3:

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

commit 1d244cdd602dc64184d79d9f9687f918d1fdfe35
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-03-28 12:35:35 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-03-28 12:38:39 +0000

    textproc/py-parso: switch to pytest4
    
    - Switch to pytest4 to avoid test failures after updating pytest to 7.x
    - Don't forget epoch when limiting pytest version
    
    PR:             256624
---
 textproc/py-parso/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textproc/py-parso/Makefile b/textproc/py-parso/Makefile
index d09dc62c93da..1ba42eec5f70 100644
--- a/textproc/py-parso/Makefile
+++ b/textproc/py-parso/Makefile
@@ -12,7 +12,7 @@ COMMENT=	Python Parser
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest<6.0.0:devel/py-pytest@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest4<6.0.0,1:devel/py-pytest4@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR}
 
 USES=		cpe python:3.6+