git: b3b4ee7195e1 - main - devel/py-mypy: fix tests

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 04 May 2022 14:33:14 UTC
The branch main has been updated by amdmi3:

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

commit b3b4ee7195e123dde9ed77db9b3ead9e03628768
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-05-04 14:29:52 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-05-04 14:29:56 +0000

    devel/py-mypy: fix tests
    
    Add typed-ast to TEST_DEPENDS unconditionally as it's always used
    in tests.
    
    Reported by:    reprise
    Approved by:    portmgr blanket
---
 devel/py-mypy/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/py-mypy/Makefile b/devel/py-mypy/Makefile
index bd9604429607..c119527593aa 100644
--- a/devel/py-mypy/Makefile
+++ b/devel/py-mypy/Makefile
@@ -16,7 +16,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0.4.3:devel/py-mypy_extensi
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<2:devel/py-typed-ast@${PY_FLAVOR}
 
 USES=		python:3.5+ pytest
 USE_PYTHON=	autoplist concurrent distutils