aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Beaudouin <kiwi@oav.net>2024-08-20 15:10:25 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2024-08-20 15:19:43 +0000
commitbe61a1fb9dfc739b7700b3f2dd95eb257ea6e0d6 (patch)
tree63542a67835344cb40db4a8965c12ec2f4589b79
parentf33ef0cff5003a14f7d961d4efbf6b6c4fe2ab00 (diff)
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.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-jsonargparse/Makefile25
-rw-r--r--devel/py-jsonargparse/distinfo3
-rw-r--r--devel/py-jsonargparse/pkg-descr4
4 files changed, 33 insertions, 0 deletions
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.