diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-04-22 01:27:50 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-22 16:36:55 +0800 |
| commit | 2210c4a60dd8fb6420f7bd3c6fe00ed0ae4c51be (patch) | |
| tree | d04a75fdd503108d25ad29ff7e7128083ae5b855 /lang/python/django-simple-captcha | |
| parent | 124b966b3fb9c2cfbd6f6c3efa151eb6cf26d1d9 (diff) | |
python-packages: Clean up Makefiles
This removes:
* Python 3 variants (VARIANT:=python3)
* "for Python3" from package titles
* Package selection condition from package dependencies, e.g.
+PACKAGE_python3-six:python3-light replaced with +python3-light
* "Default" package information sections, e.g.
Package/python-six/Default removed and package details merged into
Package/python3-six
* "(Variant for Python3)" from package descriptions
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/django-simple-captcha')
| -rw-r--r-- | lang/python/django-simple-captcha/Makefile | 25 |
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)) |
