[Buildroot] [git commit] package/python-requests: needs hashlib for python 2
Peter Korsgaard
peter at korsgaard.com
Sun Apr 29 21:09:10 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=2c2f6f6630294fa256a4f66db5a4ab1f920b0a65
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at iotec-gmbh.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/python-requests/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-requests/Config.in b/package/python-requests/Config.in
index d2726fb26a..30158b8d25 100644
--- a/package/python-requests/Config.in
+++ b/package/python-requests/Config.in
@@ -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
More information about the buildroot
mailing list