From 6822b0ad83365da2815c57a06805e11a9aabd209 Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio" Date: Sun, 30 May 2021 08:02:34 -0300 Subject: [PATCH] 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(+) create mode 100644 devel/py-itemadapter/Makefile create mode 100644 devel/py-itemadapter/distinfo create mode 100644 devel/py-itemadapter/pkg-descr 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@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 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/