openvswitch: remove python-six dependency
authorAlexandru Ardelean <redacted>
Mon, 8 Nov 2021 10:06:09 +0000 (12:06 +0200)
committerAlexandru Ardelean <redacted>
Wed, 10 Nov 2021 12:32:16 +0000 (14:32 +0200)
Python six was required to build the OVS Python libs during the time when
they were supporting both Python 2 & 3.

Python 3 is a minimum requirement for OVS Python's libs since commits:
  https://github.com/openvswitch/ovs/commit/1ca0323e7c29dc7ef5a615c265df0460208f92de
  https://github.com/openvswitch/ovs/commit/bd9052455092630e03485538a29f9f8d147c41ca
and Six is no longer required since commit
  https://github.com/openvswitch/ovs/commit/0c4d144a989a444d038d58272d8571e97e00e86f

The end-goal here is to get rid of the Python Six host-build.
OVS is the only user.

Signed-off-by: Alexandru Ardelean <redacted>
net/openvswitch/Makefile

index 1fdc11c070d738360aef4b7cdcc39554e1baa73b..d9872ba984ca585d8740ad996bc6d5ac3e12562e 100644 (file)
@@ -17,7 +17,7 @@ include ./openvswitch.mk
 #
 PKG_NAME:=openvswitch
 PKG_VERSION:=$(ovs_version)
-PKG_RELEASE:=9
+PKG_RELEASE:=10
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.openvswitch.org/releases/
 PKG_HASH:=7d5797f2bf2449c6a266149e88f72123540f7fe7f31ad52902057ae8d8f88c38
@@ -27,7 +27,7 @@ PKG_LICENSE_FILES:=LICENSE
 PKG_CPE_ID:=cpe:/a:openvswitch:openvswitch
 
 PKG_BUILD_DIR:=$(ovs_builddir)
-PKG_BUILD_DEPENDS+=python3/host python-six/host
+PKG_BUILD_DEPENDS+=python3/host
 PKG_USE_MIPS16:=0
 PKG_BUILD_PARALLEL:=1
 PKG_FIXUP:=autoreconf
@@ -234,7 +234,7 @@ $(eval $(call OvsPackageTemplate,openvswitch))
 
 ovs_python3_title:=Open vSwitch (Python3 library)
 ovs_python3_hidden:=
-ovs_python3_depends:=+PACKAGE_openvswitch-python3:python3 +PACKAGE_openvswitch-python3:python3-six
+ovs_python3_depends:=+PACKAGE_openvswitch-python3:python3
 define ovs_python3_install
        $$(INSTALL_DIR) $$(1)$$(PYTHON3_PKG_DIR)
        $$(CP) $$(PKG_INSTALL_DIR)/usr/share/openvswitch/python/ovs $$(1)$$(PYTHON3_PKG_DIR)
git clone https://git.99rst.org/PROJECT