From nobody Fri Mar 25 17:20:13 2022 X-Original-To: dev-commits-ports-main@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 4CA661A2FE7C; Fri, 25 Mar 2022 17:20:14 +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 4KQ83y1MgVz3p3l; Fri, 25 Mar 2022 17:20:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648228814; 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=Q2ZQ+mEVwPdILAHbgB79Mi2iEyA3xX1v7imKyNZBW3M=; b=quSk0kBi8BCEItT3LDbpzxjRvwt9KvLRTpV7zifWHromVfffrWGI4kbPLsSZ6nWfl3mspL wy1b1WU2MAwbNZ1AEyS/DksJTmU8a4Fv5gpZb/n8E1hSffamls4G9Cm8y8FrdsMKJd8SSD Jgw2axXOrQmjJDdfCnUeBWQY3rb2FYXUVHueBxsmOfI5vcWFqv1+AaN2FkOpwX+QTKP76K Z95fC1TqN+Pq1dzLCb9St5vascTHL8qSYjQCukeAalH7eHoZxk7Fbc31Jkf5E3pTy5ew/D GU864q3a2eSqgYWTwr+Zi4xVBOhSTS+vGrB1XUckWoWeL8uma35M7CE+WgnF5A== 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 1014110E11; Fri, 25 Mar 2022 17:20:14 +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 22PHKDXw022121; Fri, 25 Mar 2022 17:20:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PHKDpM022114; Fri, 25 Mar 2022 17:20:13 GMT (envelope-from git) Date: Fri, 25 Mar 2022 17:20:13 GMT Message-Id: <202203251720.22PHKDpM022114@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: 89e381263235 - main - textproc/py-ini2toml: Add py-ini2toml 0.10 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 89e3812632353a57ec409740ef4f54ee4083e5ec Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648228814; 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=Q2ZQ+mEVwPdILAHbgB79Mi2iEyA3xX1v7imKyNZBW3M=; b=mPTUFj/kviAf8zurEZwIcQJPOqD4ElugJKJQuWp5BsZS666RJx7RN/gVn0UEhSTB6+Rp5I 5su2tZBrcGQR/p4Y1wFJGMoUSw5LeRgPFsAIHCFBjES2TKEzhCcCB9h5SyHkTGyA/N3rwu tQQ3EA6Y4XrfAUAThsj87+WS1QYy5UuG0Aa3w+wjIyV8aALb+bBhnbCk8/9pYNECxnuoTu nWBHM3ZBcEj8/wq/JbeAH7djWZqONsRULKKqTAWO5UjiRI7dv36TtxZPYROGMNOssj0HC8 W3SKkp6EJwdyPpGo/WVeknMyQiaGkoxtJM74e51pE6A3COx3w5YF+O5rbN39Mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648228814; a=rsa-sha256; cv=none; b=aCi8kKNd3SCY3nF4DRrT/ocBzvgtph0ka+xxbiyCJYKIx8Npm7iocwwrHjUDYmS5jiaA/k os98N+EARlgEXoZi8WuhwZR/20oJOmxfGKSVojfLQPB1TMBF/hgvPdrIWJHWcKgmi8+Osy IcFBLzRQOSRmoOianxsITTXIF7fRwXTx/vG9NWJ+IChA5u5P5vzpxbLRoPuNDvqZ6Cv230 kN3nvfksivzS3cmms+4wt2fv1xTnANHEyw4LuhvJ/WQ2poC4++/Qbp4nJkoKngGH2dPUMB A5zwOEaXvPAv7vaeHit04OiKBehbTKBzomQViABdUVS9aehlT0Vb5smYziRVjQ== 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=89e3812632353a57ec409740ef4f54ee4083e5ec commit 89e3812632353a57ec409740ef4f54ee4083e5ec Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 17:15:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 17:19:23 +0000 textproc/py-ini2toml: Add py-ini2toml 0.10 The original purpose of this project is to help migrating setup.cfg files to PEP 621, but by extension it can also be used to convert any compatible .ini/.cfg file to TOML. Please notice, the provided .ini/.cfg files should follow the same syntax supported by Python's ConfigParser library (here referred to as INI syntax) and more specifically abide by ConfigUpdater restrictions (e.g., no interpolation or repeated fields). WWW: https://github.com/abravalheri/ini2toml --- textproc/Makefile | 1 + textproc/py-ini2toml/Makefile | 22 ++++++++++++++++++++++ textproc/py-ini2toml/distinfo | 3 +++ textproc/py-ini2toml/pkg-descr | 10 ++++++++++ 4 files changed, 36 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 1b871fbb708a..cbaf8601fdf5 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1327,6 +1327,7 @@ SUBDIR += py-html2text2018 SUBDIR += py-humanfriendly SUBDIR += py-hunspell + SUBDIR += py-ini2toml SUBDIR += py-isbnlib SUBDIR += py-isbntools SUBDIR += py-iso-639 diff --git a/textproc/py-ini2toml/Makefile b/textproc/py-ini2toml/Makefile new file mode 100644 index 000000000000..cf923dba2125 --- /dev/null +++ b/textproc/py-ini2toml/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= ini2toml +PORTVERSION= 0.10 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Automatically conversion of .ini/.cfg files to TOML equivalents + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.7:devel/py-packaging@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-ini2toml/distinfo b/textproc/py-ini2toml/distinfo new file mode 100644 index 000000000000..d4cffdca416a --- /dev/null +++ b/textproc/py-ini2toml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1648219977 +SHA256 (ini2toml-0.10.tar.gz) = b34983939b396b5ee01e5591c1b7c1ee62d263178ae95e04a99ab7c3c82918f6 +SIZE (ini2toml-0.10.tar.gz) = 99836 diff --git a/textproc/py-ini2toml/pkg-descr b/textproc/py-ini2toml/pkg-descr new file mode 100644 index 000000000000..e8d6b882c18e --- /dev/null +++ b/textproc/py-ini2toml/pkg-descr @@ -0,0 +1,10 @@ +The original purpose of this project is to help migrating setup.cfg files to PEP +621, but by extension it can also be used to convert any compatible .ini/.cfg +file to TOML. + +Please notice, the provided .ini/.cfg files should follow the same syntax +supported by Python's ConfigParser library (here referred to as INI syntax) and +more specifically abide by ConfigUpdater restrictions (e.g., no interpolation or +repeated fields). + +WWW: https://github.com/abravalheri/ini2toml