git: 6822b0ad8336 - main - devel/py-itemadapter: Common interface for data container classes in Python
Danilo G. Baio
dbaio at FreeBSD.org
Sun May 30 11:22:55 UTC 2021
The branch main has been updated by dbaio:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6822b0ad83365da2815c57a06805e11a9aabd209
commit 6822b0ad83365da2815c57a06805e11a9aabd209
Author: Danilo G. Baio <dbaio at FreeBSD.org>
AuthorDate: 2021-05-30 11:02:34 +0000
Commit: Danilo G. Baio <dbaio at FreeBSD.org>
CommitDate: 2021-05-30 11:21:41 +0000
devel/py-itemadapter: Common interface for data container classes in Python
The ItemAdapter class is a wrapper for data container objects, providing a
common interface to handle objects of different types in an uniform manner,
regardless of their underlying implementation.
WWW: https://pypi.org/project/itemadapter/
---
devel/Makefile | 1 +
devel/py-itemadapter/Makefile | 18 ++++++++++++++++++
devel/py-itemadapter/distinfo | 3 +++
devel/py-itemadapter/pkg-descr | 5 +++++
4 files changed, 27 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 211bb57d56d0..150cd70f8465 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4555,6 +4555,7 @@
SUBDIR += py-isodate
SUBDIR += py-isort
SUBDIR += py-itanium_demangler
+ SUBDIR += py-itemadapter
SUBDIR += py-iterpipes
SUBDIR += py-itypes
SUBDIR += py-jaraco
diff --git a/devel/py-itemadapter/Makefile b/devel/py-itemadapter/Makefile
new file mode 100644
index 000000000000..3c892228b705
--- /dev/null
+++ b/devel/py-itemadapter/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= itemadapter
+DISTVERSION= 0.2.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dbaio at FreeBSD.org
+COMMENT= Common interface for data container classes in Python
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-itemadapter/distinfo b/devel/py-itemadapter/distinfo
new file mode 100644
index 000000000000..cbd3eccb39de
--- /dev/null
+++ b/devel/py-itemadapter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622321907
+SHA256 (itemadapter-0.2.0.tar.gz) = cb7aaa577fefe2aa6f229ccf4d058e05f44e0178a98c8fb70ee4d95acfabb423
+SIZE (itemadapter-0.2.0.tar.gz) = 12197
diff --git a/devel/py-itemadapter/pkg-descr b/devel/py-itemadapter/pkg-descr
new file mode 100644
index 000000000000..14333b97dbe9
--- /dev/null
+++ b/devel/py-itemadapter/pkg-descr
@@ -0,0 +1,5 @@
+The ItemAdapter class is a wrapper for data container objects, providing a
+common interface to handle objects of different types in an uniform manner,
+regardless of their underlying implementation.
+
+WWW: https://pypi.org/project/itemadapter/
More information about the dev-commits-ports-all
mailing list