From 9d97f4ba14e6d2383cbb9a4eaf50c8f9ccae2aa8 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Thu, 25 Nov 2021 18:01:20 -0300 Subject: [PATCH] treewide: mark django1 and dependents BROKEN Django 1.x is not compatible with python 3.10. Mark the package as BROKEN. Since its dependent packages will also select it, they will need to be marked BROKEN as well to avoid recursive dependencies--packages not marked as BROKEN will be able to select the broken package. Signed-off-by: Eneas U de Queiroz --- lang/python/django-appconf/Makefile | 1 + lang/python/django-compressor/Makefile | 1 + lang/python/django-formtools/Makefile | 1 + lang/python/django-jsonfield/Makefile | 1 + lang/python/django-picklefield/Makefile | 1 + lang/python/django-postoffice/Makefile | 1 + lang/python/django-ranged-response/Makefile | 1 + lang/python/django-restframework39/Makefile | 1 + lang/python/django-simple-captcha/Makefile | 1 + lang/python/django-statici18n/Makefile | 1 + lang/python/django-webpack-loader/Makefile | 1 + lang/python/django1/Makefile | 1 + net/seafile-seahub/Makefile | 1 + net/seafile-server/Makefile | 4 +++- 14 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lang/python/django-appconf/Makefile b/lang/python/django-appconf/Makefile index 1f3a0e36ec..c762ae80b2 100644 --- a/lang/python/django-appconf/Makefile +++ b/lang/python/django-appconf/Makefile @@ -29,6 +29,7 @@ define Package/python3-django-appconf TITLE:=Helper class for handling config defaults URL:=https://django-appconf.readthedocs.io DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 \ +python3-six diff --git a/lang/python/django-compressor/Makefile b/lang/python/django-compressor/Makefile index 66b4de718d..8b5d61f26c 100644 --- a/lang/python/django-compressor/Makefile +++ b/lang/python/django-compressor/Makefile @@ -30,6 +30,7 @@ define Package/python3-django-compressor TITLE:=Compress CSS/JS into single cached files URL:=https://django-compressor.readthedocs.io DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 \ +python3-django-appconf \ diff --git a/lang/python/django-formtools/Makefile b/lang/python/django-formtools/Makefile index 92f9a961c5..870b0da1f0 100644 --- a/lang/python/django-formtools/Makefile +++ b/lang/python/django-formtools/Makefile @@ -27,6 +27,7 @@ define Package/python3-django-formtools TITLE:=High-level abstractions for Django forms URL:=https://django-formtools.readthedocs.io DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 endef diff --git a/lang/python/django-jsonfield/Makefile b/lang/python/django-jsonfield/Makefile index 39b998d127..476e2883f4 100644 --- a/lang/python/django-jsonfield/Makefile +++ b/lang/python/django-jsonfield/Makefile @@ -29,6 +29,7 @@ define Package/python3-django-jsonfield TITLE:=A reusable Django field to store validated JSON in models URL:=https://github.com/rpkilby/jsonfield DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 \ +python3-six diff --git a/lang/python/django-picklefield/Makefile b/lang/python/django-picklefield/Makefile index 7d5705aa84..f03a57da8b 100644 --- a/lang/python/django-picklefield/Makefile +++ b/lang/python/django-picklefield/Makefile @@ -32,6 +32,7 @@ define Package/python3-django-picklefield TITLE:=Pickled object field for Django URL:=https://github.com/gintas/django-picklefield/ DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 endef diff --git a/lang/python/django-postoffice/Makefile b/lang/python/django-postoffice/Makefile index 7e2336cb06..2ca960641f 100644 --- a/lang/python/django-postoffice/Makefile +++ b/lang/python/django-postoffice/Makefile @@ -31,6 +31,7 @@ define Package/python3-django-postoffice TITLE:=A Django app to monitor and send mail asynchronously URL:=https://github.com/ui/django-post_office DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 \ +python3-django-jsonfield2 diff --git a/lang/python/django-ranged-response/Makefile b/lang/python/django-ranged-response/Makefile index c222983f44..dbc2dab0f9 100644 --- a/lang/python/django-ranged-response/Makefile +++ b/lang/python/django-ranged-response/Makefile @@ -27,6 +27,7 @@ define Package/python3-django-ranged-response TITLE:=Add Content-Range: to FileResponse URL:=https://github.com/i3thuan5/django-ranged-response DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 endef diff --git a/lang/python/django-restframework39/Makefile b/lang/python/django-restframework39/Makefile index b3a130ebef..b92b23b021 100644 --- a/lang/python/django-restframework39/Makefile +++ b/lang/python/django-restframework39/Makefile @@ -29,6 +29,7 @@ define Package/python3-django-restframework39 TITLE:=Web APIs for Django, made easy. URL:=https://www.django-rest-framework.org DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 CONFLICTS:=python3-django-restframework diff --git a/lang/python/django-simple-captcha/Makefile b/lang/python/django-simple-captcha/Makefile index c3f41dfed9..bf9864f751 100644 --- a/lang/python/django-simple-captcha/Makefile +++ b/lang/python/django-simple-captcha/Makefile @@ -30,6 +30,7 @@ define Package/python3-django-simple-captcha TITLE:=Simple Django captcha application URL:=https://github.com/mbi/django-simple-captcha DEPENDS:= \ + @BROKEN \ +python3 \ +python3-six \ +python3-django1 \ diff --git a/lang/python/django-statici18n/Makefile b/lang/python/django-statici18n/Makefile index 4f9ad8b1fa..444b98b3af 100644 --- a/lang/python/django-statici18n/Makefile +++ b/lang/python/django-statici18n/Makefile @@ -29,6 +29,7 @@ define Package/python3-django-statici18n TITLE:=Helper for generating JavaScript catalog to static files URL:=https://django-statici18n.readthedocs.io DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 \ +python3-django-appconf \ diff --git a/lang/python/django-webpack-loader/Makefile b/lang/python/django-webpack-loader/Makefile index 03c18b0a1f..3aae13f7f5 100644 --- a/lang/python/django-webpack-loader/Makefile +++ b/lang/python/django-webpack-loader/Makefile @@ -27,6 +27,7 @@ define Package/python3-django-webpack-loader TITLE:=Transparently use webpack in django URL:=https://github.com/owais/django-webpack-loader DEPENDS:= \ + @BROKEN \ +python3 \ +python3-django1 endef diff --git a/lang/python/django1/Makefile b/lang/python/django1/Makefile index a17d4c2931..8ec439aadc 100644 --- a/lang/python/django1/Makefile +++ b/lang/python/django1/Makefile @@ -30,6 +30,7 @@ define Package/python3-django1 TITLE:=The web framework for perfectionists with deadlines. URL:=https://www.djangoproject.com/ DEPENDS:= \ + @BROKEN \ +python3 \ +python3-pytz PROVIDES:=django diff --git a/net/seafile-seahub/Makefile b/net/seafile-seahub/Makefile index d16ae9f667..8fc350c9b0 100644 --- a/net/seafile-seahub/Makefile +++ b/net/seafile-seahub/Makefile @@ -35,6 +35,7 @@ define Package/seafile-seahub TITLE:=Seafile server - seahub component URL:=https://seafile.com/ DEPENDS:= \ + @BROKEN \ +gunicorn3 \ +python3 \ +python3-chardet \ diff --git a/net/seafile-server/Makefile b/net/seafile-server/Makefile index 156194b770..3271ee7a7f 100644 --- a/net/seafile-server/Makefile +++ b/net/seafile-server/Makefile @@ -46,6 +46,7 @@ define Package/seafile-server TITLE:=Seafile server URL:=https://seafile.com/ DEPENDS:= \ + @BROKEN \ +bash \ +glib2 \ +jansson \ @@ -85,6 +86,7 @@ define Package/seafile-server-fuse TITLE:=Seafile server - FUSE extension URL:=https://seafile.com/ DEPENDS:= \ + @BROKEN \ +bash \ +glib2 \ +jansson \ @@ -117,7 +119,7 @@ define Package/python3-seafile-server CATEGORY:=Languages SUBMENU:=Python TITLE:=Python bindings for Seafile server - DEPENDS:=+python3-light +python3-logging +python3-searpc +python3-seafile-ccnet + DEPENDS:=@BROKEN +python3-light +python3-logging +python3-searpc +python3-seafile-ccnet endef define Package/python3-seafile-server/description