aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-09-10 10:35:38 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-15 00:03:03 -0400
commit230a4e99508a4eb29148781ced10d49056051554 (patch)
tree750e8d661312f21a90d8f1d7ccb91aa950d2fcab /meta-openstack
parent41c040887bdf1cf07ec541d6d0a3b6941778690a (diff)
downloadmeta-cloud-services-230a4e99508a4eb29148781ced10d49056051554.tar.gz
meta-cloud-services-230a4e99508a4eb29148781ced10d49056051554.tar.bz2
meta-cloud-services-230a4e99508a4eb29148781ced10d49056051554.zip
python-sqlparse: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-sqlparse.inc22
-rw-r--r--meta-openstack/recipes-devtools/python/python-sqlparse_0.3.0.bb24
-rw-r--r--meta-openstack/recipes-devtools/python/python3-sqlparse_0.3.0.bb2
3 files changed, 26 insertions, 22 deletions
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