Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2021 11:59:41 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 02a863e38f61 - main - devel/py-mergedeep: Add new port
Message-ID:  <202109241159.18OBxfwF054274@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02a863e38f617bb017b05cd02bf584beda18037b

commit 02a863e38f617bb017b05cd02bf584beda18037b
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-09-24 11:29:36 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-09-24 11:57:55 +0000

    devel/py-mergedeep: Add new port
    
    This package makes the merging of Python dictonaries easier.  It offers
    following features:
    
    * Deep merge without mutating the source dicts.
    * Deep merge into an existing dict.
    
    The functions provide merge strategies as well:
    
    * Replace (default)
    * Additive
    * Typesafe replace
    * Typesafe additive
    
    WWW: https://github.com/clarketm/mergedeep
---
 devel/Makefile               |  1 +
 devel/py-mergedeep/Makefile  | 18 ++++++++++++++++++
 devel/py-mergedeep/distinfo  |  3 +++
 devel/py-mergedeep/pkg-descr | 14 ++++++++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 6b1ae3f96095..309faed41cd2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4711,6 +4711,7 @@
     SUBDIR += py-medikit
     SUBDIR += py-meliae
     SUBDIR += py-memory-profiler
+    SUBDIR += py-mergedeep
     SUBDIR += py-microversion-parse
     SUBDIR += py-milc
     SUBDIR += py-mime
diff --git a/devel/py-mergedeep/Makefile b/devel/py-mergedeep/Makefile
new file mode 100644
index 000000000000..d59e618cfaff
--- /dev/null
+++ b/devel/py-mergedeep/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	mergedeep
+DISTVERSION=	1.3.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Deep merge function for Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-mergedeep/distinfo b/devel/py-mergedeep/distinfo
new file mode 100644
index 000000000000..01f5bb1aeee8
--- /dev/null
+++ b/devel/py-mergedeep/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1631895945
+SHA256 (mergedeep-1.3.4.tar.gz) = 0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8
+SIZE (mergedeep-1.3.4.tar.gz) = 4661
diff --git a/devel/py-mergedeep/pkg-descr b/devel/py-mergedeep/pkg-descr
new file mode 100644
index 000000000000..cdd66c3eea77
--- /dev/null
+++ b/devel/py-mergedeep/pkg-descr
@@ -0,0 +1,14 @@
+This package makes the merging of Python dictonaries easier.  It offers
+following features:
+
+* Deep merge without mutating the source dicts.
+* Deep merge into an existing dict.
+
+The functions provide merge strategies as well:
+
+* Replace (default)
+* Additive
+* Typesafe replace
+* Typesafe additive
+
+WWW: https://github.com/clarketm/mergedeep



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109241159.18OBxfwF054274>