All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-wsme: Add python3 version
@ 2019-08-12  8:10 Zheng Ruoqin
  2019-08-12 14:59 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Ruoqin @ 2019-08-12  8:10 UTC (permalink / raw)
  To: meta-virtualization

Providing a python3 version of python-wsme.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
 .../recipes-devtools/python/python-wsme.inc   | 24 +++++++++++++++++
 .../python/python-wsme_0.9.3.bb               | 26 +------------------
 .../python/python3-wsme_0.9.3.bb              |  2 ++
 3 files changed, 27 insertions(+), 25 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-wsme.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb

diff --git a/meta-openstack/recipes-devtools/python/python-wsme.inc b/meta-openstack/recipes-devtools/python/python-wsme.inc
new file mode 100644
index 0000000..b402a09
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-wsme.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "Simplify the writing of REST APIs, and extend them with additional protocols"
+HOMEPAGE = "https://pypi.python.org/pypi/WSME/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5a9126e7f56a0cf3247050de7f10d0f4"
+
+PYPI_PACKAGE = "WSME"
+
+SRC_URI[md5sum] = "e6cb3864bae872acaa0cd0c2efacc94f"
+SRC_URI[sha256sum] = "e24fcff24392a0b176e560ffc6591b1f658342bbc992f84e0e8a3c53fd92580a"
+
+DEPENDS += " \
+        ${PYTHON_PN}-pip \
+        ${PYTHON_PN}-pbr \
+        "
+
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        ${PYTHON_PN}-pbr-native \
+        "
+
+RDEPENDS_${PN} += "\
+        ${PYTHON_PN}-pbr \
+        "
diff --git a/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb b/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
index 4e83299..b332f5f 100644
--- a/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
@@ -1,26 +1,2 @@
-DESCRIPTION = "Simplify the writing of REST APIs, and extend them with additional protocols"
-HOMEPAGE = "https://pypi.python.org/pypi/WSME/"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5a9126e7f56a0cf3247050de7f10d0f4"
-
-PYPI_PACKAGE = "WSME"
-
-SRC_URI[md5sum] = "e6cb3864bae872acaa0cd0c2efacc94f"
-SRC_URI[sha256sum] = "e24fcff24392a0b176e560ffc6591b1f658342bbc992f84e0e8a3c53fd92580a"
-
 inherit setuptools pypi
-
-DEPENDS += " \
-        python-pip \
-        python-pbr \
-        "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
-        python-pbr-native \
-        "
-
-RDEPENDS_${PN} += "\
-        python-pbr \
-        "
+require python-wsme.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb b/meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb
new file mode 100644
index 0000000..f792d0e
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb
@@ -0,0 +1,2 @@
+inherit setuptools3 pypi
+require python-wsme.inc
-- 
2.17.1





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

* Re: [PATCH] python-wsme: Add python3 version
  2019-08-12  8:10 [PATCH] python-wsme: Add python3 version Zheng Ruoqin
@ 2019-08-12 14:59 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-08-12 14:59 UTC (permalink / raw)
  To: Zheng Ruoqin; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 3544 bytes --]

merged

Bruce

On Mon, Aug 12, 2019 at 4:10 AM Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
wrote:

> Providing a python3 version of python-wsme.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-wsme.inc   | 24 +++++++++++++++++
>  .../python/python-wsme_0.9.3.bb               | 26 +------------------
>  .../python/python3-wsme_0.9.3.bb              |  2 ++
>  3 files changed, 27 insertions(+), 25 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-wsme.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/
> python3-wsme_0.9.3.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-wsme.inc
> b/meta-openstack/recipes-devtools/python/python-wsme.inc
> new file mode 100644
> index 0000000..b402a09
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-wsme.inc
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "Simplify the writing of REST APIs, and extend them with
> additional protocols"
> +HOMEPAGE = "https://pypi.python.org/pypi/WSME/"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5a9126e7f56a0cf3247050de7f10d0f4"
> +
> +PYPI_PACKAGE = "WSME"
> +
> +SRC_URI[md5sum] = "e6cb3864bae872acaa0cd0c2efacc94f"
> +SRC_URI[sha256sum] =
> "e24fcff24392a0b176e560ffc6591b1f658342bbc992f84e0e8a3c53fd92580a"
> +
> +DEPENDS += " \
> +        ${PYTHON_PN}-pip \
> +        ${PYTHON_PN}-pbr \
> +        "
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> +        ${PYTHON_PN}-pbr-native \
> +        "
> +
> +RDEPENDS_${PN} += "\
> +        ${PYTHON_PN}-pbr \
> +        "
> diff --git a/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
> b/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
> index 4e83299..b332f5f 100644
> --- a/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
> +++ b/meta-openstack/recipes-devtools/python/python-wsme_0.9.3.bb
> @@ -1,26 +1,2 @@
> -DESCRIPTION = "Simplify the writing of REST APIs, and extend them with
> additional protocols"
> -HOMEPAGE = "https://pypi.python.org/pypi/WSME/"
> -SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=5a9126e7f56a0cf3247050de7f10d0f4"
> -
> -PYPI_PACKAGE = "WSME"
> -
> -SRC_URI[md5sum] = "e6cb3864bae872acaa0cd0c2efacc94f"
> -SRC_URI[sha256sum] =
> "e24fcff24392a0b176e560ffc6591b1f658342bbc992f84e0e8a3c53fd92580a"
> -
>  inherit setuptools pypi
> -
> -DEPENDS += " \
> -        python-pip \
> -        python-pbr \
> -        "
> -
> -# Satisfy setup.py 'setup_requires'
> -DEPENDS += " \
> -        python-pbr-native \
> -        "
> -
> -RDEPENDS_${PN} += "\
> -        python-pbr \
> -        "
> +require python-wsme.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb
> b/meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb
> new file mode 100644
> index 0000000..f792d0e
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-wsme_0.9.3.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3 pypi
> +require python-wsme.inc
> --
> 2.17.1
>
>
>
> --
> _______________________________________________
> 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

[-- Attachment #2: Type: text/html, Size: 5737 bytes --]

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

end of thread, other threads:[~2019-08-12 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12  8:10 [PATCH] python-wsme: Add python3 version Zheng Ruoqin
2019-08-12 14:59 ` 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.