package/python-django-enumfields: needs python3

python2 support has been dropped since version 2.0.0 and
3a9f92d67b
resulting in the following build failure since bump to version 2.1.1 in
commit bcb85b2e59:

error:   File "/usr/lib/python2.7/site-packages/enumfields/fields.py", line 134
    *super().check(**kwargs),
    ^
SyntaxError: invalid syntax

Fixes:
 - http://autobuild.buildroot.org/results/3fd79ed7bbcad202fc7ac07252cdf57c599dac30

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-12-30 09:51:44 +01:00 committed by Thomas Petazzoni
parent 8efb7beaa8
commit c709ecd36b

View file

@ -1,6 +1,6 @@
config BR2_PACKAGE_PYTHON_DJANGO_ENUMFIELDS
bool "python-django-enumfields"
select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
depends on BR2_PACKAGE_PYTHON3
help
Real Python Enums for Django.