From c709ecd36bb62626f851a15f708598a7ac7baeae Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 30 Dec 2021 09:51:44 +0100 Subject: [PATCH] package/python-django-enumfields: needs python3 python2 support has been dropped since version 2.0.0 and https://github.com/hzdg/django-enumfields/commit/3a9f92d67b15d1ae57ef7fb087858b5597413f30 resulting in the following build failure since bump to version 2.1.1 in commit bcb85b2e59902c1f570fb0545b38a677d088841f: 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 Signed-off-by: Thomas Petazzoni --- package/python-django-enumfields/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-django-enumfields/Config.in b/package/python-django-enumfields/Config.in index 58dea365ee..51efbcbf53 100644 --- a/package/python-django-enumfields/Config.in +++ b/package/python-django-enumfields/Config.in @@ -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.