[meta-virtualization] [PATCH] python-kombu: Python3 version fix

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 29 21:18:51 PDT 2019


merged

Bruce

On Mon, Aug 26, 2019 at 1:46 AM Zheng Ruoqin
<zhengrq.fnst at cn.fujitsu.com> wrote:
>
> Specifies the major Python version being built using PYTHON_PN
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> ---
>  meta-openstack/recipes-devtools/python/python-kombu.inc       | 4 +++-
>  meta-openstack/recipes-devtools/python/python-kombu_4.6.4.bb  | 2 +-
>  meta-openstack/recipes-devtools/python/python3-kombu_4.6.4.bb | 2 +-
>  3 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta-openstack/recipes-devtools/python/python-kombu.inc b/meta-openstack/recipes-devtools/python/python-kombu.inc
> index 3053f71..9918281 100644
> --- a/meta-openstack/recipes-devtools/python/python-kombu.inc
> +++ b/meta-openstack/recipes-devtools/python/python-kombu.inc
> @@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=daea7c168428449fbee05e644df929f4"
>  SRC_URI[md5sum] = "4eb5f1e6f669e04f5bd0c627c7467156"
>  SRC_URI[sha256sum] = "e5f0312dfb9011bebbf528ccaf118a6c2b5c3b8244451f08381fb23e7715809b"
>
> +inherit pypi
> +
>  FILES_${PN}-doc += "${datadir}/${SRCNAME}"
>
>  RDEPENDS_${PN} = " \
> -        python-amqp \
> +        ${PYTHON_PN}-amqp \
>          "
> diff --git a/meta-openstack/recipes-devtools/python/python-kombu_4.6.4.bb b/meta-openstack/recipes-devtools/python/python-kombu_4.6.4.bb
> index 28b6258..8c5c4d6 100644
> --- a/meta-openstack/recipes-devtools/python/python-kombu_4.6.4.bb
> +++ b/meta-openstack/recipes-devtools/python/python-kombu_4.6.4.bb
> @@ -1,3 +1,3 @@
> -inherit setuptools pypi
> +inherit setuptools
>  require python-kombu.inc
>
> diff --git a/meta-openstack/recipes-devtools/python/python3-kombu_4.6.4.bb b/meta-openstack/recipes-devtools/python/python3-kombu_4.6.4.bb
> index fc752d9..11b0826 100644
> --- a/meta-openstack/recipes-devtools/python/python3-kombu_4.6.4.bb
> +++ b/meta-openstack/recipes-devtools/python/python3-kombu_4.6.4.bb
> @@ -1,2 +1,2 @@
> -inherit setuptools3 pypi
> +inherit setuptools3
>  require python-kombu.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