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.

42 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.11
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
  12. PKG_LICENSE:=MIT
  13. PKG_LICENSE_FILES:=LICENSE
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
  15. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/$(PKG_NAME)
  16. PKG_HASH:=e14e5c4b207be3dffb200309e7ac7a48de1a2b3293f09eefedd9ab317c4d9a7f
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python-package.mk
  19. define Package/django-simple-captcha
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=A very simple, yet powerful, Django captcha application
  24. URL:=https://github.com/mbi/django-simple-captcha
  25. DEPENDS:=+python +python-six +django +pillow +django-ranged-response
  26. VARIANT:=python
  27. endef
  28. define Package/django-simple-captcha/description
  29. Django Simple Captcha is an extremely simple, yet highly customizable Django
  30. application to add captcha images to any Django form.
  31. endef
  32. $(eval $(call PyPackage,django-simple-captcha))
  33. $(eval $(call BuildPackage,django-simple-captcha))
  34. $(eval $(call BuildPackage,django-simple-captcha-src))