python-urwid: new package
authorChristophe Vu-Brugier <cvubrugier@fastmail.fm>
Thu, 18 Sep 2014 10:00:52 +0000 (12:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 17:43:24 +0000 (19:43 +0200)
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>
package/Config.in
package/python-urwid/Config.in [new file with mode: 0644]
package/python-urwid/python-urwid.mk [new file with mode: 0644]

index 73ba86ad45e7fb7ffcccee27e14107e13548ef77..17930ea5aadb93661a053360d4b4effaa264bcad 100644 (file)
@@ -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 (file)
index 0000000..92f7d53
--- /dev/null
@@ -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 (file)
index 0000000..4f1be46
--- /dev/null
@@ -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))