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

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 3 14:08:38 PDT 2019


merged

Bruce

On Mon, Aug 26, 2019 at 11:45 PM Zang Ruochen
<zangrc.fnst at cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-contextlib2.inc      | 16 ++++++++++++++++
>  .../recipes-devtools/python/python-contextlib2_0.5.5.bb | 17 +----------------
>  .../python/python3-contextlib2_0.5.5.bb                 |  3 +++
>  3 files changed, 20 insertions(+), 16 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-contextlib2.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-contextlib2_0.5.5.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-contextlib2.inc b/meta-openstack/recipes-devtools/python/python-contextlib2.inc
> new file mode 100644
> index 0000000..0a45008
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-contextlib2.inc
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "Backports and enhancements for the contextlib module"
> +HOMEPAGE = "http://contextlib2.readthedocs.org/"
> +SECTION = "devel/python"
> +LICENSE = "PSF"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=43d1c7827e8fad6454b553caf0e1d734"
> +
> +SRC_URI[md5sum] = "95fe420941ebc64951cd9d89edc41870"
> +SRC_URI[sha256sum] = "509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48"
> +
> +DEPENDS += " \
> +        ${PYTHON_PN}-pip \
> +        "
> +
> +RDEPENDS_${PN} += " \
> +        "
> +
> diff --git a/meta-openstack/recipes-devtools/python/python-contextlib2_0.5.5.bb b/meta-openstack/recipes-devtools/python/python-contextlib2_0.5.5.bb
> index af9270e..c6a5c9b 100644
> --- a/meta-openstack/recipes-devtools/python/python-contextlib2_0.5.5.bb
> +++ b/meta-openstack/recipes-devtools/python/python-contextlib2_0.5.5.bb
> @@ -1,18 +1,3 @@
> -DESCRIPTION = "Backports and enhancements for the contextlib module"
> -HOMEPAGE = "http://contextlib2.readthedocs.org/"
> -SECTION = "devel/python"
> -LICENSE = "PSF"
> -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=43d1c7827e8fad6454b553caf0e1d734"
> -
> -SRC_URI[md5sum] = "95fe420941ebc64951cd9d89edc41870"
> -SRC_URI[sha256sum] = "509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48"
> -
>  inherit setuptools pypi
> -
> -DEPENDS += " \
> -        python-pip \
> -        "
> -
> -RDEPENDS_${PN} += " \
> -        "
> +require python-contextlib2.inc
>
> diff --git a/meta-openstack/recipes-devtools/python/python3-contextlib2_0.5.5.bb b/meta-openstack/recipes-devtools/python/python3-contextlib2_0.5.5.bb
> new file mode 100644
> index 0000000..db5fa53
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-contextlib2_0.5.5.bb
> @@ -0,0 +1,3 @@
> +inherit setuptools3 pypi
> +require python-contextlib2.inc
> +
> --
> 2.7.4
>
>
>
> --
> _______________________________________________
> 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