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.

47 lines
1.2 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-simple-captcha
  9. PKG_VERSION:=0.5.12
  10. PKG_RELEASE:=4
  11. PYPI_NAME:=$(PKG_NAME)
  12. PYPI_SOURCE_EXT:=zip
  13. PKG_HASH:=fc25f0425e282aa82d2a65013049a8dc7c0682f8e05d32681c39a0c55ed322bd
  14. PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-django-simple-captcha
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Simple Django captcha application
  25. URL:=https://github.com/mbi/django-simple-captcha
  26. DEPENDS:= \
  27. +python3 \
  28. +python3-six \
  29. +python3-django1 \
  30. +python3-pillow \
  31. +python3-django-ranged-response
  32. endef
  33. define Package/python3-django-simple-captcha/description
  34. Django Simple Captcha is an extremely simple, yet highly customizable Django
  35. application to add captcha images to any Django form.
  36. endef
  37. $(eval $(call Py3Package,python3-django-simple-captcha))
  38. $(eval $(call BuildPackage,python3-django-simple-captcha))
  39. $(eval $(call BuildPackage,python3-django-simple-captcha-src))