From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sun, 29 Apr 2018 14:03:42 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-requests fix dependencies In-Reply-To: <20180429114038.25035-1-sven.haardiek@iotec-gmbh.de> References: <20180429114038.25035-1-sven.haardiek@iotec-gmbh.de> Message-ID: <20180429120342.GA2424@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Sven, All, On 2018-04-29 13:40 +0200, Sven Haardiek spake thusly: > Requests need hashlib to run. Otherwise it is not possible to import, due to > missing e.g. md5. > > Signed-off-by: Sven Haardiek > --- > 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 This is definitely incorrect: you can't select for both pyhon and python3 at the same time. See how it idoes done for SSL, just below: > 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 Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'