Message ID | 20211026221819.4191432-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/python-pyndiff: needs python3 | expand |
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > 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@gmail.com> Committed, thanks.
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
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@gmail.com> --- package/python-pyndiff/Config.in | 1 + 1 file changed, 1 insertion(+)