[Buildroot] [git commit branch/2017.02.x] python-webpy: needs hashlib support in python

Peter Korsgaard peter at korsgaard.com
Wed Apr 11 15:40:52 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=64d9f21af2fad411813f1c6517475144bddfb901
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

webpy uses hashlib for session handling, so ensure it is available:

web/session.py:    import hashlib
web/session.py:    sha1 = hashlib.sha1

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 543b0d50fbbb552296749d0cf18443aacfc6e58d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python-webpy/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-webpy/Config.in b/package/python-webpy/Config.in
index e9a51217fa..8ca23f7de7 100644
--- a/package/python-webpy/Config.in
+++ b/package/python-webpy/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PYTHON_WEBPY
 	bool "python-webpy"
 	depends on BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON_HASHLIB
 	help
 	  web.py is a web framework for Python that is as simple as it is
 	  powerful.


More information about the buildroot mailing list