git: 783f543d5cc2 - main - devel/py-flatdict: Add py-flatdict 4.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:16:40 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=783f543d5cc2b003855cf7e65c142e0cf2c742df

commit 783f543d5cc2b003855cf7e65c142e0cf2c742df
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:09:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:09:54 +0000

    devel/py-flatdict: Add py-flatdict 4.0.1
    
    FlatDict and FlatterDict are a dict classes that allows for single level,
    delimited key/value pair mapping of nested dictionaries. You can interact with
    FlatDict and FlatterDict like a normal dictionary and access child dictionaries
    as you normally would or with the composite key.
---
 devel/Makefile              |  1 +
 devel/py-flatdict/Makefile  | 19 +++++++++++++++++++
 devel/py-flatdict/distinfo  |  3 +++
 devel/py-flatdict/pkg-descr |  4 ++++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a03568249dbc..1fa49e79d380 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4553,6 +4553,7 @@
     SUBDIR += py-flaky
     SUBDIR += py-flask-babel
     SUBDIR += py-flatbuffers
+    SUBDIR += py-flatdict
     SUBDIR += py-flex
     SUBDIR += py-flexmock
     SUBDIR += py-flit
diff --git a/devel/py-flatdict/Makefile b/devel/py-flatdict/Makefile
new file mode 100644
index 000000000000..91da6389ab29
--- /dev/null
+++ b/devel/py-flatdict/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	flatdict
+PORTVERSION=	4.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Interact with nested dicts as a single level dict with delimited keys
+WWW=		https://github.com/gmr/flatdict
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-flatdict/distinfo b/devel/py-flatdict/distinfo
new file mode 100644
index 000000000000..5f9d6689de37
--- /dev/null
+++ b/devel/py-flatdict/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665671878
+SHA256 (flatdict-4.0.1.tar.gz) = cd32f08fd31ed21eb09ebc76f06b6bd12046a24f77beb1fd0281917e47f26742
+SIZE (flatdict-4.0.1.tar.gz) = 8341
diff --git a/devel/py-flatdict/pkg-descr b/devel/py-flatdict/pkg-descr
new file mode 100644
index 000000000000..7273c7ceea2a
--- /dev/null
+++ b/devel/py-flatdict/pkg-descr
@@ -0,0 +1,4 @@
+FlatDict and FlatterDict are a dict classes that allows for single level,
+delimited key/value pair mapping of nested dictionaries. You can interact with
+FlatDict and FlatterDict like a normal dictionary and access child dictionaries
+as you normally would or with the composite key.