git: 41cd9386a979 - main - devel/py-typeguard: Update to 3.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 04:27:30 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=41cd9386a9792cce9c5127e8038d536d542535a1 commit 41cd9386a9792cce9c5127e8038d536d542535a1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 04:09:04 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 04:09:04 +0000 devel/py-typeguard: Update to 3.0.2 - Convert to USE_PYTHON=pep517 Changes: https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst --- devel/py-typeguard/Makefile | 26 ++++++++++++++++++-------- devel/py-typeguard/distinfo | 6 +++--- devel/py-typeguard/files/patch-pyproject.toml | 10 ++++++++++ 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/devel/py-typeguard/Makefile b/devel/py-typeguard/Makefile index ec79eef03544..3d1b1dbc24bb 100644 --- a/devel/py-typeguard/Makefile +++ b/devel/py-typeguard/Makefile @@ -1,6 +1,5 @@ PORTNAME= typeguard -PORTVERSION= 2.13.3 -PORTREVISION= 1 +PORTVERSION= 3.0.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,14 +11,25 @@ WWW= https://github.com/agronholm/typeguard LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${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} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>=0.991:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR} USES= python:3.5+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-typeguard/distinfo b/devel/py-typeguard/distinfo index 9ec9b0c549fc..86aa81fcafa0 100644 --- a/devel/py-typeguard/distinfo +++ b/devel/py-typeguard/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651316577 -SHA256 (typeguard-2.13.3.tar.gz) = 00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4 -SIZE (typeguard-2.13.3.tar.gz) = 40604 +TIMESTAMP = 1684104476 +SHA256 (typeguard-3.0.2.tar.gz) = fee5297fdb28f8e9efcb8142b5ee219e02375509cd77ea9d270b5af826358d5a +SIZE (typeguard-3.0.2.tar.gz) = 58171 diff --git a/devel/py-typeguard/files/patch-pyproject.toml b/devel/py-typeguard/files/patch-pyproject.toml new file mode 100644 index 000000000000..f592f4a40e1c --- /dev/null +++ b/devel/py-typeguard/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2023-03-22 20:52:35 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + requires = [ +- "setuptools >= 64", ++ "setuptools >= 61", + "setuptools_scm[toml] >= 6.4" + ] + build-backend = "setuptools.build_meta"