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
+1 -18
View File
@@ -17,7 +17,6 @@ PKG_HASH:=614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-et_xmlfile/Default
@@ -28,14 +27,6 @@ define Package/python-et_xmlfile/Default
URL:=https://bitbucket.org/openpyxl/et_xmlfile
endef
define Package/python-et_xmlfile
$(call Package/python-et_xmlfile/Default)
DEPENDS:= \
+PACKAGE_python-et_xmlfile:python-light \
+PACKAGE_python-et_xmlfile:python-lxml
VARIANT:=python
endef
define Package/python3-et_xmlfile
$(call Package/python-et_xmlfile/Default)
DEPENDS:= \
@@ -44,22 +35,14 @@ $(call Package/python-et_xmlfile/Default)
VARIANT:=python3
endef
define Package/python-et_xmlfile/description
define Package/python3-et_xmlfile/description
An implementation of lxml.xmlfile for the standard library.
It is based upon the xmlfile module from lxml with the aim of
allowing code to be developed that will work with both libraries.
endef
define Package/python3-et_xmlfile/description
$(call Package/python-et_xmlfile/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-et_xmlfile))
$(eval $(call BuildPackage,python-et_xmlfile))
$(eval $(call BuildPackage,python-et_xmlfile-src))
$(eval $(call Py3Package,python3-et_xmlfile))
$(eval $(call BuildPackage,python3-et_xmlfile))
$(eval $(call BuildPackage,python3-et_xmlfile-src))