Skip to contentSkip to conversation

New: python tornado runtime wasn't met on buildroot 2016.02

Buildroot bugzilla at busybox.net 1 participant 3 messages Apr 15, 2016 – Oct 15, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=8856

Bug ID: 8856
Summary: python tornado runtime wasn't met on buildroot 2016.02
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ckhardin at exablox.com
CC: buildroot at uclibc.org
Target Milestone: ---

in build root 2016.02 it looks like python-tornado doesn't work when installed on the current version... we did this to get it to work.

package/Config.in +1 -0
index 8f39f49..843cea9 100644
@@ -619,6 +619,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
        source "package/python-alsaaudio/Config.in"
        source "package/python-backports-abc/Config.in"
+       source "package/python-backports-ssl-match-hostname/Config.in"
        source "package/python-beautifulsoup4/Config.in"
        source "package/python-bottle/Config.in"
        source "package/python-can/Config.in"
(quoted diff) +0 -0

b/package/python-backports-ssl-match-hostname/Config.in new file mode 100644
index 0000000..b2bb471

package/python-backports-ssl-match-hostname/Config.in new file +6 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME
+       bool "python-backports-ssl-match-hostname"
+       help
+         The ssl.match_hostname() function from Python 3.5
+
+         https://pypi.python.org/pypi/backports.ssl_match_hostname

diff --git a/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash b/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash new file mode 100644
index 0000000..4c15d21
--- /dev/null
+++
b/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash @@ -0,0 +1,3 @@
+# md5 from
https://pypi.python.org/pypi?:action=show_md5&digest=c03fc5e2c7b3da46b81acf5cbacfe1e6,
sha256 locally computed
+md5 c03fc5e2c7b3da46b81acf5cbacfe1e6
backports.ssl_match_hostname-3.5.0.1.tar.gz
+sha256 502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2 backports.ssl_match_hostname-3.5.0.1.tar.gz
diff --git a/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk b/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk new file mode 100644
index 0000000..b2d9133
--- /dev/null
+++
b/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk @@ -0,0 +1,13 @@
+################################################################################
+#
+# python-backports-ssl-match-hostname
+#
+################################################################################
+
+PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION = 3.5.0.1 +PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SOURCE = backports.ssl_match_hostname-$(PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION).tar.gz +PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SITE =
https://pypi.python.org/packages/source/b/backports.ssl_match_hostname
+PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE = Python Software Foundation License
+PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SETUP_TYPE = distutils
+
+$(eval $(python-package))

(quoted diff) +0 -0

b/package/python-tornado/Config.in
index ac86682..8009a58 100644

package/python-tornado/Config.in +0 -0
@@ -4,6 +4,8 @@ config BR2_PACKAGE_PYTHON_TORNADO
        select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
        select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON #

runtime
select BR2_PACKAGE_PYTHON_BACKPORTS_ABC # runtime
+ select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME if
BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON_CERTIFI # runtime
help
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 8856] python tornado runtime wasn't met on buildroot 2016.02

https://bugs.busybox.net/show_bug.cgi?id=8856

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Looks good overall. Could you submit this as proper patches to the mailing list?

It should be two patches:

1/ One adding the python-backports-ssl-match-hostname package

2/ One fixing the python-tornado package to select
python-backports-ssl-match-hostname

Thanks!

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 8856] python tornado runtime wasn't met on buildroot 2016.02

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8856

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Thomas Petazzoni <[email protected]> --- This issue was fixed in c37648bac43344750bdff130cb3cda97fa9152f5.

In fact, we don't need to package python-backports-ssl-match-hostname because Python 2.7.9, which we have in Buildroot provides what's needed. See the detailed commit log of c37648bac43344750bdff130cb3cda97fa9152f5 for more details.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.