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.

72 lines
1.9 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-postoffice
  9. PKG_VERSION:=3.1.0
  10. PKG_RELEASE:=5
  11. PYPI_NAME:=django-post-office
  12. PYPI_SOURCE_NAME:=django-post_office
  13. PKG_HASH:=827937a944fe47cea393853069cd9315d080298c8ddb0faf787955d6aa51a030
  14. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE.txt
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python-package.mk
  20. include ../python3-package.mk
  21. define Package/django-postoffice/Default
  22. SUBMENU:=Python
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. TITLE:=A Django app to monitor and send mail asynchronously
  26. URL:=https://github.com/ui/django-post_office
  27. endef
  28. define Package/python-django-postoffice
  29. $(call Package/django-postoffice/Default)
  30. DEPENDS:= \
  31. +PACKAGE_python-django-postoffice:python \
  32. python-django1 \
  33. +PACKAGE_python-django-postoffice:python-django-jsonfield
  34. VARIANT:=python
  35. MDEPENDS:=python-django1
  36. endef
  37. define Package/python-django-postoffice/description
  38. A Django app to monitor and send mail asynchronously, complete with template
  39. support
  40. endef
  41. define Package/python3-django-postoffice
  42. $(call Package/django-postoffice/Default)
  43. DEPENDS:= \
  44. +PACKAGE_python3-django-postoffice:python3 \
  45. python3-django \
  46. +PACKAGE_python3-django-postoffice:python3-django-jsonfield
  47. VARIANT:=python3
  48. MDEPENDS:=python3-django
  49. endef
  50. define Package/python3-django-postoffice/description
  51. $(call Package/python-django-postoffice/description)
  52. .
  53. (Variant for Python3)
  54. endef
  55. $(eval $(call PyPackage,python-django-postoffice))
  56. $(eval $(call BuildPackage,python-django-postoffice))
  57. $(eval $(call BuildPackage,python-django-postoffice-src))
  58. $(eval $(call Py3Package,python3-django-postoffice))
  59. $(eval $(call BuildPackage,python3-django-postoffice))
  60. $(eval $(call BuildPackage,python3-django-postoffice-src))