package/python-pyndiff: needs python3

python3 is needed since the addition of the package in commit
1665e0a79b 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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-10-27 00:18:19 +02:00 committed by Peter Korsgaard
parent 8f3e5f1502
commit 3c5658cb37

View File

@ -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