[meta-virtualization] [m-c-s][PATCH] python-netaddr: switch to setuptools

Mark Asselstine mark.asselstine at windriver.com
Mon Jan 30 09:07:50 PST 2017


The uprev done in commit 0f9fb18e1883 didn't take into account that
upstream moved to use setuptools (see upstream commit a8509c0c7c4c
[cleaned up of older conventions and switched to setuptools]). Switch
to setup tools to match this upstream change. This will fix errors
seen when attempting to 'import netaddr'.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb b/meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb
index 8284d20..d3d83a1 100644
--- a/meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb
+++ b/meta-openstack/recipes-devtools/python/python-netaddr_0.7.19.bb
@@ -13,4 +13,4 @@ SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c77
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
-- 
2.7.4



More information about the meta-virtualization mailing list