Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2025 11:21:57 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e5f3e481c064 - main - devel/py-pytest-asyncio: Update to 1.2.0
Message-ID:  <202510061121.596BLvF6079775@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit e5f3e481c06481052c590b89a55e3e31e0d53d78
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-06 10:15:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-06 10:15:15 +0000

    devel/py-pytest-asyncio: Update to 1.2.0
    
    Changes:        https://github.com/pytest-dev/pytest-asyncio/releases
                    https://pytest-asyncio.readthedocs.io/en/stable/reference/changelog.html
---
 devel/py-pytest-asyncio/Makefile                   | 16 ++++++++++------
 devel/py-pytest-asyncio/distinfo                   |  6 +++---
 devel/py-pytest-asyncio/files/patch-pyproject.toml |  5 +++--
 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" },
  ]


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510061121.596BLvF6079775>