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.

58 lines
1.6 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:=django1
  9. PKG_VERSION:=1.11.24
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=Django-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/D/Django
  13. PKG_HASH:=215c27453f775b6b1add83a185f76c2e2ab711d17786a6704bd62eabd93f89e3
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-django-$(PKG_VERSION)
  15. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  16. PKG_LICENSE:=BSD-3-Clause
  17. PKG_LICENSE_FILES:=LICENSE LICENSE.python
  18. PKG_CPE_ID:=cpe:/a:djangoproject:django
  19. include $(INCLUDE_DIR)/package.mk
  20. include ../python-package.mk
  21. PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
  22. define Package/django1/Default
  23. SUBMENU:=Python
  24. SECTION:=lang
  25. CATEGORY:=Languages
  26. TITLE:=The web framework for perfectionists with deadlines.
  27. URL:=https://www.djangoproject.com/
  28. MENU:=1
  29. endef
  30. define Package/python-django1
  31. $(call Package/django1/Default)
  32. DEPENDS:= \
  33. +PACKAGE_python-django1:python \
  34. +PACKAGE_python-django1:python-pytz
  35. VARIANT:=python
  36. CONFLICTS:=python3-django
  37. endef
  38. define Package/python-django1/description
  39. The web framework for perfectionists with deadlines (LTS 1.11 series).
  40. Python2 only.
  41. endef
  42. $(eval $(call PyPackage,python-django1))
  43. define Package/python-django1-src +=
  44. MDEPENDS:=python-django1
  45. endef
  46. $(eval $(call BuildPackage,python-django1))
  47. $(eval $(call BuildPackage,python-django1-src))