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.

50 lines
1.3 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 ../python3-package.mk
  19. define Package/django-appconf/Default
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Helper class for handling config defaults
  24. URL:=https://django-appconf.readthedocs.io
  25. endef
  26. define Package/python3-django-appconf
  27. $(call Package/django-appconf/Default)
  28. DEPENDS:= \
  29. +PACKAGE_python3-django-appconf:python3 \
  30. +PACKAGE_python3-django-appconf:python3-django1 \
  31. +PACKAGE_python3-django-appconf:python3-six
  32. VARIANT:=python3
  33. endef
  34. define Package/python3-django-appconf/description
  35. A helper class for handling configuration defaults of packaged apps gracefully
  36. .
  37. (Variant for Python3)
  38. endef
  39. $(eval $(call Py3Package,python3-django-appconf))
  40. $(eval $(call BuildPackage,python3-django-appconf))
  41. $(eval $(call BuildPackage,python3-django-appconf-src))