summaryrefslogtreecommitdiff
path: root/lang/python/django-restframework
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-02-05 19:13:45 +0800
committerJeffery To <jeffery.to@gmail.com>2020-02-13 15:29:59 +0800
commit07251a0543600765e16e9f767d52e28a11768600 (patch)
tree80fbda1bd52baaa639bae813ca6ecb2cb7a8ac95 /lang/python/django-restframework
parentec97bdee355752a92d4b9f3a5d566ee0e424a700 (diff)
django1: Add python3-django1 package
This adds a Python 3 version of the django1 package. This also adds a python-django1-common package that contains a django-admin script based on the one in Debian[1]. This allows python-django1 and python3-django1 to be installed at the same time. python3-django conflicts with python-django1 (via python-django1-common) and python3-django1. This also updates older Python 3 Django plugin packages to depend on python3-django1, and newer plugin packages to depend on "django", which both python3-django and python3-django1 provide. Because of this dependency on either version of Django, the MDEPENDS for Python 3 Django plugin packages no longer functions correctly and has been removed. [1]: https://salsa.debian.org/python-team/modules/python-django/blob/debian/buster/debian/django-admin Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/django-restframework')
-rw-r--r--lang/python/django-restframework/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/python/django-restframework/Makefile b/lang/python/django-restframework/Makefile
index f9fdbd331..f18b8811b 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.11.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=djangorestframework
PKG_HASH:=e782087823c47a26826ee5b6fa0c542968219263fb3976ec3c31edab23a4001f
@@ -28,9 +28,8 @@ define Package/python3-django-restframework
CATEGORY:=Languages
TITLE:=Web APIs for Django, made easy.
URL:=https://www.django-rest-framework.org
- DEPENDS:=+python3 python3-django
+ DEPENDS:=+python3 +django
VARIANT:=python3
- MDEPENDS:=python3-django
endef
define Package/python3-django-restframework/description