All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-suds-jurko: Add python3 version
@ 2019-09-12  7:15 Zang Ruochen
  2019-09-15  4:05 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2019-09-12  7:15 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../recipes-devtools/python/python-suds-jurko.inc   | 20 ++++++++++++++++++++
 .../python/python-suds-jurko_0.6.bb                 | 21 ++-------------------
 .../python/python3-suds-jurko_0.6.bb                |  3 +++
 3 files changed, 25 insertions(+), 19 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-suds-jurko.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-suds-jurko_0.6.bb

diff --git a/meta-openstack/recipes-devtools/python/python-suds-jurko.inc b/meta-openstack/recipes-devtools/python/python-suds-jurko.inc
new file mode 100644
index 0000000..579212a
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-suds-jurko.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "Lightweight SOAP client (Jurko's fork)"
+HOMEPAGE = "https://bitbucket.org/jurko/suds"
+SECTION = "devel/python"
+LICENSE = "LGPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=847e96bce86d8774f491a92924343a29"
+
+PYPI_PACKAGE_EXT = "tar.bz2"
+
+SRC_URI[md5sum] = "1309e9bc2454aa3434041f0a24ae4e11"
+SRC_URI[sha256sum] = "29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb90e69e528ef014e57f"
+
+inherit pypi
+
+DEPENDS += " \
+        ${PYTHON_PN}-pip \
+        "
+
+RDEPENDS_${PN} += " \
+        "
+
diff --git a/meta-openstack/recipes-devtools/python/python-suds-jurko_0.6.bb b/meta-openstack/recipes-devtools/python/python-suds-jurko_0.6.bb
index a4a436f..52bb6d8 100644
--- a/meta-openstack/recipes-devtools/python/python-suds-jurko_0.6.bb
+++ b/meta-openstack/recipes-devtools/python/python-suds-jurko_0.6.bb
@@ -1,20 +1,3 @@
-DESCRIPTION = "Lightweight SOAP client (Jurko's fork)"
-HOMEPAGE = "https://bitbucket.org/jurko/suds"
-SECTION = "devel/python"
-LICENSE = "LGPLv3"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=847e96bce86d8774f491a92924343a29"
-
-PYPI_PACKAGE_EXT = "tar.bz2"
-
-SRC_URI[md5sum] = "1309e9bc2454aa3434041f0a24ae4e11"
-SRC_URI[sha256sum] = "29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb90e69e528ef014e57f"
-
-inherit setuptools pypi
-
-DEPENDS += " \
-        python-pip \
-        "
-
-RDEPENDS_${PN} += " \
-        "
+inherit setuptools
+require python-suds-jurko.inc
 
diff --git a/meta-openstack/recipes-devtools/python/python3-suds-jurko_0.6.bb b/meta-openstack/recipes-devtools/python/python3-suds-jurko_0.6.bb
new file mode 100644
index 0000000..d230c8d
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-suds-jurko_0.6.bb
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-suds-jurko.inc
+
-- 
2.7.4





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

end of thread, other threads:[~2019-09-15  4:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-12  7:15 [PATCH] python-suds-jurko: Add python3 version Zang Ruochen
2019-09-15  4:05 ` 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.