git: 7b33455435ad - main - devel/py-fire: New port: Library for automatically generating command line interfaces (CLIs)

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 11 Sep 2023 03:40:19 UTC
The branch main has been updated by yuri:

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

commit 7b33455435ad97129eef454f31f64ba5e19fe943
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-09-11 01:12:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-09-11 03:40:14 +0000

    devel/py-fire: New port: Library for automatically generating command line interfaces (CLIs)
---
 devel/Makefile          |  1 +
 devel/py-fire/Makefile  | 21 +++++++++++++++++++++
 devel/py-fire/distinfo  |  3 +++
 devel/py-fire/pkg-descr | 10 ++++++++++
 4 files changed, 35 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2a8495521a11..70aa3121432f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4666,6 +4666,7 @@
     SUBDIR += py-find-libpython
     SUBDIR += py-findlibs
     SUBDIR += py-findpython
+    SUBDIR += py-fire
     SUBDIR += py-first
     SUBDIR += py-fixtures
     SUBDIR += py-flake8
diff --git a/devel/py-fire/Makefile b/devel/py-fire/Makefile
new file mode 100644
index 000000000000..6eee696d820a
--- /dev/null
+++ b/devel/py-fire/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	fire
+DISTVERSION=	0.5.0
+CATEGORIES=	devel science
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Library for automatically generating command line interfaces (CLIs)
+WWW=		https://github.com/google/python-fire
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils flavors autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-fire/distinfo b/devel/py-fire/distinfo
new file mode 100644
index 000000000000..02598d3e580b
--- /dev/null
+++ b/devel/py-fire/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1694391774
+SHA256 (fire-0.5.0.tar.gz) = a6b0d49e98c8963910021f92bba66f65ab440da2982b78eb1bbf95a0a34aacc6
+SIZE (fire-0.5.0.tar.gz) = 88282
diff --git a/devel/py-fire/pkg-descr b/devel/py-fire/pkg-descr
new file mode 100644
index 000000000000..1f5b50903b2e
--- /dev/null
+++ b/devel/py-fire/pkg-descr
@@ -0,0 +1,10 @@
+Python Fire is a library for automatically generating command line interfaces
+(CLIs) from absolutely any Python object.
+
+* Python Fire is a simple way to create a CLI in Python.
+* Python Fire is a helpful tool for developing and debugging Python code.
+* Python Fire helps with exploring existing code or turning other people's code
+  into a CLI.
+* Python Fire makes transitioning between Bash and Python easier.
+* Python Fire makes using a Python REPL easier by setting up the REPL with the
+  modules and variables you'll need already imported and created.