From nobody Wed Jul 10 05:01:32 2024 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 4WJm0r5RsWz5Q7d4; Wed, 10 Jul 2024 05:01:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WJm0r41rNz4SW3; Wed, 10 Jul 2024 05:01:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720587692; 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=dsltg0YNpsU4bxbNH3N3POHC6qQo5lmZBVCDc3ge+1c=; b=iiiuX+1CRy+r/f4UytuHC3M6xjUVQYigFehpqOpdyqwNcxwbbxdVn/PfRCpcBb/v2nkSeI Kik+2dI8joE+ILiAYyDmtx9c0ar2o0T0ZxI9G7GrvhF3yd36RDoynvHHt2bsUnVghQ3WyB eYSwB7EUYFtIvEIfbfArjXykUXqrfY/UQE4ursZcenYPWYVqHO/MWBHXs4gHQ/ujiKV/oO tf5hTg4wcjMarR747xWjUewfDS79cdoEEaMgoFTm56sU2HXaoX8Gp9OrexKGbiP6Y9WoFV JYHlwDs92Sw5FF/G2jaxCNbilludRFb1vLx3pAfmVT+HqkXTWTFpFVwINtmdlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720587692; a=rsa-sha256; cv=none; b=R0IIsMGZK0GSEUjpalsb0MOnvlPOxgn5ys6Bjia5SmcbAuw+VV5/w/5mAfvpPZ+dLyAbAV ViD09Vj/rFO+adbExbDEZ9PIr3s4rV22nQDhoxgM50cZRlnaLveGD21FhoJCeqq2sQQtNZ Oo2UCuB2ZOWoBKB4dXjUwyGgtIJSH6owF2i1RvpG68SYAq9LYrqgyVtoOGDaoplNohwHU5 AVDQcIwPpVtqYjgkDpEFTMnm7MbfJyPID4t1AXkDHYT4U1CUQ50WoPMsdUJnmAbbdpTdVh TjpgCoQARHiYBY24bfhAYjAbl5Jc4wwNbfgscU58vjqXtByH+nf6v8h0Nj0c2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720587692; 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=dsltg0YNpsU4bxbNH3N3POHC6qQo5lmZBVCDc3ge+1c=; b=xQKDpK72pq6SU9xl6zuCR1xUhQ/xuvBxde+h2N9VbTUzck6kTByAg0taLax2Tq3fnCx+Yp ++Zh8TF33wSRANFaiBKQmXpXhTL9fgUSj7LQUYL+/harNJLWXeWGdFe0v2fSo6ZaQUDqTY /c8LJ43CyJ/iIgO2SjM8CFqH08xXvW8Ajm+QQpWAknIS/PkyQBQfC3WuhvsViTjEI8L1R2 S9shB4FNHfjuaNCQvX0T5G4SqQuF8B4R+Lm0gDAxHNoRJXt6p7uY5893zRBzPNul5BDNuV kBTp1AdOXeQTI6+rtdLJSzMVenZaBu7SRtAskXAZS+cn2z8j9+Ia0r+5e5fGmQ== 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 4WJm0r3dgvz144b; Wed, 10 Jul 2024 05:01:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46A51WbC039870; Wed, 10 Jul 2024 05:01:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46A51WON039867; Wed, 10 Jul 2024 05:01:32 GMT (envelope-from git) Date: Wed, 10 Jul 2024 05:01:32 GMT Message-Id: <202407100501.46A51WON039867@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: 7c5a264ef7c3 - main - textproc/py-rich-argparse: Add py-rich-argparse 1.5.2 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 7c5a264ef7c3239ed873dd5a053f34cec59a0df3 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c5a264ef7c3239ed873dd5a053f34cec59a0df3 commit 7c5a264ef7c3239ed873dd5a053f34cec59a0df3 Author: Po-Chuan Hsieh AuthorDate: 2024-07-10 04:56:30 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-10 04:56:30 +0000 textproc/py-rich-argparse: Add py-rich-argparse 1.5.2 rich-argparse formats argparse and optparse help using rich. rich-argparse improves the look and readability of argparse's help while requiring minimal changes to the code. --- textproc/Makefile | 1 + textproc/py-rich-argparse/Makefile | 23 +++++++++++++++++++++++ textproc/py-rich-argparse/distinfo | 3 +++ textproc/py-rich-argparse/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 102c13699d50..c8a8cfa769e1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1553,6 +1553,7 @@ SUBDIR += py-restructuredtext-lint SUBDIR += py-reverend SUBDIR += py-rich + SUBDIR += py-rich-argparse SUBDIR += py-rich-cli SUBDIR += py-rich-rst SUBDIR += py-rich12 diff --git a/textproc/py-rich-argparse/Makefile b/textproc/py-rich-argparse/Makefile new file mode 100644 index 000000000000..818812af49ca --- /dev/null +++ b/textproc/py-rich-argparse/Makefile @@ -0,0 +1,23 @@ +PORTNAME= rich-argparse +PORTVERSION= 1.5.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= rich_argparse-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Rich help formatters for argparse and optparse +WWW= https://github.com/hamdanal/rich-argparse + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.11.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rich>=11.0.0:textproc/py-rich@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/textproc/py-rich-argparse/distinfo b/textproc/py-rich-argparse/distinfo new file mode 100644 index 000000000000..14fa7d0777a9 --- /dev/null +++ b/textproc/py-rich-argparse/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1720536470 +SHA256 (rich_argparse-1.5.2.tar.gz) = 84d348d5b6dafe99fffe2c7ea1ca0afe14096c921693445b9eee65ee4fcbfd2c +SIZE (rich_argparse-1.5.2.tar.gz) = 17142 diff --git a/textproc/py-rich-argparse/pkg-descr b/textproc/py-rich-argparse/pkg-descr new file mode 100644 index 000000000000..2e03133c30a7 --- /dev/null +++ b/textproc/py-rich-argparse/pkg-descr @@ -0,0 +1,4 @@ +rich-argparse formats argparse and optparse help using rich. + +rich-argparse improves the look and readability of argparse's help while +requiring minimal changes to the code.