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.

69 lines
1.8 KiB

  1. #
  2. # Copyright (C) 2007-2016 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-appconf
  9. PKG_VERSION:=1.0.3
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=35f13ca4d567f132b960e2cd4c832c2d03cb6543452d34e29b7ba10371ba80e3
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python-package.mk
  19. include ../python3-package.mk
  20. define Package/django-appconf/Default
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Helper class for handling config defaults
  25. URL:=https://django-appconf.readthedocs.io
  26. endef
  27. define Package/python-django-appconf
  28. $(call Package/django-appconf/Default)
  29. DEPENDS:= \
  30. +PACKAGE_python-django-appconf:python \
  31. python-django1 \
  32. +PACKAGE_python-django-appconf:python-six
  33. VARIANT:=python
  34. MDEPENDS:=python-django1
  35. endef
  36. define Package/python-django-appconf/description
  37. A helper class for handling configuration defaults of packaged apps gracefully
  38. endef
  39. define Package/python3-django-appconf
  40. $(call Package/django-appconf/Default)
  41. DEPENDS:= \
  42. +PACKAGE_python3-django-appconf:python3 \
  43. +PACKAGE_python3-django-appconf:python3-django1 \
  44. +PACKAGE_python3-django-appconf:python3-six
  45. VARIANT:=python3
  46. endef
  47. define Package/python3-django-appconf/description
  48. $(call Package/python-django-appconf/description)
  49. .
  50. (Variant for Python3)
  51. endef
  52. $(eval $(call PyPackage,python-django-appconf))
  53. $(eval $(call BuildPackage,python-django-appconf))
  54. $(eval $(call BuildPackage,python-django-appconf-src))
  55. $(eval $(call Py3Package,python3-django-appconf))
  56. $(eval $(call BuildPackage,python3-django-appconf))
  57. $(eval $(call BuildPackage,python3-django-appconf-src))