From owner-dev-commits-ports-main@freebsd.org Fri Sep 24 11:59:42 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 035C666BFB6; Fri, 24 Sep 2021 11:59:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HG9Z55crTz4lP7; Fri, 24 Sep 2021 11:59:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 974EB1631D; Fri, 24 Sep 2021 11:59:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18OBxfdo054275; Fri, 24 Sep 2021 11:59:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18OBxfwF054274; Fri, 24 Sep 2021 11:59:41 GMT (envelope-from git) Date: Fri, 24 Sep 2021 11:59:41 GMT Message-Id: <202109241159.18OBxfwF054274@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 02a863e38f61 - main - devel/py-mergedeep: Add new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02a863e38f617bb017b05cd02bf584beda18037b Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2021 11:59:42 -0000 The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=02a863e38f617bb017b05cd02bf584beda18037b commit 02a863e38f617bb017b05cd02bf584beda18037b Author: Kai Knoblich AuthorDate: 2021-09-24 11:29:36 +0000 Commit: Kai Knoblich 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 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