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

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

diff --git a/meta-openstack/recipes-devtools/python/python-sqlparse.inc b/meta-openstack/recipes-devtools/python/python-sqlparse.inc
new file mode 100644
index 0000000..cc55ff7
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-sqlparse.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "Non-validating SQL parser module"
+HOMEPAGE = "http://pypi.python.org/pypi/sqlparse"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc"
+
+SRC_URI[md5sum] = "2ce34181d6b7b234c9f3c0ecd1ffb93e"
+SRC_URI[sha256sum] = "7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873"
+
+export BUILD_SYS
+export HOST_SYS
+
+inherit pypi
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+        "
+
+# RDEPENDS_default: 
+RDEPENDS_${PN} += " \
+        "
diff --git a/meta-openstack/recipes-devtools/python/python-sqlparse_0.3.0.bb b/meta-openstack/recipes-devtools/python/python-sqlparse_0.3.0.bb
index 88a0e8c..2b7773f 100644
--- a/meta-openstack/recipes-devtools/python/python-sqlparse_0.3.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-sqlparse_0.3.0.bb
@@ -1,22 +1,2 @@
-DESCRIPTION = "Non-validating SQL parser module"
-HOMEPAGE = "http://pypi.python.org/pypi/sqlparse"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc"
-
-SRC_URI[md5sum] = "2ce34181d6b7b234c9f3c0ecd1ffb93e"
-SRC_URI[sha256sum] = "7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873"
-
-export BUILD_SYS
-export HOST_SYS
-
-inherit setuptools pypi
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        "
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        "
+inherit setuptools
+require python-sqlparse.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-sqlparse_0.3.0.bb b/meta-openstack/recipes-devtools/python/python3-sqlparse_0.3.0.bb
new file mode 100644
index 0000000..7b3bcf6
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-sqlparse_0.3.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-sqlparse.inc
-- 
2.7.4





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

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

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