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

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 29 21:27:26 PDT 2019


merged

Bruce

On Thu, Aug 29, 2019 at 2:01 AM Zang Ruochen <zangrc.fnst at cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
> ---
>  meta-openstack/recipes-devtools/python/python-extras.inc     | 10 ++++++++++
>  .../recipes-devtools/python/python-extras_1.0.0.bb           | 12 ++----------
>  .../recipes-devtools/python/python3-extras_1.0.0.bb          |  2 ++
>  3 files changed, 14 insertions(+), 10 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-extras.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-extras.inc b/meta-openstack/recipes-devtools/python/python-extras.inc
> new file mode 100644
> index 0000000..45d57bb
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-extras.inc
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "Useful extra bits for Python - things that should be in the standard library"
> +HOMEPAGE = "https://pypi.python.org/pypi/extras/"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=6d108f338b2f68fe48ac366c4650bd8b"
> +
> +SRC_URI[md5sum] = "3a63ad60cf8f0186c9e3a02f55ec5b14"
> +SRC_URI[sha256sum] = "132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e"
> +
> +inherit pypi
> diff --git a/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb b/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb
> index 6d75324..953b9e2 100644
> --- a/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-extras_1.0.0.bb
> @@ -1,10 +1,2 @@
> -DESCRIPTION = "Useful extra bits for Python - things that should be in the standard library"
> -HOMEPAGE = "https://pypi.python.org/pypi/extras/"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=6d108f338b2f68fe48ac366c4650bd8b"
> -
> -SRC_URI[md5sum] = "3a63ad60cf8f0186c9e3a02f55ec5b14"
> -SRC_URI[sha256sum] = "132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e"
> -
> -inherit setuptools pypi
> +inherit setuptools
> +require python-extras.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb b/meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb
> new file mode 100644
> index 0000000..76f87f2
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-extras_1.0.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-extras.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