mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 02:51:22 +00:00
python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -22,7 +22,6 @@ PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python-package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
|
||||
@@ -35,23 +34,6 @@ define Package/django-simple-captcha/Default
|
||||
URL:=https://github.com/mbi/django-simple-captcha
|
||||
endef
|
||||
|
||||
define Package/python-django-simple-captcha
|
||||
$(call Package/django-simple-captcha/Default)
|
||||
DEPENDS:= \
|
||||
+PACKAGE_python-django-simple-captcha:python \
|
||||
+PACKAGE_python-django-simple-captcha:python-six \
|
||||
python-django1 \
|
||||
+PACKAGE_python-django-simple-captcha:python-pillow \
|
||||
+PACKAGE_python-django-simple-captcha:python-django-ranged-response
|
||||
VARIANT:=python
|
||||
MDEPENDS:=python-django1
|
||||
endef
|
||||
|
||||
define Package/python-django-simple-captcha/description
|
||||
Django Simple Captcha is an extremely simple, yet highly customizable Django
|
||||
application to add captcha images to any Django form.
|
||||
endef
|
||||
|
||||
define Package/python3-django-simple-captcha
|
||||
$(call Package/django-simple-captcha/Default)
|
||||
DEPENDS:= \
|
||||
@@ -64,15 +46,12 @@ $(call Package/django-simple-captcha/Default)
|
||||
endef
|
||||
|
||||
define Package/python3-django-simple-captcha/description
|
||||
$(call Package/python-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 PyPackage,python-django-simple-captcha))
|
||||
$(eval $(call BuildPackage,python-django-simple-captcha))
|
||||
$(eval $(call BuildPackage,python-django-simple-captcha-src))
|
||||
|
||||
$(eval $(call Py3Package,python3-django-simple-captcha))
|
||||
$(eval $(call BuildPackage,python3-django-simple-captcha))
|
||||
$(eval $(call BuildPackage,python3-django-simple-captcha-src))
|
||||
|
||||
Reference in New Issue
Block a user