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

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 3 12:53:41 PDT 2019


merged

Bruce

On Fri, Aug 30, 2019 at 1:58 AM Zang Ruochen <zangrc.fnst at cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-httpretty.inc      | 18 ++++++++++++++++++
>  .../recipes-devtools/python/python-httpretty_0.9.6.bb | 19 ++-----------------
>  .../python/python3-httpretty_0.9.6.bb                 |  3 +++
>  3 files changed, 23 insertions(+), 17 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-httpretty.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-httpretty_0.9.6.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-httpretty.inc b/meta-openstack/recipes-devtools/python/python-httpretty.inc
> new file mode 100644
> index 0000000..f39e283
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-httpretty.inc
> @@ -0,0 +1,18 @@
> +#
> +# Copyright (C) 2014 Wind River Systems, Inc.
> +#
> +DESCRIPTION = "HTTP client mock for Python"
> +HOMEPAGE = "https://pypi.python.org/pypi/httpretty"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=113a91608a1d89039af9393c39bcaa2c"
> +
> +SRC_URI[md5sum] = "3b881b519e0f405caaf8aaa63f3508c0"
> +SRC_URI[sha256sum] = "01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc"
> +
> +inherit pypi
> +
> +DEPENDS += " \
> +        ${PYTHON_PN}-pip \
> +        "
> +
> diff --git a/meta-openstack/recipes-devtools/python/python-httpretty_0.9.6.bb b/meta-openstack/recipes-devtools/python/python-httpretty_0.9.6.bb
> index 68d79f3..8993807 100644
> --- a/meta-openstack/recipes-devtools/python/python-httpretty_0.9.6.bb
> +++ b/meta-openstack/recipes-devtools/python/python-httpretty_0.9.6.bb
> @@ -1,18 +1,3 @@
> -#
> -# Copyright (C) 2014 Wind River Systems, Inc.
> -#
> -DESCRIPTION = "HTTP client mock for Python"
> -HOMEPAGE = "https://pypi.python.org/pypi/httpretty"
> -SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=113a91608a1d89039af9393c39bcaa2c"
> -
> -SRC_URI[md5sum] = "3b881b519e0f405caaf8aaa63f3508c0"
> -SRC_URI[sha256sum] = "01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc"
> -
> -inherit setuptools pypi
> -
> -DEPENDS += " \
> -        python-pip \
> -        "
> +inherit setuptools
> +require python-httpretty.inc
>
> diff --git a/meta-openstack/recipes-devtools/python/python3-httpretty_0.9.6.bb b/meta-openstack/recipes-devtools/python/python3-httpretty_0.9.6.bb
> new file mode 100644
> index 0000000..b9f7699
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-httpretty_0.9.6.bb
> @@ -0,0 +1,3 @@
> +inherit setuptools3
> +require python-httpretty.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