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

@@ -23,7 +23,6 @@ HOST_BUILD_DEPENDS:=python3/host
include ../pypi.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-six/Default
@@ -34,27 +33,17 @@ define Package/python-six/Default
URL:=https://github.com/benjaminp/six
endef
define Package/python-six
$(call Package/python-six/Default)
DEPENDS:=+PACKAGE_python-six:python-light
VARIANT:=python
endef
define Package/python3-six
$(call Package/python-six/Default)
DEPENDS:=+PACKAGE_python3-six:python3-light
VARIANT:=python3
endef
define Package/python-six/description
define Package/python3-six/description
Six is a Python 2 and 3 compatibility library. It provides utility functions
for smoothing over the differences between the Python versions with the goal of
writing Python code that is compatible on both Python versions. See the
documentation for more information on what is provided.
endef
define Package/python3-six/description
$(call Package/python-six/description)
.
(Variant for Python3)
endef
@@ -67,10 +56,6 @@ Host/Install:=
$(eval $(call HostBuild))
$(eval $(call PyPackage,python-six))
$(eval $(call BuildPackage,python-six))
$(eval $(call BuildPackage,python-six-src))
$(eval $(call Py3Package,python3-six))
$(eval $(call BuildPackage,python3-six))
$(eval $(call BuildPackage,python3-six-src))