aboutsummaryrefslogtreecommitdiff
path: root/lang/python/django-simple-captcha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/django-simple-captcha/Makefile')
-rw-r--r--lang/python/django-simple-captcha/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/lang/python/django-simple-captcha/Makefile b/lang/python/django-simple-captcha/Makefile
index 03f547a45..7c1ed9382 100644
--- a/lang/python/django-simple-captcha/Makefile
+++ b/lang/python/django-simple-captcha/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=django-simple-captcha
PKG_VERSION:=0.5.12
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/mbi/django-simple-captcha/tar.gz/v$(PKG_VERSION)?
@@ -19,37 +19,26 @@ PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
-
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
-PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
-
-define Package/django-simple-captcha/Default
+define Package/python3-django-simple-captcha
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Simple Django captcha application
URL:=https://github.com/mbi/django-simple-captcha
-endef
-
-define Package/python3-django-simple-captcha
-$(call Package/django-simple-captcha/Default)
DEPENDS:= \
- +PACKAGE_python3-django-simple-captcha:python3 \
- +PACKAGE_python3-django-simple-captcha:python3-six \
- +PACKAGE_python3-django-simple-captcha:python3-django1 \
- +PACKAGE_python3-django-simple-captcha:python3-pillow \
- +PACKAGE_python3-django-simple-captcha:python3-django-ranged-response
- VARIANT:=python3
+ +python3 \
+ +python3-six \
+ +python3-django1 \
+ +python3-pillow \
+ +python3-django-ranged-response
endef
define Package/python3-django-simple-captcha/description
Django Simple Captcha is an extremely simple, yet highly customizable Django
application to add captcha images to any Django form.
-.
-(Variant for Python3)
endef
$(eval $(call Py3Package,python3-django-simple-captcha))