[meta-virtualization] [PATCH] python-suds-jurko: Add python3 version

Zang Ruochen zangrc.fnst at cn.fujitsu.com
Thu Sep 12 00:15:05 PDT 2019


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





More information about the meta-virtualization mailing list