aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pytest-asyncio
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pytest-asyncio')
-rw-r--r--devel/py-pytest-asyncio/Makefile16
-rw-r--r--devel/py-pytest-asyncio/distinfo6
-rw-r--r--devel/py-pytest-asyncio/files/patch-pyproject.toml5
3 files changed, 16 insertions, 11 deletions
diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile
index 1157eaaea0af..8d928922b116 100644
--- a/devel/py-pytest-asyncio/Makefile
+++ b/devel/py-pytest-asyncio/Makefile
@@ -1,9 +1,9 @@
PORTNAME= pytest-asyncio
-DISTVERSION= 1.1.0
+PORTVERSION= 1.2.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= pytest_asyncio-${DISTVERSION}
+DISTNAME= pytest_asyncio-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Pytest support for asyncio
@@ -13,18 +13,22 @@ WWW= https://pytest-asyncio.readthedocs.io/en/stable/ \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=8.2,1<9,1:devel/py-pytest@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=6.2:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=5.7.1:devel/py-hypothesis@${PY_FLAVOR}
-USES= python
+USES= python:3.11+
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
-# tests as of 1.1.0: 23 failed, 145 passed in 214.54s (0:03:34), see https://github.com/pytest-dev/pytest-asyncio/issues/1227
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PYTHON_REL} < 31300
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pytest-asyncio/distinfo b/devel/py-pytest-asyncio/distinfo
index 9989f8ef730a..dc848410287e 100644
--- a/devel/py-pytest-asyncio/distinfo
+++ b/devel/py-pytest-asyncio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757057362
-SHA256 (pytest_asyncio-1.1.0.tar.gz) = 796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea
-SIZE (pytest_asyncio-1.1.0.tar.gz) = 46652
+TIMESTAMP = 1759324148
+SHA256 (pytest_asyncio-1.2.0.tar.gz) = c609a64a2a8768462d0c99811ddb8bd2583c33fd33cf7f21af1c142e824ffb57
+SIZE (pytest_asyncio-1.2.0.tar.gz) = 50119
diff --git a/devel/py-pytest-asyncio/files/patch-pyproject.toml b/devel/py-pytest-asyncio/files/patch-pyproject.toml
index d0998d710688..ccbb5415d6e4 100644
--- a/devel/py-pytest-asyncio/files/patch-pyproject.toml
+++ b/devel/py-pytest-asyncio/files/patch-pyproject.toml
@@ -5,11 +5,11 @@
build-backend = "setuptools.build_meta"
requires = [
- "setuptools>=77",
-+ "setuptools",
++ "setuptools>=61",
"setuptools-scm[toml]>=6.2",
]
-@@ -10,10 +10,6 @@ readme.file = "README.rst"
+@@ -10,10 +10,7 @@ readme.file = "README.rst"
description = "Pytest support for asyncio"
readme.content-type = "text/x-rst"
readme.file = "README.rst"
@@ -17,6 +17,7 @@
-license-files = [
- "LICENSE",
-]
++license = { text = "Apache-2.0" }
maintainers = [
{ name = "Michael Seifert", email = "m.seifert@digitalernachschub.de" },
]