git: c11512de0570 - main - devel/py-pytest-asyncio: update to 0.18.2

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 08 Apr 2022 15:28:49 UTC
The branch main has been updated by amdmi3:

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

commit c11512de05705ac6b2099551144d1b4f3d0b6e0e
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-03-25 19:14:57 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-08 15:27:02 +0000

    devel/py-pytest-asyncio: update to 0.18.2
    
    PR:             256624, 262884
    Approved by:    jbeich (maintainer)
---
 devel/py-pytest-asyncio/Makefile | 20 ++++++++++++++++----
 devel/py-pytest-asyncio/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile
index dd1bac84768e..ff9fe7c528c4 100644
--- a/devel/py-pytest-asyncio/Makefile
+++ b/devel/py-pytest-asyncio/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pytest-asyncio
-PORTVERSION=	0.10.0
+PORTVERSION=	0.18.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,22 @@ LICENSE=	APACHE20
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}pytest4-asyncio
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.6:devel/py-pytest@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flaky>=3.7.0:devel/py-flaky@${PY_FLAVOR}
 
 NO_ARCH=	yes
-USES=		python:3.5+
+USES=		python:3.7+
 USE_PYTHON=	autoplist distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pytest-asyncio/distinfo b/devel/py-pytest-asyncio/distinfo
index 1378944ef27e..4f7492e8ad5c 100644
--- a/devel/py-pytest-asyncio/distinfo
+++ b/devel/py-pytest-asyncio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546907123
-SHA256 (pytest-asyncio-0.10.0.tar.gz) = 9fac5100fd716cbecf6ef89233e8590a4ad61d729d1732e0a96b84182df1daaf
-SIZE (pytest-asyncio-0.10.0.tar.gz) = 11765
+TIMESTAMP = 1648048464
+SHA256 (pytest-asyncio-0.18.2.tar.gz) = fc8e4190f33fee7797cc7f1829f46a82c213f088af5d1bb5d4e454fe87e6cdc2
+SIZE (pytest-asyncio-0.18.2.tar.gz) = 32091