[Buildroot] [PATCH 1/2] python-webpy: needs hashlib support in python

Peter Korsgaard peter at korsgaard.com
Thu Apr 5 06:05:21 UTC 2018


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 > On 04-04-18 17:51, Peter Korsgaard wrote:
 >> 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 at korsgaard.com>
 >> ---
 >> package/python-webpy/Config.in | 1 +
 >> 1 file changed, 1 insertion(+)
 >> 
 >> diff --git a/package/python-webpy/Config.in b/package/python-webpy/Config.in
 >> index 12dbe61723..5f4df7832b 100644
 >> --- a/package/python-webpy/Config.in
 >> +++ b/package/python-webpy/Config.in
 >> @@ -1,6 +1,7 @@
 >> config BR2_PACKAGE_PYTHON_WEBPY
 >> bool "python-webpy"
 >> depends on BR2_PACKAGE_PYTHON
 >> +	select BR2_PACKAGE_PYTHON_HASHLIB

 >  # runtime ?

I argued about that as well, but given that it is a sub option of python
(so not something you can add to _DEPENDENCIES anyway), and
(host-)python is a build time dependency it isn't really black / white
and I decided to not add it.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list