Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-django-enumfields: needs python3
@ 2021-12-30  8:51 Fabrice Fontaine
  2021-12-30 12:27 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-30  8:51 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine, Asaf Kahlon

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 <fontaine.fabrice@gmail.com>
---
 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.
 
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-30 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30  8:51 [Buildroot] [PATCH 1/1] package/python-django-enumfields: needs python3 Fabrice Fontaine
2021-12-30 12:27 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox