python-webpy: needs hashlib support in python
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Apr 2018 15:51:31 +0000 (17:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 4 Apr 2018 20:54:35 +0000 (22:54 +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>
package/python-webpy/Config.in

index 12dbe61723a6a5bfe01a251be802284bef8566c4..5f4df7832b3011376af17fe90fb66ac392209fcc 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.