2016-04-30 08:37:30 +00:00
|
|
|
#
|
2019-10-11 06:29:46 +00:00
|
|
|
# Copyright (C) Alexandru Ardelean <ardeleanalex@gmail.com>
|
2016-04-30 08:37:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=django
|
2020-04-02 10:06:44 +00:00
|
|
|
PKG_VERSION:=3.0.5
|
2020-03-10 12:11:48 +00:00
|
|
|
PKG_RELEASE:=1
|
2016-04-30 08:37:30 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=Django
|
2020-04-02 10:06:44 +00:00
|
|
|
PKG_HASH:=d4666c2edefa38c5ede0ec1655424c56dc47ceb04b6d8d62a7eac09db89545c1
|
2016-04-30 08:37:30 +00:00
|
|
|
|
2019-03-14 08:52:49 +00:00
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
2018-12-16 19:33:26 +00:00
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=LICENSE LICENSE.python
|
|
|
|
PKG_CPE_ID:=cpe:/a:djangoproject:django
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2016-04-30 08:37:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-06-03 12:25:39 +00:00
|
|
|
include ../python3-package.mk
|
|
|
|
|
2020-02-05 11:13:45 +00:00
|
|
|
define Package/python3-django
|
2019-06-03 12:25:39 +00:00
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=The web framework for perfectionists with deadlines.
|
|
|
|
URL:=https://www.djangoproject.com/
|
2020-01-28 20:31:58 +00:00
|
|
|
DEPENDS:= +python3 +python3-pytz +python3-sqlparse +python3-asgiref
|
2020-02-05 11:13:45 +00:00
|
|
|
CONFLICTS:=python3-django1 python-django1-common
|
|
|
|
PROVIDES:=django
|
2019-06-03 12:25:39 +00:00
|
|
|
VARIANT:=python3
|
2016-04-30 08:37:30 +00:00
|
|
|
endef
|
|
|
|
|
2019-06-03 12:25:39 +00:00
|
|
|
define Package/python3-django/description
|
2019-10-11 06:29:46 +00:00
|
|
|
The web framework for perfectionists with deadlines (LTS 2.2 series).
|
|
|
|
Python3 only.
|
2016-04-30 08:37:30 +00:00
|
|
|
endef
|
|
|
|
|
2019-11-05 13:24:37 +00:00
|
|
|
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
|
|
|
|
|
2019-06-03 12:25:39 +00:00
|
|
|
$(eval $(call Py3Package,python3-django))
|
|
|
|
$(eval $(call BuildPackage,python3-django))
|
2019-10-11 06:29:46 +00:00
|
|
|
$(eval $(call BuildPackage,python3-django-src))
|