Add devel/py-urwid-readline

Text input widget for urwid, a curses-based user interface library,
that supports readline shortcuts.
This commit is contained in:
Mateusz Piotrowski 2020-08-17 13:18:15 +00:00
parent 91c38c900a
commit 7acf10db02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545164
4 changed files with 34 additions and 0 deletions

View file

@ -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

View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1597669634
SHA256 (urwid_readline-0.11.tar.gz) = 24e376d4b75940d19e8bc81c264be5d383f8d4da560f68f648dd16c85f6afdb5
SIZE (urwid_readline-0.11.tar.gz) = 6844

View file

@ -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