package/python-requests: needs hashlib for python 2
authorSven Haardiek <sven.haardiek@iotec-gmbh.de>
Sun, 29 Apr 2018 12:53:39 +0000 (14:53 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 29 Apr 2018 21:09:10 +0000 (23:09 +0200)
Requests need hashlib to run with Python 2. Otherwise it is not possible to
import, due to missing e.g. md5.

[Peter: tweak commit message]
Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-requests/Config.in

index d2726fb26a1a600dc41b2801645994a249b2dbd3..30158b8d2543f13e9c4cc94477c496ff09c95318 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_REQUESTS
        select BR2_PACKAGE_PYTHON_CHARDET # runtime
        select BR2_PACKAGE_PYTHON_IDNA # runtime
        select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
+       select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
        select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
        select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
        select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime