Date: Sat, 30 Apr 2022 16:02:40 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: c2b8a0d17acb - main - devel/py-typeguard: Add py-typeguard 2.13.3 Message-ID: <202204301602.23UG2eli008880@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2b8a0d17acb134e8c5e81ff5a736263541c2696 commit c2b8a0d17acb134e8c5e81ff5a736263541c2696 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-30 15:56:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-30 15:56:07 +0000 devel/py-typeguard: Add py-typeguard 2.13.3 This library provides runtime type checking for functions defined with PEP 484 argument (and return) type annotations. WWW: https://github.com/agronholm/typeguard --- devel/Makefile | 1 + devel/py-typeguard/Makefile | 24 ++++++++++++++++++++++++ devel/py-typeguard/distinfo | 3 +++ devel/py-typeguard/pkg-descr | 4 ++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index dfbe04d1830f..2d43f56ae479 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5360,6 +5360,7 @@ SUBDIR += py-txaio SUBDIR += py-typechecks SUBDIR += py-typed-ast + SUBDIR += py-typeguard SUBDIR += py-typer SUBDIR += py-types-Flask SUBDIR += py-types-Jinja2 diff --git a/devel/py-typeguard/Makefile b/devel/py-typeguard/Makefile new file mode 100644 index 000000000000..87065bc69fb3 --- /dev/null +++ b/devel/py-typeguard/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= typeguard +PORTVERSION= 2.13.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Runtime type checker for Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +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} + +USES= python:3.5+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-typeguard/distinfo b/devel/py-typeguard/distinfo new file mode 100644 index 000000000000..9ec9b0c549fc --- /dev/null +++ b/devel/py-typeguard/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651316577 +SHA256 (typeguard-2.13.3.tar.gz) = 00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4 +SIZE (typeguard-2.13.3.tar.gz) = 40604 diff --git a/devel/py-typeguard/pkg-descr b/devel/py-typeguard/pkg-descr new file mode 100644 index 000000000000..c4bbf9337347 --- /dev/null +++ b/devel/py-typeguard/pkg-descr @@ -0,0 +1,4 @@ +This library provides runtime type checking for functions defined with PEP 484 +argument (and return) type annotations. + +WWW: https://github.com/agronholm/typeguard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204301602.23UG2eli008880>