@ -9,34 +9,69 @@ include $(TOPDIR)/rules.mk
PKG_NAME := django-simple-captcha
PKG_VERSION := 0.5.11
PKG_RELEASE := 3
PKG_RELEASE := 4
PKG_MAINTAINER := Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/mbi/django-simple-captcha/tar.gz/v$( PKG_VERSION) ?
PKG_HASH := 7ca26a4f48e14e5f8be022c0dc099ef98980f3fc99f403ca565ab1f3addaee5b
PKG_MAINTAINER := Eneas U de Queiroz <cotequeiroz@gmail.com>
PKG_LICENSE := MIT
PKG_LICENSE_FILES := LICENSE
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .zip
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/source/d/$( PKG_NAME)
PKG_HASH := e14e5c4b207be3dffb200309e7ac7a48de1a2b3293f09eefedd9ab317c4d9a7f
PKG_BUILD_DIR := $( BUILD_DIR) /$( BUILD_VARIANT) -$( PKG_NAME) -$( PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / p y t h o n - p a c k a g e . m k
i n c l u d e . . / p y t h o n 3 - p a c k a g e . m k
PKG_UNPACK := $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
d e f i n e P a c k a g e / d j a n g o - s i m p l e - c a p t c h a
d e f i n e P a c k a g e / $( PKG_NAME ) / D e f a u l t
SUBMENU:= Python
SECTION:= lang
CATEGORY:= Languages
TITLE:= Simple Django captcha application
URL:= https://github.com/mbi/django-simple-captcha
DEPENDS:= +python +python-six +python-django +pillow +django-ranged-response
e n d e f
d e f i n e P a c k a g e / p y t h o n - $( PKG_NAME )
$( call Package /$ ( PKG_NAME ) /Default )
DEPENDS:= \
+PACKAGE_python-$( PKG_NAME) :python \
+PACKAGE_python-$( PKG_NAME) :python-six \
+PACKAGE_python-$( PKG_NAME) :python-django \
+PACKAGE_python-$( PKG_NAME) :python-pillow \
+PACKAGE_python-$( PKG_NAME) :python-django-ranged-response
VARIANT:= python
e n d e f
d e f i n e P a c k a g e / d j a n g o - s i m p l e - c a p t c h a / d e s c r i p t i o n
d e f i n e P a c k a g e / p y t h o n - $( PKG_NAME ) / d e s c r i p t i o n
Django Simple Captcha is an extremely simple, yet highly customizable Django
application to add captcha images to any Django form.
e n d e f
$( eval $ ( call PyPackage ,django -simple -captcha ) )
$( eval $ ( call BuildPackage ,django -simple -captcha ) )
$( eval $ ( call BuildPackage ,django -simple -captcha -src ) )
d e f i n e P a c k a g e / p y t h o n 3 - $( PKG_NAME )
$( call Package /$ ( PKG_NAME ) /Default )
DEPENDS:= \
+PACKAGE_python3-$( PKG_NAME) :python3 \
+PACKAGE_python3-$( PKG_NAME) :python3-six \
+PACKAGE_python3-$( PKG_NAME) :python3-django \
+PACKAGE_python3-$( PKG_NAME) :python3-pillow \
+PACKAGE_python3-$( PKG_NAME) :python3-django-ranged-response
VARIANT:= python3
e n d e f
d e f i n e P a c k a g e / p y t h o n 3 - $( PKG_NAME ) / d e s c r i p t i o n
$( call define Package /python -$ ( PKG_NAME ) /description )
.
( V a r i a n t f o r P y t h o n 3 )
e n d e f
$( eval $ ( call PyPackage ,python -$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,python -$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,python -$ ( PKG_NAME ) -src ) )
$( eval $ ( call Py 3Package ,python 3-$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,python 3-$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,python 3-$ ( PKG_NAME ) -src ) )