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:
Jeffery To
2020-04-01 22:21:16 +08:00
parent c37b15e1c4
commit 658b1b6758
78 changed files with 89 additions and 1501 deletions

View File

@@ -20,7 +20,6 @@ PKG_CPE_ID:=cpe:/a:python:pillow
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-pillow/Default
@@ -32,16 +31,6 @@ define Package/python-pillow/Default
DEPENDS:=+libfreetype +libjpeg +libtiff +zlib
endef
define Package/python-pillow
$(call Package/python-pillow/Default)
DEPENDS+=+PACKAGE_python-pillow:python
VARIANT:=python
endef
define Package/python-pillow/description
The friendly PIL fork
endef
define Package/python3-pillow
$(call Package/python-pillow/Default)
DEPENDS+=+PACKAGE_python3-pillow:python3
@@ -49,7 +38,7 @@ $(call Package/python-pillow/Default)
endef
define Package/python3-pillow/description
$(call Package/python-pillow/description)
The friendly PIL fork
.
(Variant for Python3)
endef
@@ -66,12 +55,6 @@ PYTHON3_PKG_SETUP_GLOBAL_ARGS += build_ext \
--disable-imagequant \
--disable-platform-guessing
PYTHON_PKG_SETUP_GLOBAL_ARGS:=$(PYTHON3_PKG_SETUP_GLOBAL_ARGS)
$(eval $(call PyPackage,python-pillow))
$(eval $(call BuildPackage,python-pillow))
$(eval $(call BuildPackage,python-pillow-src))
$(eval $(call Py3Package,python3-pillow))
$(eval $(call BuildPackage,python3-pillow))
$(eval $(call BuildPackage,python3-pillow-src))