From nobody Fri May 13 11:44:20 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D435C1AD5601; Fri, 13 May 2022 11:44:20 +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 4L06Hm5FF1z3rT6; Fri, 13 May 2022 11:44:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652442260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G1iVWpaMIv3+X4CLZyhIGQCrftZRZfctjwKKPj1fyK0=; b=czgKWHIMnPDUqbRaEKYBhzDAhK9ulez8uNRsfvxlP0w6yfUpe86+m0mNQpEvvUpcW02gzq BSTpnPe9hCDgGmdV5PcwHf2B48uJF5OagavIPxurZwD+C72PDCKaKDzOoQzZDohaDF5fng agOTdkwdn0Rz8ZzxW73qtaO4nsYFIvOtzfzVwwVwcU9u8EBgH4+eFecV35TzSCxPa+LQ0n b2B6Mss5XBaJlJnd/+8IMImXSMLlBl/rJJwlAtoFeTJc4W/I1Vh+or8f7hmCGtVTn6DWXe Tn9PGF7Kw1brNfuYdUREe+fKfNF35z8pxqk0G2Y5npMnpvVd2w5R2dzQJVEh5w== 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 94E8721A6B; Fri, 13 May 2022 11:44:20 +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 24DBiKou062276; Fri, 13 May 2022 11:44:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DBiK8W062275; Fri, 13 May 2022 11:44:20 GMT (envelope-from git) Date: Fri, 13 May 2022 11:44:20 GMT Message-Id: <202205131144.24DBiK8W062275@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a05d655abf0d - main - devel/py-configupdater: Add py-configupdater 3.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a05d655abf0dce49f1b62f6193c18464873e4611 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652442260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G1iVWpaMIv3+X4CLZyhIGQCrftZRZfctjwKKPj1fyK0=; b=FxrHNm5hXf3P4kpOBTQl3TH7PTuRKwGwisDjYbEthff9TexdN9kCuL2z9d8uN18qmfB67H JqtQElHRUrYpHYaCo6peXbOQ2zrN8V9o617xdcuaFPV3erQRcGMEtZTlghYcxMCfUZpDdJ Kh93WNkce2PLwJZog+peXXzhcl32+Sbje2r/ktnQXA6DPajI9daQnWDd/UKmqQ7az1WuZu ZfnGa1SDPbaqIittIkZOQv/VDa8WMBrkifunKh/B3TvefWuGZysJzg6lFx9jnQ/gGMXvoe w2cMcINJqcUCClhPW10IYXkT36Asflxq31gih6JjVz1I1XgVEUWWS4d0VrX1/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652442260; a=rsa-sha256; cv=none; b=trRH6nV76Lx2t9tQdo2qihk0CU7fig7dH9mnvsuLYc2trQGTApUrjx7A1sdrcQlTNZpFyR h+frZ8PzDabBU9/iKRiUXMDMm2sHV7sBRnlwy8g7+XRsrPqixYtlLKJMqT2UHKK3sFXAPP syFFgNckgxbXM2qy0TId9iGAzzb6aNkcdr9aPf7ZEIZpqiFErC2esHuFVH6p1edZz1Uygl ljrwQrvw6akSrAZuJrYRTaxNQ0kTd+BgISWNDQJlY6MLvMm4hBckdIYY7Qmv4yB4UuZ3IM 7h5D5xWHRX1Qm7XBrtNi0MIzTZkNVcBuDFmC8PULKvc+67nyu7iVXncFwZgMeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a05d655abf0dce49f1b62f6193c18464873e4611 commit a05d655abf0dce49f1b62f6193c18464873e4611 Author: Po-Chuan Hsieh AuthorDate: 2022-05-13 11:27:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-05-13 11:39:09 +0000 devel/py-configupdater: Add py-configupdater 3.1 The sole purpose of ConfigUpdater is to easily update an INI config file with no changes to the original file except the intended ones. This means comments, the ordering of sections and key/value-pairs as wells as their cases are kept as in the original file. Thus ConfigUpdater provides complementary functionality to Python's ConfigParser which is primarily meant for reading config files and writing new ones. WWW: https://github.com/pyscaffold/configupdater --- devel/Makefile | 1 + devel/py-configupdater/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-configupdater/distinfo | 3 +++ devel/py-configupdater/pkg-descr | 8 ++++++++ 4 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d4bf64cc27f8..7c75efa5c610 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4400,6 +4400,7 @@ SUBDIR += py-configargparse SUBDIR += py-configobj SUBDIR += py-configparser + SUBDIR += py-configupdater SUBDIR += py-confusable_homoglyphs SUBDIR += py-confuse SUBDIR += py-connection_pool diff --git a/devel/py-configupdater/Makefile b/devel/py-configupdater/Makefile new file mode 100644 index 000000000000..04f43aa4ed88 --- /dev/null +++ b/devel/py-configupdater/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= configupdater +PORTVERSION= 3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ConfigUpdater-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parser like ConfigParser but for updating configuration files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=5:devel/py-setuptools_scm@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-configupdater/distinfo b/devel/py-configupdater/distinfo new file mode 100644 index 000000000000..ddc03348a1d9 --- /dev/null +++ b/devel/py-configupdater/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1652122525 +SHA256 (ConfigUpdater-3.1.tar.gz) = ddcc5250f508b9131c45fd1dbceae3f112907ddd7597da1cff30c51bf7c87edb +SIZE (ConfigUpdater-3.1.tar.gz) = 139877 diff --git a/devel/py-configupdater/pkg-descr b/devel/py-configupdater/pkg-descr new file mode 100644 index 000000000000..33059540acda --- /dev/null +++ b/devel/py-configupdater/pkg-descr @@ -0,0 +1,8 @@ +The sole purpose of ConfigUpdater is to easily update an INI config file with no +changes to the original file except the intended ones. This means comments, the +ordering of sections and key/value-pairs as wells as their cases are kept as in +the original file. Thus ConfigUpdater provides complementary functionality to +Python's ConfigParser which is primarily meant for reading config files and +writing new ones. + +WWW: https://github.com/pyscaffold/configupdater