@ -27,7 +27,7 @@ include ../python3-package.mk
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 / $( PKG_NAME ) / D e f a u l t
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 a u l t
SUBMENU:= Python
SECTION:= lang
CATEGORY:= Languages
@ -35,45 +35,45 @@ define Package/$(PKG_NAME)/Default
URL:= https://github.com/mbi/django-simple-captcha
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 )
d e f i n e P a c k a g e / p y t h o n - d j a n g o - s i m p l e - c a p t c h a
$( call Package /django -simple -captcha /Default )
DEPENDS:= \
+PACKAGE_python-$( PKG_NAME) :python \
+PACKAGE_python-$( PKG_NAME) :python-six \
+PACKAGE_python-django-simple-captcha :python \
+PACKAGE_python-django-simple-captcha :python-six \
python-django1 \
+PACKAGE_python-$( PKG_NAME) :python-pillow \
+PACKAGE_python-$( PKG_NAME) :python-django-ranged-response
+PACKAGE_python-django-simple-captcha :python-pillow \
+PACKAGE_python-django-simple-captcha :python-django-ranged-response
VARIANT:= python
MDEPENDS:= python-django1
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 ) / 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 - 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
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
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 )
d e f i n e P a c k a g e / p y t h o n 3 - d j a n g o - s i m p l e - c a p t c h a
$( call Package /django -simple -captcha /Default )
DEPENDS:= \
+PACKAGE_python3-$( PKG_NAME) :python3 \
+PACKAGE_python3-$( PKG_NAME) :python3-six \
+PACKAGE_python3-django-simple-captcha :python3 \
+PACKAGE_python3-django-simple-captcha :python3-six \
python3-django \
+PACKAGE_python3-$( PKG_NAME) :python3-pillow \
+PACKAGE_python3-$( PKG_NAME) :python3-django-ranged-response
+PACKAGE_python3-django-simple-captcha :python3-pillow \
+PACKAGE_python3-django-simple-captcha :python3-django-ranged-response
VARIANT:= python3
MDEPENDS:= python3-django
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 )
d e f i n e P a c k a g e / p y t h o n 3 - 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
$( call Package /python -django -simple -captcha /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 PyPackage ,python -django -simple -captcha ) )
$( eval $ ( call BuildPackage ,python -django -simple -captcha ) )
$( eval $ ( call BuildPackage ,python -django -simple -captcha -src ) )
$( eval $ ( call Py 3Package ,python 3-$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,python 3-$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,python 3-$ ( PKG_NAME ) -src ) )
$( eval $ ( call Py 3Package ,python 3-django -simple -captcha ) )
$( eval $ ( call BuildPackage ,python 3-django -simple -captcha ) )
$( eval $ ( call BuildPackage ,python 3-django -simple -captcha -src ) )