git: 89ef12c18e97 - main - devel/py-easydict: New port: Access dict values as attributes, which works recursively
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Dec 2023 06:17:17 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=89ef12c18e97e4ce2d0b6b2f9a823081679f1d43
commit 89ef12c18e97e4ce2d0b6b2f9a823081679f1d43
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-26 02:28:54 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-26 06:17:07 +0000
devel/py-easydict: New port: Access dict values as attributes, which works recursively
---
devel/Makefile | 1 +
devel/py-easydict/Makefile | 19 +++++++++++++++++++
devel/py-easydict/distinfo | 3 +++
devel/py-easydict/pkg-descr | 2 ++
4 files changed, 25 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 14db50b284c5..a61fd14dbe81 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4627,6 +4627,7 @@
SUBDIR += py-dunamai
SUBDIR += py-durus
SUBDIR += py-dynrules
+ SUBDIR += py-easydict
SUBDIR += py-easyprocess
SUBDIR += py-editables
SUBDIR += py-editdistance
diff --git a/devel/py-easydict/Makefile b/devel/py-easydict/Makefile
new file mode 100644
index 000000000000..a40f559dcf31
--- /dev/null
+++ b/devel/py-easydict/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= easydict
+PORTVERSION= 1.11
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Access dict values as attributes, which works recursively
+WWW= https://github.com/makinacorpus/easydict
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils autoplist concurrent
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-easydict/distinfo b/devel/py-easydict/distinfo
new file mode 100644
index 000000000000..61bb8a55123e
--- /dev/null
+++ b/devel/py-easydict/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703557591
+SHA256 (easydict-1.11.tar.gz) = dcb1d2ed28eb300c8e46cd371340373abc62f7c14d6dea74fdfc6f1069061c78
+SIZE (easydict-1.11.tar.gz) = 6644
diff --git a/devel/py-easydict/pkg-descr b/devel/py-easydict/pkg-descr
new file mode 100644
index 000000000000..8b881899e73e
--- /dev/null
+++ b/devel/py-easydict/pkg-descr
@@ -0,0 +1,2 @@
+EasyDict allows to access dict values as attributes (works recursively).
+A Javascript-like properties dot notation for python dicts.