Browse Source

package/python-dpkt: remove Python2 only dependency

python-dpkt supports both Python flavors.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 12ccb92fce1ecb4215ff1071656292a5b9d4313d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yegor Yefremov 5 years ago
parent
commit
7f882e9942
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/python-dpkt/Config.in

+ 2 - 2
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.