git: 5dbfff52ed5d - main - devel/py-deprecat: New port: @deprecat decorator to deprecate python classes, functions, methods
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Mar 2022 18:48:20 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5dbfff52ed5df4cd75daa5c311c4aa8cd8c5ad77 commit 5dbfff52ed5df4cd75daa5c311c4aa8cd8c5ad77 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-03-17 17:17:31 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-03-17 18:48:15 +0000 devel/py-deprecat: New port: @deprecat decorator to deprecate python classes, functions, methods --- devel/Makefile | 1 + devel/py-deprecat/Makefile | 20 ++++++++++++++++++++ devel/py-deprecat/distinfo | 3 +++ devel/py-deprecat/pkg-descr | 4 ++++ 4 files changed, 28 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d6ef8b842b16..6378c44bcb02 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4458,6 +4458,7 @@ SUBDIR += py-deepmerge SUBDIR += py-defusedxml SUBDIR += py-demjson + SUBDIR += py-deprecat SUBDIR += py-deprecated SUBDIR += py-deprecation SUBDIR += py-devtools diff --git a/devel/py-deprecat/Makefile b/devel/py-deprecat/Makefile new file mode 100644 index 000000000000..793beaaf099c --- /dev/null +++ b/devel/py-deprecat/Makefile @@ -0,0 +1,20 @@ +PORTNAME= deprecat +PORTVERSION= 2.1.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= @deprecat decorator to deprecate python classes, functions, methods + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wrapt<2,>=1.10:devel/py-wrapt@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-deprecat/distinfo b/devel/py-deprecat/distinfo new file mode 100644 index 000000000000..d2cfecbf8fb9 --- /dev/null +++ b/devel/py-deprecat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1647537140 +SHA256 (deprecat-2.1.1.tar.gz) = d1dfae13ffc2f580b23c0f754e05dc1277814eeb076ced83631264792ec03983 +SIZE (deprecat-2.1.1.tar.gz) = 10204 diff --git a/devel/py-deprecat/pkg-descr b/devel/py-deprecat/pkg-descr new file mode 100644 index 000000000000..9c200267ec39 --- /dev/null +++ b/devel/py-deprecat/pkg-descr @@ -0,0 +1,4 @@ +Python @deprecat decorator to deprecate old python classes, functions +or methods. + +WWW: https://github.com/mjhajharia/deprecat