git: c5a58cc56174 - main - devel/py-inquirer: New port: Collection of common interactive command line user interfaces
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Oct 2025 23:15:48 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c5a58cc561744e05b1a75cc733be3027e9083a2d
commit c5a58cc561744e05b1a75cc733be3027e9083a2d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-16 20:21:41 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-16 23:15:33 +0000
devel/py-inquirer: New port: Collection of common interactive command line user interfaces
---
devel/Makefile | 1 +
devel/py-inquirer/Makefile | 24 ++++++++++++++++++++++++
devel/py-inquirer/distinfo | 3 +++
devel/py-inquirer/pkg-descr | 7 +++++++
4 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index ad2290b5d5c9..0db0900d8642 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5078,6 +5078,7 @@
SUBDIR += py-inline-snapshot
SUBDIR += py-inotify-simple
SUBDIR += py-inotifyrecursive
+ SUBDIR += py-inquirer
SUBDIR += py-installer
SUBDIR += py-intbitset
SUBDIR += py-intelhex
diff --git a/devel/py-inquirer/Makefile b/devel/py-inquirer/Makefile
new file mode 100644
index 000000000000..a0ad41b89807
--- /dev/null
+++ b/devel/py-inquirer/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= inquirer
+DISTVERSION= 3.4.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Collection of common interactive command line user interfaces
+WWW= https://github.com/magmax/python-inquirer
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blessed>=1.19.0:devel/py-blessed@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}editor>=1.6.0:editors/py-editor@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}readchar>=4.2.0:textproc/py-readchar@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-inquirer/distinfo b/devel/py-inquirer/distinfo
new file mode 100644
index 000000000000..06e23d01a315
--- /dev/null
+++ b/devel/py-inquirer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760642640
+SHA256 (inquirer-3.4.1.tar.gz) = 60d169fddffe297e2f8ad54ab33698249ccfc3fc377dafb1e5cf01a0efb9cbe5
+SIZE (inquirer-3.4.1.tar.gz) = 14069
diff --git a/devel/py-inquirer/pkg-descr b/devel/py-inquirer/pkg-descr
new file mode 100644
index 000000000000..d87967f319c7
--- /dev/null
+++ b/devel/py-inquirer/pkg-descr
@@ -0,0 +1,7 @@
+python-inquirer is a library that provides a collection of common
+interactive command-line user interfaces. It allows developers to
+easily ask end-users questions, parse and validate answers, manage
+hierarchical prompts, and provide error feedback.
+
+python-inquirer is based on Inquirer.js and supports various input
+types like text, editor, lists, checkboxes, and paths.