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

Bruce Ashfield bruce.ashfield at gmail.com
Sun Aug 25 19:15:23 PDT 2019


merged

Bruce

On Mon, Aug 19, 2019 at 12:38 AM Zheng Ruoqin
<zhengrq.fnst at cn.fujitsu.com> wrote:
>
> Providing a python3 version of python-amqp.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-amqp.inc      | 14 ++++++++++++++
>  .../recipes-devtools/python/python-amqp_2.4.1.bb | 16 ++--------------
>  .../python/python3-amqp_2.4.1.bb                 |  2 ++
>  3 files changed, 18 insertions(+), 14 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-amqp.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-amqp_2.4.1.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-amqp.inc b/meta-openstack/recipes-devtools/python/python-amqp.inc
> new file mode 100644
> index 0000000..8863ac2
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-amqp.inc
> @@ -0,0 +1,14 @@
> +DESCRIPTION = "Low-level AMQP client for Python"
> +HOMEPAGE = "https://pypi.python.org/pypi/amqp/"
> +SECTION = "devel/python"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=9d6ba772ac59c08a25a12ce15bd5f27b"
> +
> +SRC_URI[md5sum] = "9e3d5f1f69d2106c2b3f77d275a79924"
> +SRC_URI[sha256sum] = "6816eed27521293ee03aa9ace300a07215b11fee4e845588a9b863a7ba30addb"
> +
> +inherit pypi
> +
> +RDEPENDS_${PN} += " \
> +        ${PYTHON_PN}-vine \
> +        "
> diff --git a/meta-openstack/recipes-devtools/python/python-amqp_2.4.1.bb b/meta-openstack/recipes-devtools/python/python-amqp_2.4.1.bb
> index dee95db..9d52062 100644
> --- a/meta-openstack/recipes-devtools/python/python-amqp_2.4.1.bb
> +++ b/meta-openstack/recipes-devtools/python/python-amqp_2.4.1.bb
> @@ -1,14 +1,2 @@
> -DESCRIPTION = "Low-level AMQP client for Python"
> -HOMEPAGE = "https://pypi.python.org/pypi/amqp/"
> -SECTION = "devel/python"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=9d6ba772ac59c08a25a12ce15bd5f27b"
> -
> -SRC_URI[md5sum] = "9e3d5f1f69d2106c2b3f77d275a79924"
> -SRC_URI[sha256sum] = "6816eed27521293ee03aa9ace300a07215b11fee4e845588a9b863a7ba30addb"
> -
> -inherit setuptools pypi
> -
> -RDEPENDS_${PN} += " \
> -        python-vine \
> -        "
> +inherit setuptools
> +require python-amqp.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-amqp_2.4.1.bb b/meta-openstack/recipes-devtools/python/python3-amqp_2.4.1.bb
> new file mode 100644
> index 0000000..c2710da
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-amqp_2.4.1.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-amqp.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