[meta-virtualization] [PATCH] python-statsd: Add python3 version
Bruce Ashfield
bruce.ashfield at gmail.com
Mon Sep 9 10:36:27 PDT 2019
merged
Bruce
On Mon, Sep 9, 2019 at 3:44 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-statsd.inc | 13 +++++++++++++
> .../recipes-devtools/python/python-statsd_3.3.0.bb | 15 +--------------
> .../recipes-devtools/python/python3-statsd_3.3.0.bb | 2 ++
> 3 files changed, 16 insertions(+), 14 deletions(-)
> create mode 100644 meta-openstack/recipes-devtools/python/python-statsd.inc
> create mode 100644 meta-openstack/recipes-devtools/python/python3-statsd_3.3.0.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-statsd.inc b/meta-openstack/recipes-devtools/python/python-statsd.inc
> new file mode 100644
> index 0000000..33257b9
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-statsd.inc
> @@ -0,0 +1,13 @@
> +DESCRIPTION = "A simple statsd client."
> +HOMEPAGE = "https://github.com/jsocol/pystatsd"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=4d8aa8ac1dc54b8aee4054bd5e5c61bd"
> +
> +inherit pypi
> +
> +SRC_URI[md5sum] = "b397ccf880f37cf099e775907ebf7a46"
> +SRC_URI[sha256sum] = "e3e6db4c246f7c59003e51c9720a51a7f39a396541cb9b147ff4b14d15b5dd1f"
> +
> +RDEPENDS_${PN} += " \
> + "
> diff --git a/meta-openstack/recipes-devtools/python/python-statsd_3.3.0.bb b/meta-openstack/recipes-devtools/python/python-statsd_3.3.0.bb
> index 7400129..51b179b 100644
> --- a/meta-openstack/recipes-devtools/python/python-statsd_3.3.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-statsd_3.3.0.bb
> @@ -1,15 +1,2 @@
> -DESCRIPTION = "A simple statsd client."
> -HOMEPAGE = "https://github.com/jsocol/pystatsd"
> -SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=4d8aa8ac1dc54b8aee4054bd5e5c61bd"
> -
> -inherit pypi
> -
> -SRC_URI[md5sum] = "b397ccf880f37cf099e775907ebf7a46"
> -SRC_URI[sha256sum] = "e3e6db4c246f7c59003e51c9720a51a7f39a396541cb9b147ff4b14d15b5dd1f"
> -
> inherit setuptools
> -
> -RDEPENDS_${PN} += " \
> - "
> +require python-statsd.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-statsd_3.3.0.bb b/meta-openstack/recipes-devtools/python/python3-statsd_3.3.0.bb
> new file mode 100644
> index 0000000..51b179b
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-statsd_3.3.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-statsd.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