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.

52 lines
1.4 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.2.1
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=django-post-office
  12. PYPI_SOURCE_NAME:=django-post_office
  13. PKG_HASH:=e32427822f647719575094f790ca949ef9f9827ec0e8378cb021f01f3834b2a4
  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 ../python3-package.mk
  20. define Package/django-postoffice/Default
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=A Django app to monitor and send mail asynchronously
  25. URL:=https://github.com/ui/django-post_office
  26. endef
  27. define Package/python3-django-postoffice
  28. $(call Package/django-postoffice/Default)
  29. DEPENDS:= \
  30. +PACKAGE_python3-django-postoffice:python3 \
  31. +PACKAGE_python3-django-postoffice:python3-django1 \
  32. +PACKAGE_python3-django-postoffice:python3-django-jsonfield
  33. VARIANT:=python3
  34. endef
  35. define Package/python3-django-postoffice/description
  36. A Django app to monitor and send mail asynchronously, complete with template
  37. support
  38. .
  39. (Variant for Python3)
  40. endef
  41. $(eval $(call Py3Package,python3-django-postoffice))
  42. $(eval $(call BuildPackage,python3-django-postoffice))
  43. $(eval $(call BuildPackage,python3-django-postoffice-src))