Skip to contentSkip to conversation

package/python-dpkt: remove Python2 only dependency

PATCH New yegorslists at googlemail.com 3 participants 3 messages Apr 16, 2020 – May 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-dpkt: remove Python2 only dependency

From: Yegor Yefremov <[email protected]>

python-dpkt supports both Python flavors.

---
 package/python-dpkt/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/python-dpkt/Config.in +2 -2
index d8e3388d7e..9bd7a98d26 100644
@@ -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.
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 package/python-dpkt: remove Python2 only dependency

Quoted 8 lines · On Thu, 16 Apr 2020 07:27:54 +0200 yegorslists at googlemail.com wrote:

From: Yegor Yefremov <[email protected]>

python-dpkt supports both Python flavors.

---
 package/python-dpkt/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com