aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-04-19 17:41:19 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-04-19 17:49:34 +0000
commit9df94fdd159d28c101199a98fcab4258419989ac (patch)
tree8cef9a5121ffed6a342effe14817735ebe6c4223
parent07945c68ac9a3701ec5478eb101f4ec1ba32487a (diff)
devel/py-argparse-dataclass: New port: Declarative CLIs with argparse and dataclasses
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-argparse-dataclass/Makefile20
-rw-r--r--devel/py-argparse-dataclass/distinfo3
-rw-r--r--devel/py-argparse-dataclass/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 63a423eb0957..050743751ef2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4449,6 +4449,7 @@
SUBDIR += py-argcomplete
SUBDIR += py-argh
SUBDIR += py-argparse
+ SUBDIR += py-argparse-dataclass
SUBDIR += py-argparse-manpage
SUBDIR += py-argparse_addons
SUBDIR += py-args
diff --git a/devel/py-argparse-dataclass/Makefile b/devel/py-argparse-dataclass/Makefile
new file mode 100644
index 000000000000..1a8a5fd8272b
--- /dev/null
+++ b/devel/py-argparse-dataclass/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= argparse-dataclass
+DISTVERSION= 2.0.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= argparse_dataclass-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Declarative CLIs with argparse and dataclasses
+WWW= https://github.com/mivade/argparse_dataclass
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-argparse-dataclass/distinfo b/devel/py-argparse-dataclass/distinfo
new file mode 100644
index 000000000000..4af13d2a977d
--- /dev/null
+++ b/devel/py-argparse-dataclass/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776617668
+SHA256 (argparse_dataclass-2.0.0.tar.gz) = 09ab641c914a2f12882337b9c3e5086196dbf2ee6bf0ef67895c74002cc9297f
+SIZE (argparse_dataclass-2.0.0.tar.gz) = 6395
diff --git a/devel/py-argparse-dataclass/pkg-descr b/devel/py-argparse-dataclass/pkg-descr
new file mode 100644
index 000000000000..d94dd13749e8
--- /dev/null
+++ b/devel/py-argparse-dataclass/pkg-descr
@@ -0,0 +1,3 @@
+argparse-dataclass provides declarative CLIs with argparse and dataclasses.
+It allows the creation of command-line interfaces using Python dataclasses
+as a declarative specification.