From c21a453ffda4fb451593b85ae06b8ea9eac0ea7d Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Fri, 11 Oct 2019 09:29:46 +0300 Subject: django: split django1 package and update to 2.2.6 After many failed attempts at upgrading Django to 2.2.6, the solution seems to be to split a `python-django1` package that works with Python2 and upgrade `python3-django` to the latest 2.2[.6] LTS release. This also means that all Python2 Django packages will be stuck & based on Django 1.11[.24] LTS release. But, it's currently the sanest approach I could find to be able to perform an upgrade of Django to 2.2, and not break Seafile. Upgrading Seafile is also pretty difficult, as their Python3 support is not yet finished & released. And in the meantime, we want to allow people to use newer Django versions. Signed-off-by: Alexandru Ardelean --- lang/python/django-restframework/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/python/django-restframework') diff --git a/lang/python/django-restframework/Makefile b/lang/python/django-restframework/Makefile index 45c8d7e1f..c86fd418a 100644 --- a/lang/python/django-restframework/Makefile +++ b/lang/python/django-restframework/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=django-restframework PKG_VERSION:=3.9.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=djangorestframework-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/djangorestframework @@ -39,9 +39,9 @@ define Package/python-$(PKG_NAME) $(call Package/$(PKG_NAME)/Default) DEPENDS:= \ +PACKAGE_python-$(PKG_NAME):python \ - python-django + python-django1 VARIANT:=python - MDEPENDS:=python-django + MDEPENDS:=python-django1 endef define Package/python-$(PKG_NAME)/description -- cgit