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.

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