diff --git a/devel/Makefile b/devel/Makefile index 8ca7807ca06b..2f8506a3734c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5147,6 +5147,7 @@ SUBDIR += py-update_checker SUBDIR += py-urlimport SUBDIR += py-urwid + SUBDIR += py-urwid-readline SUBDIR += py-urwidtrees SUBDIR += py-user_agents SUBDIR += py-userpath diff --git a/devel/py-urwid-readline/Makefile b/devel/py-urwid-readline/Makefile new file mode 100644 index 000000000000..76ad604a5432 --- /dev/null +++ b/devel/py-urwid-readline/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= urwid-readline +DISTVERSION= 0.11 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Textbox edit widget for Urwid that supports readline shortcuts + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: + (cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) + +.include diff --git a/devel/py-urwid-readline/distinfo b/devel/py-urwid-readline/distinfo new file mode 100644 index 000000000000..2a52107deacd --- /dev/null +++ b/devel/py-urwid-readline/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1597669634 +SHA256 (urwid_readline-0.11.tar.gz) = 24e376d4b75940d19e8bc81c264be5d383f8d4da560f68f648dd16c85f6afdb5 +SIZE (urwid_readline-0.11.tar.gz) = 6844 diff --git a/devel/py-urwid-readline/pkg-descr b/devel/py-urwid-readline/pkg-descr new file mode 100644 index 000000000000..bbdf086b8d7d --- /dev/null +++ b/devel/py-urwid-readline/pkg-descr @@ -0,0 +1,4 @@ +Text input widget for urwid, a curses-based user interface library, +that supports readline shortcuts. + +WWW: https://github.com/rr-/urwid_readline