[Buildroot] [git commit branch/2020.02.x] package/python-dpkt: remove Python2 only dependency

Peter Korsgaard peter at korsgaard.com
Wed May 6 05:21:21 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=7f882e9942ff70d054ccf4c11657f743dd530629
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

python-dpkt supports both Python flavors.

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 12ccb92fce1ecb4215ff1071656292a5b9d4313d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python-dpkt/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/python-dpkt/Config.in b/package/python-dpkt/Config.in
index d8e3388d7e..9bd7a98d26 100644
--- a/package/python-dpkt/Config.in
+++ b/package/python-dpkt/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_PYTHON_DPKT
 	bool "python-dpkt"
-	depends on BR2_PACKAGE_PYTHON
-	select BR2_PACKAGE_PYTHON_ZLIB
+	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
 	help
 	  Fast, simple packet creation / parsing, with definitions
 	  for the basic TCP/IP protocols.


More information about the buildroot mailing list