b518cf12db32773d98fc3385d18764fefcb78780
[feed/packages.git] / lang / python / django / Makefile
1 #
2 # Copyright (C) Alexandru Ardelean <ardeleanalex@gmail.com>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=django
11 PKG_VERSION:=4.2.3
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=Django
15 PKG_HASH:=45a747e1c5b3d6df1b141b1481e193b033fd1fdbda3ff52677dc81afdaacbaed
16
17 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>, Peter Stadler <peter.stadler@student.uibk.ac.at>
18 PKG_LICENSE:=BSD-3-Clause
19 PKG_LICENSE_FILES:=LICENSE LICENSE.python
20 PKG_CPE_ID:=cpe:/a:djangoproject:django
21
22 include ../pypi.mk
23 include $(INCLUDE_DIR)/package.mk
24 include ../python3-package.mk
25
26 define Package/python3-django
27 SUBMENU:=Python
28 SECTION:=lang
29 CATEGORY:=Languages
30 TITLE:=The web framework for perfectionists with deadlines.
31 URL:=https://www.djangoproject.com/
32 DEPENDS:= +python3 +python3-pytz +python3-sqlparse +python3-asgiref
33 CONFLICTS:=python3-django1
34 PROVIDES:=django
35 endef
36
37 define Package/python3-django/description
38 The web framework for perfectionists with deadlines.
39 endef
40
41 define Py3Package/python3-django/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/django-admin $(1)/usr/bin
44 endef
45
46 $(eval $(call Py3Package,python3-django))
47 $(eval $(call BuildPackage,python3-django))
48 $(eval $(call BuildPackage,python3-django-src))