All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
@ 2018-04-29 11:40 Sven Haardiek
  2018-04-29 12:03 ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Haardiek @ 2018-04-29 11:40 UTC (permalink / raw)
  To: buildroot

Requests need hashlib to run. Otherwise it is not possible to import, due to
missing e.g. md5.

Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
---
 package/python-requests/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/python-requests/Config.in b/package/python-requests/Config.in
index d2726fb26a..d51b4079cb 100644
--- a/package/python-requests/Config.in
+++ b/package/python-requests/Config.in
@@ -4,6 +4,8 @@ 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 # runtime
+	select BR2_PACKAGE_PYTHON3_HASHLIB # 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
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
@ 2018-04-29 12:53 Sven Haardiek
  2018-04-29 21:10 ` Peter Korsgaard
  2018-05-01  7:33 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Sven Haardiek @ 2018-04-29 12:53 UTC (permalink / raw)
  To: buildroot

Requests need hashlib to run with Pyhton 2. Otherwise it is not possible to
import, due to missing e.g. md5. There is a variable BR2_PACKAGE_PYTHON_HASHLIB
to make it work.

Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
---
 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
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-01  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-29 11:40 [Buildroot] [PATCH 1/1] package/python-requests fix dependencies Sven Haardiek
2018-04-29 12:03 ` Yann E. MORIN
  -- strict thread matches above, loose matches on Subject: below --
2018-04-29 12:53 Sven Haardiek
2018-04-29 21:10 ` Peter Korsgaard
2018-05-01  7:33 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.