[Buildroot] [git commit] package/python-pyndiff: needs python3
Peter Korsgaard
peter at korsgaard.com
Fri Nov 5 16:39:19 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=3c5658cb37ad72f6eeac8826fa9d791b494aa402
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
python3 is needed since the addition of the package in commit
1665e0a79b617b4e6315ac5989e9ffa66eb0310f to avoid the following build
failure:
error: File "/usr/lib/python2.7/site-packages/pyndiff/core.py", line 48
nmap_service_name = f"{service_name} {service_product} {service_version} {service_extrainfo}".replace(
^
SyntaxError: invalid syntax
Fixes:
- http://autobuild.buildroot.org/results/9f283774ca2c89540753bbd62fdbddb1f9d4e392
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/python-pyndiff/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-pyndiff/Config.in b/package/python-pyndiff/Config.in
index 58ca35ba97..cd13056d79 100644
--- a/package/python-pyndiff/Config.in
+++ b/package/python-pyndiff/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_PYNDIFF
bool "python-pyndiff"
+ depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_XMLJSON # runtime
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
help
More information about the buildroot
mailing list