summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-12-05 14:34:29 +0000
committerSteve Wills <swills@FreeBSD.org>2018-12-05 14:34:29 +0000
commitc4337bad81ecca634781b10f30df668da053cdde (patch)
tree6eaceca03d7d0070a7bbcd8115095616d6f9c5eb
parent- Fix LICENSE (diff)
devel/py-prompt_toolkit2: create port
prompt_toolkit could be a replacement for GNU readline, but it can be much more than that. Version 2.0 is incompatible with version 1.0. WWW: https://github.com/prompt-toolkit/python-prompt-toolkit
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-prompt_toolkit2/Makefile24
-rw-r--r--devel/py-prompt_toolkit2/distinfo3
-rw-r--r--devel/py-prompt_toolkit2/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ea7fdfeb5b7f..006ebc72380f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4906,6 +4906,7 @@
SUBDIR += py-prettytable
SUBDIR += py-prioritized_methods
SUBDIR += py-prompt_toolkit
+ SUBDIR += py-prompt_toolkit2
SUBDIR += py-protobuf
SUBDIR += py-protocols
SUBDIR += py-ptable
diff --git a/devel/py-prompt_toolkit2/Makefile b/devel/py-prompt_toolkit2/Makefile
new file mode 100644
index 000000000000..2848bbd8c35e
--- /dev/null
+++ b/devel/py-prompt_toolkit2/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= prompt_toolkit
+PORTVERSION= 2.0.7
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 2
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= Library for building powerful interactive command lines in Python
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR}
+
+USES= python
+
+USE_PYTHON= autoplist concurrent distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-prompt_toolkit2/distinfo b/devel/py-prompt_toolkit2/distinfo
new file mode 100644
index 000000000000..70143fcedc41
--- /dev/null
+++ b/devel/py-prompt_toolkit2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543977502
+SHA256 (prompt_toolkit-2.0.7.tar.gz) = fd17048d8335c1e6d5ee403c3569953ba3eb8555d710bfc548faf0712666ea39
+SIZE (prompt_toolkit-2.0.7.tar.gz) = 343267
diff --git a/devel/py-prompt_toolkit2/pkg-descr b/devel/py-prompt_toolkit2/pkg-descr
new file mode 100644
index 000000000000..f3e6765db4b0
--- /dev/null
+++ b/devel/py-prompt_toolkit2/pkg-descr
@@ -0,0 +1,4 @@
+prompt_toolkit could be a replacement for GNU readline, but it can be much more
+than that. Version 2.0 is incompatible with version 1.0.
+
+WWW: https://github.com/prompt-toolkit/python-prompt-toolkit