[Buildroot] [git commit] package/python-dpkt: remove Python2 only dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Apr 17 20:08:15 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=12ccb92fce1ecb4215ff1071656292a5b9d4313d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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>
---
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