summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-05-30 21:04:40 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2025-05-31 08:56:04 -0700
commit7d3147ab0708a0f0c71ea73a22fa2c0e47de75e2 (patch)
tree24f9455244c74eb76295fa8e78ca8e0c6c47b716
parentsecurity/hexl: update 1.2.5 → 1.2.6 (diff)
devel/py-dotmap: New port: Ordered, dynamically-expandable dot-access dictionary
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-dotmap/Makefile19
-rw-r--r--devel/py-dotmap/distinfo3
-rw-r--r--devel/py-dotmap/pkg-descr8
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7216d3ee921e..e7aa5e91395a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4828,6 +4828,7 @@
SUBDIR += py-doit
SUBDIR += py-domdf-python-tools
SUBDIR += py-donut-shellcode
+ SUBDIR += py-dotmap
SUBDIR += py-dotted
SUBDIR += py-dotty-dict
SUBDIR += py-dpcontracts
diff --git a/devel/py-dotmap/Makefile b/devel/py-dotmap/Makefile
new file mode 100644
index 000000000000..33b47ca9c37b
--- /dev/null
+++ b/devel/py-dotmap/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= dotmap
+DISTVERSION= 1.3.30
+CATEGORIES= devel
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Ordered, dynamically-expandable dot-access dictionary
+WWW= https://github.com/drgrib/dotmap
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-dotmap/distinfo b/devel/py-dotmap/distinfo
new file mode 100644
index 000000000000..a94133baa2c1
--- /dev/null
+++ b/devel/py-dotmap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748658523
+SHA256 (dotmap-1.3.30.tar.gz) = 5821a7933f075fb47563417c0e92e0b7c031158b4c9a6a7e56163479b658b368
+SIZE (dotmap-1.3.30.tar.gz) = 12391
diff --git a/devel/py-dotmap/pkg-descr b/devel/py-dotmap/pkg-descr
new file mode 100644
index 000000000000..7764f7e598c8
--- /dev/null
+++ b/devel/py-dotmap/pkg-descr
@@ -0,0 +1,8 @@
+Dot access dictionary with dynamic hierarchy creation and ordered iteration.
+
+DotMap is a dot-access dict subclass that
+* has dynamic hierarchy creation (autovivification)
+* can be initialized with keys
+* easily initializes from dict
+* easily converts to dict
+* is ordered by insertion