git: efb40dbae2fe - main - devel/py-anyio: Update to 3.7.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 18:51:56 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=efb40dbae2fe11631f7d48e9f866e667f333a490 commit efb40dbae2fe11631f7d48e9f866e667f333a490 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-05 18:39:01 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-05 18:47:00 +0000 devel/py-anyio: Update to 3.7.0 Changes: https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst --- devel/py-anyio/Makefile | 14 ++++++++++---- devel/py-anyio/distinfo | 6 +++--- devel/py-anyio/files/patch-pyproject.toml | 10 ++++++++++ 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/devel/py-anyio/Makefile b/devel/py-anyio/Makefile index dc8004099a60..2a4df76df856 100644 --- a/devel/py-anyio/Makefile +++ b/devel/py-anyio/Makefile @@ -1,5 +1,5 @@ PORTNAME= anyio -PORTVERSION= 3.6.2 +PORTVERSION= 3.7.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,19 +11,21 @@ WWW= https://github.com/agronholm/anyio LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.8:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= TRIO TRIO_DESC= Use trio as backend -TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.16<0.22:net/py-trio@${PY_FLAVOR} +TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0<0.22:net/py-trio@${PY_FLAVOR} .include <bsd.port.pre.mk> @@ -31,4 +33,8 @@ TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.16<0.22:net/py-trio@${PY_FLAVOR RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR} +.endif + .include <bsd.port.post.mk> diff --git a/devel/py-anyio/distinfo b/devel/py-anyio/distinfo index 684fa2900f2c..6b489e0f4058 100644 --- a/devel/py-anyio/distinfo +++ b/devel/py-anyio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669057677 -SHA256 (anyio-3.6.2.tar.gz) = 25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421 -SIZE (anyio-3.6.2.tar.gz) = 140378 +TIMESTAMP = 1685792222 +SHA256 (anyio-3.7.0.tar.gz) = 275d9973793619a5374e1c89a4f4ad3f4b0a5510a2b5b939444bee8f4c4d37ce +SIZE (anyio-3.7.0.tar.gz) = 142737 diff --git a/devel/py-anyio/files/patch-pyproject.toml b/devel/py-anyio/files/patch-pyproject.toml new file mode 100644 index 000000000000..e9bf63a21bb4 --- /dev/null +++ b/devel/py-anyio/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2023-05-27 11:12:17 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + requires = [ +- "setuptools >= 64", ++ "setuptools >= 61", + "setuptools_scm >= 6.4" + ] + build-backend = "setuptools.build_meta"