aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-03-25 19:14:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-08 15:27:02 +0000
commitc11512de05705ac6b2099551144d1b4f3d0b6e0e (patch)
tree8846e3efa3cc370b7af831720f428a9fb3510165
parent2ada39de05b12da1d1083c40ad676c061b6e8a70 (diff)
downloadports-c11512de05705ac6b2099551144d1b4f3d0b6e0e.tar.gz
ports-c11512de05705ac6b2099551144d1b4f3d0b6e0e.zip
devel/py-pytest-asyncio: update to 0.18.2
PR: 256624, 262884 Approved by: jbeich (maintainer)
-rw-r--r--devel/py-pytest-asyncio/Makefile20
-rw-r--r--devel/py-pytest-asyncio/distinfo6
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