summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Vu-Brugier <cvubrugier@fastmail.fm>2014-09-18 12:00:52 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-21 19:43:24 +0200
commita1b1c2f0246267c89e66626a97369dbb73743fe4 (patch)
treea8096eb91dbebda22b764928deec1d659b491d3d
parent9e540c7517b4317399b87bef5da208096184d193 (diff)
python-urwid: new package
Urwid is a console user interface library for Python. Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-urwid/Config.in7
-rw-r--r--package/python-urwid/python-urwid.mk14
3 files changed, 22 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 73ba86ad4..17930ea5a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -508,6 +508,7 @@ menu "external python modules"
source "package/python-simplejson/Config.in"
source "package/python-thrift/Config.in"
source "package/python-tornado/Config.in"
+ source "package/python-urwid/Config.in"
source "package/python-versiontools/Config.in"
endmenu
endif
diff --git a/package/python-urwid/Config.in b/package/python-urwid/Config.in
new file mode 100644
index 000000000..92f7d53d2
--- /dev/null
+++ b/package/python-urwid/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_URWID
+ bool "python-urwid"
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+ help
+ Urwid is a console user interface library for Python
+
+ http://urwid.org/
diff --git a/package/python-urwid/python-urwid.mk b/package/python-urwid/python-urwid.mk
new file mode 100644
index 000000000..4f1be4668
--- /dev/null
+++ b/package/python-urwid/python-urwid.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-urwid
+#
+################################################################################
+
+PYTHON_URWID_VERSION = 1.2.1
+PYTHON_URWID_SOURCE = urwid-$(PYTHON_URWID_VERSION).tar.gz
+PYTHON_URWID_SITE = https://pypi.python.org/packages/source/u/urwid
+PYTHON_URWID_LICENSE = LGPLv2.1+
+PYTHON_URWID_LICENSE_FILES = COPYING
+PYTHON_URWID_SETUP_TYPE = setuptools
+
+$(eval $(python-package))