git: 489a57fc75a4 - main - devel/py-attrdict: A dict with attribute-style access

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Thu, 01 Sep 2022 06:49:07 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=489a57fc75a4dd078f5bb317f2e6fbacd892bef9

commit 489a57fc75a4dd078f5bb317f2e6fbacd892bef9
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-09-01 06:03:07 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-09-01 06:09:26 +0000

    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
---
 devel/Makefile              |  1 +
 devel/py-attrdict/Makefile  | 16 ++++++++++++++++
 devel/py-attrdict/distinfo  |  3 +++
 devel/py-attrdict/pkg-descr |  4 ++++
 4 files changed, 24 insertions(+)

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