You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=django
  9. PKG_VERSION:=3.1.5
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=Django
  12. PKG_HASH:=2d78425ba74c7a1a74b196058b261b9733a8570782f4e2828974777ccca7edf7
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>, Peter Stadler <peter.stadler@student.uibk.ac.at>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=LICENSE LICENSE.python
  16. PKG_CPE_ID:=cpe:/a:djangoproject:django
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-django
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=The web framework for perfectionists with deadlines.
  25. URL:=https://www.djangoproject.com/
  26. DEPENDS:= +python3 +python3-pytz +python3-sqlparse +python3-asgiref
  27. CONFLICTS:=python3-django1
  28. PROVIDES:=django
  29. endef
  30. define Package/python3-django/description
  31. The web framework for perfectionists with deadlines.
  32. endef
  33. define Py3Package/python3-django/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/django-admin.py \
  36. $(1)/usr/bin/django-admin
  37. endef
  38. $(eval $(call Py3Package,python3-django))
  39. $(eval $(call BuildPackage,python3-django))
  40. $(eval $(call BuildPackage,python3-django-src))