summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-07-07 16:31:51 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-07 22:11:22 +0200
commit1de4b3131e02250933e79817ee9a87a4fcd5aa94 (patch)
tree01b82f2870ccc5176cfc3914d727b9667c41b049
parentd652677f7971988e63669e6a68c59763d4fdfc7f (diff)
downloadbuildroot-1de4b3131e02250933e79817ee9a87a4fcd5aa94.tar.gz
buildroot-1de4b3131e02250933e79817ee9a87a4fcd5aa94.zip
python-dialog3: new package
Existing python-dialog package supports Python 2 only. For Python 3 another package is required. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-dialog3/Config.in10
-rw-r--r--package/python-dialog3/python-dialog3.hash3
-rw-r--r--package/python-dialog3/python-dialog3.mk15
4 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index a68213156f..7d6924cef1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -650,6 +650,7 @@ menu "External python modules"
source "package/python-dataproperty/Config.in"
source "package/python-dateutil/Config.in"
source "package/python-dialog/Config.in"
+ source "package/python-dialog3/Config.in"
source "package/python-django/Config.in"
source "package/python-docopt/Config.in"
source "package/python-dominate/Config.in"
diff --git a/package/python-dialog3/Config.in b/package/python-dialog3/Config.in
new file mode 100644
index 0000000000..cd0760854b
--- /dev/null
+++ b/package/python-dialog3/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_DIALOG3
+ bool "python-dialog3"
+ depends on BR2_PACKAGE_PYTHON3
+ depends on BR2_USE_MMU # dialog
+ select BR2_PACKAGE_DIALOG
+ help
+ A Python 3 only interface to the UNIX dialog utility and
+ mostly-compatible programs.
+
+ http://pythondialog.sourceforge.net/
diff --git a/package/python-dialog3/python-dialog3.hash b/package/python-dialog3/python-dialog3.hash
new file mode 100644
index 0000000000..dae863b76a
--- /dev/null
+++ b/package/python-dialog3/python-dialog3.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/pythondialog/json, sha256 locally computed
+md5 3d5ebc33e85f6313964f5eef720dab19 pythondialog-3.4.0.tar.bz2
+sha256 019cdbffe3f61d32d6fb158ce48a767478af2aac2f31fb40460b39aefae604fe pythondialog-3.4.0.tar.bz2
diff --git a/package/python-dialog3/python-dialog3.mk b/package/python-dialog3/python-dialog3.mk
new file mode 100644
index 0000000000..abc4a395ce
--- /dev/null
+++ b/package/python-dialog3/python-dialog3.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-dialog3
+#
+################################################################################
+
+PYTHON_DIALOG3_VERSION = 3.4.0
+PYTHON_DIALOG3_SOURCE = pythondialog-$(PYTHON_DIALOG3_VERSION).tar.bz2
+PYTHON_DIALOG3_SITE = https://pypi.python.org/packages/fa/f4/686742f01ebb5863d4c5e1acab620acfed0fe97280a26b4ed25917f4f333
+PYTHON_DIALOG3_LICENSE = LGPLv2.1+
+PYTHON_DIALOG3_LICENSE_FILES = COPYING
+PYTHON_DIALOG3_SETUP_TYPE = distutils
+PYTHON_DIALOG3_DEPENDENCIES = dialog
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud