diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2017-06-01 09:42:53 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-06-12 06:56:24 +0200 |
commit | 464995dca63cc5ceb168f8a244a70d42d6513d5e (patch) | |
tree | df364b34e714530b89abd0a185f6f55d1551541e /meta-python/recipes-devtools/python | |
parent | 894958c35a8694de53aa3fe63b20a431adaec135 (diff) | |
download | meta-openembedded-contrib-464995dca63cc5ceb168f8a244a70d42d6513d5e.tar.gz |
python-netaddr: Add support for python3
Extend recipe to support python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
3 files changed, 12 insertions, 8 deletions
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 |