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.

66 lines
1.8 KiB

  1. #
  2. # Copyright (C) 2007-2017 OpenWrt.org
  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-constance
  9. PKG_VERSION:=2.3.1
  10. PKG_RELEASE:=5
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=a49735063b2c30015d2e52a90609ea9798da722ed070f091de51714758a5d018
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=BSD-3-Clause
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python-package.mk
  18. include ../python3-package.mk
  19. define Package/python-django-constance/Default
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Django live settings with pluggable backends, including Redis.
  24. URL:=https://github.com/jazzband/django-constance
  25. endef
  26. define Package/python-django-constance
  27. $(call Package/python-django-constance/Default)
  28. DEPENDS:= \
  29. +PACKAGE_python-django-constance:python \
  30. python-django1
  31. VARIANT:=python
  32. MDEPENDS:=python-django1
  33. endef
  34. define Package/python-django-constance/description
  35. Django live settings with pluggable backends, including Redis.
  36. endef
  37. define Package/python3-django-constance
  38. $(call Package/python-django-constance/Default)
  39. DEPENDS:= \
  40. +PACKAGE_python3-django-constance:python3 \
  41. +PACKAGE_python3-django-constance:python3-django1
  42. VARIANT:=python3
  43. endef
  44. define Package/python3-django-constance/description
  45. $(call Package/python-django-constance/description)
  46. .
  47. (Variant for Python3)
  48. endef
  49. $(eval $(call PyPackage,python-django-constance))
  50. $(eval $(call BuildPackage,python-django-constance))
  51. $(eval $(call BuildPackage,python-django-constance-src))
  52. $(eval $(call Py3Package,python3-django-constance))
  53. $(eval $(call BuildPackage,python3-django-constance))
  54. $(eval $(call BuildPackage,python3-django-constance-src))