]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-webpy: needs hashlib support in python
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Apr 2018 15:51:31 +0000 (17:51 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 11 Apr 2018 15:40:52 +0000 (17:40 +0200)
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@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 543b0d50fbbb552296749d0cf18443aacfc6e58d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-webpy/Config.in

index e9a51217fa1227d47cacd0855706a880ab0d98e1..8ca23f7de7918e79cf4a20a32780766848126c62 100644 (file)
@@ -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.