Skip to contentSkip to conversation

python-cryptography: add missing dependency on BR2_PACKAGE_PYTHON_HASHLIB

PATCH New yegorslists at googlemail.com 2 participants 2 messages Sep 7, 2017 – Sep 10, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-cryptography: add missing dependency on BR2_PACKAGE_PYTHON_HASHLIB

From: Yegor Yefremov <[email protected]>

HASHLIB is only needed for Python 2.

While at this sort dependencies alphabetically.

---
 package/python-cryptography/Config.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
package/python-cryptography/Config.in +5 -4
index 9827cf8..14f950d 100644
@@ -3,16 +3,17 @@ config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
 	depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_PYTHON_CFFI # runtime
+	select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
 	select BR2_PACKAGE_PYTHON_IDNA # runtime
+	select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
 	select BR2_PACKAGE_PYTHON_PYASN # runtime
-	select BR2_PACKAGE_PYTHON_SIX # runtime
-	select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
-	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
 	select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+	select BR2_PACKAGE_PYTHON_SIX # 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_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
 	help
 	  cryptography is a package designed to expose cryptographic
 	  primitives and recipes to Python developers.
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 python-cryptography: add missing dependency on BR2_PACKAGE_PYTHON_HASHLIB

Hello,

Quoted 10 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

HASHLIB is only needed for Python 2.

While at this sort dependencies alphabetically.

---
 package/python-cryptography/Config.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com