All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-testscenarios: Add python3 version
@ 2019-09-23  8:44 Zang Ruochen
  2019-09-24 21:55 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-09-23  8:44 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-testscenarios.inc                | 24 ++++++++++++++++++++
 .../python/python-testscenarios_0.5.0.bb           | 26 ++--------------------
 .../python/python3-testscenarios_0.5.0.bb          |  2 ++
 3 files changed, 28 insertions(+), 24 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-testscenarios.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb

diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios.inc b/meta-openstack/recipes-devtools/python/python-testscenarios.inc
new file mode 100644
index 0000000..1008f11
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-testscenarios.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "testscenarios: a pyunit extension for dependency injection"
+HOMEPAGE = "https://pypi.python.org/pypi/testscenarios"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://BSD;md5=0805e4f024d089a52dca0671a65b8b66"
+
+SRC_URI[md5sum] = "859073d9e7b049aee2e6704c51f6001a"
+SRC_URI[sha256sum] = "c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6"
+
+inherit pypi
+
+DEPENDS += "\
+    ${PYTHON_PN}-pbr \
+    "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+    ${PYTHON_PN}-pbr-native \
+    "
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-testtools \
+    ${PYTHON_PN}-pbr \
+    "
diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb
index 18971d6..868a5b9 100644
--- a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb
@@ -1,24 +1,2 @@
-DESCRIPTION = "testscenarios: a pyunit extension for dependency injection"
-HOMEPAGE = "https://pypi.python.org/pypi/testscenarios"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://BSD;md5=0805e4f024d089a52dca0671a65b8b66"
-
-SRC_URI[md5sum] = "859073d9e7b049aee2e6704c51f6001a"
-SRC_URI[sha256sum] = "c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6"
-
-inherit setuptools pypi
-
-DEPENDS += "\
-    python-pbr \
-    "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-    python-pbr-native \
-    "
-
-RDEPENDS_${PN} += "\
-    python-testtools \
-    python-pbr \
-    "
+inherit setuptools
+require python-testscenarios.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb
new file mode 100644
index 0000000..6f7d418
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-testscenarios.inc
-- 
2.7.4





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

* Re: [PATCH] python-testscenarios: Add python3 version
  2019-09-23  8:44 [PATCH] python-testscenarios: Add python3 version Zang Ruochen
@ 2019-09-24 21:55 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-09-24 21:55 UTC (permalink / raw)
  To: Zang Ruochen; +Cc: meta-virtualization


merged

Bruce

In message: [meta-virtualization] [PATCH] python-testscenarios: Add python3 version
on 23/09/2019 Zang Ruochen wrote:

> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  .../python/python-testscenarios.inc                | 24 ++++++++++++++++++++
>  .../python/python-testscenarios_0.5.0.bb           | 26 ++--------------------
>  .../python/python3-testscenarios_0.5.0.bb          |  2 ++
>  3 files changed, 28 insertions(+), 24 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-testscenarios.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios.inc b/meta-openstack/recipes-devtools/python/python-testscenarios.inc
> new file mode 100644
> index 0000000..1008f11
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-testscenarios.inc
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "testscenarios: a pyunit extension for dependency injection"
> +HOMEPAGE = "https://pypi.python.org/pypi/testscenarios"
> +SECTION = "devel/python"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://BSD;md5=0805e4f024d089a52dca0671a65b8b66"
> +
> +SRC_URI[md5sum] = "859073d9e7b049aee2e6704c51f6001a"
> +SRC_URI[sha256sum] = "c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6"
> +
> +inherit pypi
> +
> +DEPENDS += "\
> +    ${PYTHON_PN}-pbr \
> +    "
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> +    ${PYTHON_PN}-pbr-native \
> +    "
> +
> +RDEPENDS_${PN} += "\
> +    ${PYTHON_PN}-testtools \
> +    ${PYTHON_PN}-pbr \
> +    "
> diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb
> index 18971d6..868a5b9 100644
> --- a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb
> @@ -1,24 +1,2 @@
> -DESCRIPTION = "testscenarios: a pyunit extension for dependency injection"
> -HOMEPAGE = "https://pypi.python.org/pypi/testscenarios"
> -SECTION = "devel/python"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://BSD;md5=0805e4f024d089a52dca0671a65b8b66"
> -
> -SRC_URI[md5sum] = "859073d9e7b049aee2e6704c51f6001a"
> -SRC_URI[sha256sum] = "c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6"
> -
> -inherit setuptools pypi
> -
> -DEPENDS += "\
> -    python-pbr \
> -    "
> -
> -# Satisfy setup.py 'setup_requires'
> -DEPENDS += " \
> -    python-pbr-native \
> -    "
> -
> -RDEPENDS_${PN} += "\
> -    python-testtools \
> -    python-pbr \
> -    "
> +inherit setuptools
> +require python-testscenarios.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb
> new file mode 100644
> index 0000000..6f7d418
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-testscenarios.inc
> -- 
> 2.7.4
> 
> 
> 
> -- 
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


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

end of thread, other threads:[~2019-09-24 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-23  8:44 [PATCH] python-testscenarios: Add python3 version Zang Ruochen
2019-09-24 21:55 ` 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.