git: ccda7ec0c6f2 - main - devel/py-pep562: Add py-pep562 1.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed May 26 12:58:07 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ccda7ec0c6f2c3c44ba22ed653bfcbe0d003df30
commit ccda7ec0c6f2c3c44ba22ed653bfcbe0d003df30
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-26 12:54:13 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-26 12:54:13 +0000
devel/py-pep562: Add py-pep562 1.1
A backport of PEP 562. Allows controlling a module's __dir__ and __getattr__.
Useful for deprecating attributes.
WWW: https://github.com/facelessuser/pep562
---
devel/Makefile | 1 +
devel/py-pep562/Makefile | 20 ++++++++++++++++++++
devel/py-pep562/distinfo | 3 +++
devel/py-pep562/pkg-descr | 4 ++++
4 files changed, 28 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index ae6944691329..f69aa12123f7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4816,6 +4816,7 @@
SUBDIR += py-pefile
SUBDIR += py-pendulum
SUBDIR += py-pep517
+ SUBDIR += py-pep562
SUBDIR += py-pep8-naming
SUBDIR += py-period
SUBDIR += py-persistent
diff --git a/devel/py-pep562/Makefile b/devel/py-pep562/Makefile
new file mode 100644
index 000000000000..60c1cb071aa2
--- /dev/null
+++ b/devel/py-pep562/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= pep562
+PORTVERSION= 1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Backport of PEP 562
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pep562/distinfo b/devel/py-pep562/distinfo
new file mode 100644
index 000000000000..45fd968539d0
--- /dev/null
+++ b/devel/py-pep562/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621699671
+SHA256 (pep562-1.1.tar.gz) = f8bc94a273dd45bd81a06a57c04bc57fd46f9c054c1354fa056044ceba2f0605
+SIZE (pep562-1.1.tar.gz) = 9984
diff --git a/devel/py-pep562/pkg-descr b/devel/py-pep562/pkg-descr
new file mode 100644
index 000000000000..00540bab3c4a
--- /dev/null
+++ b/devel/py-pep562/pkg-descr
@@ -0,0 +1,4 @@
+A backport of PEP 562. Allows controlling a module's __dir__ and __getattr__.
+Useful for deprecating attributes.
+
+WWW: https://github.com/facelessuser/pep562
More information about the dev-commits-ports-all
mailing list