All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-httpretty: Add python3 version
@ 2019-08-30  5:58 Zang Ruochen
  2019-09-03 19:53 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-08-30  5:58 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Zang Ruochen <zangrc.fnst@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] python-httpretty: Add python3 version
  2019-08-30  5:58 [PATCH] python-httpretty: Add python3 version Zang Ruochen
@ 2019-09-03 19:53 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-09-03 19:53 UTC (permalink / raw)
  To: Zang Ruochen; +Cc: meta-virtualization

merged

Bruce

On Fri, Aug 30, 2019 at 1:58 AM Zang Ruochen <zangrc.fnst@cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-03 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30  5:58 [PATCH] python-httpretty: Add python3 version Zang Ruochen
2019-09-03 19:53 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.