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_HASH:=1d2af392cef8c8227bd2ac3ebe3a28b25aba74fd4fa473ce106065f0b73bfe2e
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-openpyxl/Default
@@ -31,18 +30,6 @@ define Package/python-openpyxl/Default
URL:=https://openpyxl.readthedocs.org/
endef
define Package/python-openpyxl
$(call Package/python-openpyxl/Default)
DEPENDS:= \
+PACKAGE_python-openpyxl:python \
+PACKAGE_python-openpyxl:python-defusedxml \
+PACKAGE_python-openpyxl:python-et_xmlfile \
+PACKAGE_python-openpyxl:python-jdcal
VARIANT:=python
# The PROVIDES below is deprecated and should be dropped with the next version.
PROVIDES:=openpyxl
endef
define Package/python3-openpyxl
$(call Package/python-openpyxl/Default)
DEPENDS:= \
@@ -53,20 +40,12 @@ define Package/python3-openpyxl
VARIANT:=python3
endef
define Package/python-openpyxl/description
A Python library to read/write Excel 2010 xlsx/xlsm files
endef
define Package/python3-openpyxl/description
$(call Package/python-openpyxl/description)
A Python library to read/write Excel 2010 xlsx/xlsm files
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-openpyxl))
$(eval $(call BuildPackage,python-openpyxl))
$(eval $(call BuildPackage,python-openpyxl-src))
$(eval $(call Py3Package,python3-openpyxl))
$(eval $(call BuildPackage,python3-openpyxl))
$(eval $(call BuildPackage,python3-openpyxl-src))