Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2024 15:20:08 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: be61a1fb9dfc - main - devel/py-jsonargparse: Library for creating CLIs
Message-ID:  <202408201520.47KFK8Wr015134@gitrepo.freebsd.org>

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

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

commit be61a1fb9dfc739b7700b3f2dd95eb257ea6e0d6
Author:     Xavier Beaudouin <kiwi@oav.net>
AuthorDate: 2024-08-20 15:10:25 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-08-20 15:19:43 +0000

    devel/py-jsonargparse: Library for creating CLIs
    
    Library for creating command-line interfaces (CLIs) and making Python
    apps easily configurable. It is a well-maintained project with frequent
    releases, adhering to high standards of development: semantic versioning,
    deprecation periods, changelog, automated testing, and full test coverage.
    
    https://github.com/omni-us/jsonargparse
    
    PR:             280925
    Sponsored by:   Bell Tower Integration
    Sponsored by:   Klara, Inc.
---
 devel/Makefile                  |  1 +
 devel/py-jsonargparse/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-jsonargparse/distinfo  |  3 +++
 devel/py-jsonargparse/pkg-descr |  4 ++++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d3552d4f4f07..2211b7a3aba2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5022,6 +5022,7 @@
     SUBDIR += py-jsmin
     SUBDIR += py-json5
     SUBDIR += py-json_tricks
+    SUBDIR += py-jsonargparse
     SUBDIR += py-jsondiff
     SUBDIR += py-jsonform
     SUBDIR += py-jsonlines
diff --git a/devel/py-jsonargparse/Makefile b/devel/py-jsonargparse/Makefile
new file mode 100644
index 000000000000..63f991c42a08
--- /dev/null
+++ b/devel/py-jsonargparse/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	jsonargparse
+PORTVERSION=	3.19.4
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	kiwi@oav.net
+COMMENT=	Library for creating CLIs
+WWW=		https://github.com/omni-us/jsonargparse
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>3.13:devel/py-pyyaml@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS=	*
+
+.include <bsd.port.mk>
diff --git a/devel/py-jsonargparse/distinfo b/devel/py-jsonargparse/distinfo
new file mode 100644
index 000000000000..2bf637065d5f
--- /dev/null
+++ b/devel/py-jsonargparse/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718793443
+SHA256 (jsonargparse-3.19.4.tar.gz) = 1a81738d8c6d0f55dc4fdb0eb1dc57e754b6b65a89e8c907e37b8ce3d1ce69a6
+SIZE (jsonargparse-3.19.4.tar.gz) = 131749
diff --git a/devel/py-jsonargparse/pkg-descr b/devel/py-jsonargparse/pkg-descr
new file mode 100644
index 000000000000..24ce6dc494a0
--- /dev/null
+++ b/devel/py-jsonargparse/pkg-descr
@@ -0,0 +1,4 @@
+Library for creating command-line interfaces (CLIs) and making Python
+apps easily configurable. It is a well-maintained project with frequent
+releases, adhering to high standards of development: semantic versioning,
+deprecation periods, changelog, automated testing, and full test coverage.



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