git: d4ad0e981803 - main - devel/py-questionary: Add py-questionary 1.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:14:20 UTC
The branch main has been updated by sunpoet:

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

commit d4ad0e981803499594af3d1ae68fdd8150f43769
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:07:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:07:44 +0000

    devel/py-questionary: Add py-questionary 1.10.0
    
    Questionary is a Python library for effortlessly building pretty command line
    interfaces.
    
    WWW: https://github.com/tmbo/questionary
---
 devel/Makefile                 |  1 +
 devel/py-questionary/Makefile  | 22 ++++++++++++++++++++++
 devel/py-questionary/distinfo  |  3 +++
 devel/py-questionary/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7a267474c9d6..920b6b307059 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5210,6 +5210,7 @@
     SUBDIR += py-qt5-sip
     SUBDIR += py-qtbuilder
     SUBDIR += py-qtconsole
+    SUBDIR += py-questionary
     SUBDIR += py-qutip
     SUBDIR += py-ramlfications
     SUBDIR += py-rapidfuzz
diff --git a/devel/py-questionary/Makefile b/devel/py-questionary/Makefile
new file mode 100644
index 000000000000..04c9e2a6c88d
--- /dev/null
+++ b/devel/py-questionary/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	questionary
+PORTVERSION=	1.10.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python library to build pretty command line user prompts
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=2.0<4.0:devel/py-prompt-toolkit@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-questionary/distinfo b/devel/py-questionary/distinfo
new file mode 100644
index 000000000000..b818851524c5
--- /dev/null
+++ b/devel/py-questionary/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653151032
+SHA256 (questionary-1.10.0.tar.gz) = 600d3aefecce26d48d97eee936fdb66e4bc27f934c3ab6dd1e292c4f43946d90
+SIZE (questionary-1.10.0.tar.gz) = 23530
diff --git a/devel/py-questionary/pkg-descr b/devel/py-questionary/pkg-descr
new file mode 100644
index 000000000000..cb176bf32adf
--- /dev/null
+++ b/devel/py-questionary/pkg-descr
@@ -0,0 +1,4 @@
+Questionary is a Python library for effortlessly building pretty command line
+interfaces.
+
+WWW: https://github.com/tmbo/questionary