[meta-virtualization] [PATCH] python-netifaces: Add python3 version

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 29 21:19:40 PDT 2019


merged

Bruce

On Mon, Aug 26, 2019 at 3:38 AM Zheng Ruoqin
<zhengrq.fnst at cn.fujitsu.com> wrote:
>
> Providing a python3 version of python-netifaces.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-netifaces.inc     | 10 ++++++++++
>  .../python/python-netifaces_0.10.9.bb                | 12 ++----------
>  .../python/python3-netifaces_0.10.9.bb               |  2 ++
>  3 files changed, 14 insertions(+), 10 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-netifaces.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-netifaces.inc b/meta-openstack/recipes-devtools/python/python-netifaces.inc
> new file mode 100644
> index 0000000..b1b1ed5
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-netifaces.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "Portable network interface information."
> +HOMEPAGE = "http://alastairs-place.net/netifaces"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
> +
> +SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860"
> +SRC_URI[sha256sum] = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3"
> +
> +inherit pypi
> diff --git a/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb b/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb
> index 05f5f4a..aa9760b 100644
> --- a/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb
> +++ b/meta-openstack/recipes-devtools/python/python-netifaces_0.10.9.bb
> @@ -1,10 +1,2 @@
> -DESCRIPTION = "Portable network interface information."
> -HOMEPAGE = "http://alastairs-place.net/netifaces"
> -SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
> -
> -SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860"
> -SRC_URI[sha256sum] = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3"
> -
> -inherit setuptools pypi
> +inherit setuptools
> +require python-netifaces.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb b/meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb
> new file mode 100644
> index 0000000..a46326f
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-netifaces_0.10.9.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-netifaces.inc
> --
> 2.17.1
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


More information about the meta-virtualization mailing list