From 464995dca63cc5ceb168f8a244a70d42d6513d5e Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Thu, 1 Jun 2017 09:42:53 -0700 Subject: python-netaddr: Add support for python3 Extend recipe to support python3 Signed-off-by: Moritz Fischer Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-netaddr.inc | 8 ++++++++ meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb | 10 ++-------- meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb | 2 ++ 3 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-netaddr.inc create mode 100644 meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-netaddr.inc b/meta-python/recipes-devtools/python/python-netaddr.inc new file mode 100644 index 0000000000..26b0f1ed0d --- /dev/null +++ b/meta-python/recipes-devtools/python/python-netaddr.inc @@ -0,0 +1,8 @@ +SUMMARY = "A network address manipulation library for Python." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44" + +SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07" +SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd" + +inherit pypi diff --git a/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb b/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb index 5b037357ca..5e089a90f2 100644 --- a/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb +++ b/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb @@ -1,8 +1,2 @@ -SUMMARY = "A network address manipulation library for Python." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44" - -SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07" -SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd" - -inherit pypi setuptools +require python-netaddr.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb b/meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb new file mode 100644 index 0000000000..30416a4ffe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb @@ -0,0 +1,2 @@ +require python-netaddr.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf