aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2022-09-01 06:03:07 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2022-09-01 06:09:26 +0000
commit489a57fc75a4dd078f5bb317f2e6fbacd892bef9 (patch)
treeb332d61e95a271c889b8c151bfd64399a08fa548
parent6b907d49642852cddad918294a273aef94239a01 (diff)
devel/py-attrdict: A dict with attribute-style access
AttrDict is an MIT-licensed library that provides mapping objects that allow their elements to be accessed both as keys and as attributes WWW: https://pypi.python.org/pypi/attrdict
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-attrdict/Makefile16
-rw-r--r--devel/py-attrdict/distinfo3
-rw-r--r--devel/py-attrdict/pkg-descr4
4 files changed, 24 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 203c44ff677e..741f1743a8e9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4152,6 +4152,7 @@
SUBDIR += py-atomiclong
SUBDIR += py-atomicwrites
SUBDIR += py-atpublic
+ SUBDIR += py-attrdict
SUBDIR += py-attrs
SUBDIR += py-attrs-strict
SUBDIR += py-autocommand
diff --git a/devel/py-attrdict/Makefile b/devel/py-attrdict/Makefile
new file mode 100644
index 000000000000..ab6e38c7ddc0
--- /dev/null
+++ b/devel/py-attrdict/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= attrdict
+DISTVERSION= 2.0.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lbartoletti@FreeBSD.org
+COMMENT= Python dict with attribute-style access
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-attrdict/distinfo b/devel/py-attrdict/distinfo
new file mode 100644
index 000000000000..ce8f32649346
--- /dev/null
+++ b/devel/py-attrdict/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661950493
+SHA256 (attrdict-2.0.1.tar.gz) = 35c90698b55c683946091177177a9e9c0713a0860f0e049febd72649ccd77b70
+SIZE (attrdict-2.0.1.tar.gz) = 9593
diff --git a/devel/py-attrdict/pkg-descr b/devel/py-attrdict/pkg-descr
new file mode 100644
index 000000000000..040b7f684dd8
--- /dev/null
+++ b/devel/py-attrdict/pkg-descr
@@ -0,0 +1,4 @@
+AttrDict is an MIT-licensed library that provides mapping objects that allow
+their elements to be accessed both as keys and as attributes
+
+WWW: https://pypi.python.org/pypi/attrdict