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

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


merged

Bruce

On Mon, Aug 26, 2019 at 1:47 AM Zheng Ruoqin
<zhengrq.fnst at cn.fujitsu.com> wrote:
>
> Providing a python3 version of python-keystoneauth1.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> ---
>  .../python/python-keystoneauth1.inc           | 27 +++++++++++++++++
>  .../python/python-keystoneauth1_3.17.0.bb     | 29 ++-----------------
>  .../python/python3-keystoneauth1_3.17.0.bb    |  2 ++
>  3 files changed, 31 insertions(+), 27 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-keystoneauth1.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-keystoneauth1_3.17.0.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-keystoneauth1.inc b/meta-openstack/recipes-devtools/python/python-keystoneauth1.inc
> new file mode 100644
> index 0000000..3d6309d
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-keystoneauth1.inc
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "Authentication Library for OpenStack Identity"
> +HOMEPAGE = "https://pypi.python.org/pypi/keystoneauth1"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=96f840d59b245a1c817fbcb901afc574"
> +
> +SRC_URI[md5sum] = "599340c2b3ccbcf9996870478abb5407"
> +SRC_URI[sha256sum] = "59a4488ceae0c1210cba468945013b875b2ce09d99c54c9fcc9c926aea55dfd7"
> +
> +inherit pypi
> +
> +DEPENDS += " \
> +        ${PYTHON_PN}-pbr \
> +        "
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> +        ${PYTHON_PN}-pbr-native \
> +        "
> +
> +RDEPENDS_${PN} += " \
> +        ${PYTHON_PN}-pbr \
> +        ${PYTHON_PN}-iso8601 \
> +        ${PYTHON_PN}-requests \
> +        ${PYTHON_PN}-six \
> +        ${PYTHON_PN}-stevedore \
> +        "
> diff --git a/meta-openstack/recipes-devtools/python/python-keystoneauth1_3.17.0.bb b/meta-openstack/recipes-devtools/python/python-keystoneauth1_3.17.0.bb
> index 18115b2..f244f7d 100644
> --- a/meta-openstack/recipes-devtools/python/python-keystoneauth1_3.17.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-keystoneauth1_3.17.0.bb
> @@ -1,27 +1,2 @@
> -DESCRIPTION = "Authentication Library for OpenStack Identity"
> -HOMEPAGE = "https://pypi.python.org/pypi/keystoneauth1"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=96f840d59b245a1c817fbcb901afc574"
> -
> -SRC_URI[md5sum] = "599340c2b3ccbcf9996870478abb5407"
> -SRC_URI[sha256sum] = "59a4488ceae0c1210cba468945013b875b2ce09d99c54c9fcc9c926aea55dfd7"
> -
> -inherit setuptools pypi
> -
> -DEPENDS += " \
> -        python-pbr \
> -        "
> -
> -# Satisfy setup.py 'setup_requires'
> -DEPENDS += " \
> -        python-pbr-native \
> -        "
> -
> -RDEPENDS_${PN} += " \
> -        python-pbr \
> -        python-iso8601 \
> -        python-requests \
> -        python-six \
> -        python-stevedore \
> -        "
> +inherit setuptools
> +require python-keystoneauth1.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-keystoneauth1_3.17.0.bb b/meta-openstack/recipes-devtools/python/python3-keystoneauth1_3.17.0.bb
> new file mode 100644
> index 0000000..75adf3d
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-keystoneauth1_3.17.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-keystoneauth1.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