summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorPeter Stadler <peter.stadler@student.uibk.ac.at>2019-11-05 14:24:37 +0100
committerPeter Stadler <peter.stadler@student.uibk.ac.at>2019-11-05 15:50:03 +0100
commit18c99e8d07ee38205e13add9e46ebb93f0a53ae7 (patch)
tree3a6453973ada6449bf06aeaf820ce9f727c55024 /lang/python
parentf095101399db297ce327dc3dd63e04a37c4a1ad5 (diff)
django: bump version to 2.2.7 and fix minor problems
Add dependency on python3-sqlparse and use django-admin.py instead of django-admin as the latter depends on python3-pkg-resources. Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/django/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/lang/python/django/Makefile b/lang/python/django/Makefile
index ab26ee4ac..b6a3ebfd9 100644
--- a/lang/python/django/Makefile
+++ b/lang/python/django/Makefile
@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=django
-PKG_VERSION:=2.2.6
+PKG_VERSION:=2.2.7
PKG_RELEASE:=1
PYPI_NAME:=Django
-PKG_HASH:=a8ca1033acac9f33995eb2209a6bf18a4681c3e5269a878e9a7e0b7384ed1ca3
+PKG_HASH:=16040e1288c6c9f68c6da2fe75ebde83c0a158f6f5d54f4c5177b0c1478c5b86
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=BSD-3-Clause
@@ -36,7 +36,8 @@ define Package/python3-django
$(call Package/django/Default)
DEPENDS:= \
+PACKAGE_python3-django:python3 \
- +PACKAGE_python3-django:python3-pytz
+ +PACKAGE_python3-django:python3-pytz \
+ +PACKAGE_python3-django:python3-sqlparse
VARIANT:=python3
endef
@@ -45,6 +46,12 @@ define Package/python3-django/description
Python3 only.
endef
+define Py3Package/python3-django/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/django-admin.py \
+ $(1)/usr/bin/django-admin
+endef
+
$(eval $(call Py3Package,python3-django))
$(eval $(call BuildPackage,python3-django))
$(eval $(call BuildPackage,python3-django-src))