[oe] [PATCH 2/2] python-sqlparse/python3-sqlparse: move from meta-cloud-services

changqing.li at windriver.com changqing.li at windriver.com
Fri Nov 29 05:34:46 UTC 2019


From: Changqing Li <changqing.li at windriver.com>

move these recipes from meta-cloud-services, since python3-django
RDEPENDS on this, and extend for native and nativesdk.

Signed-off-by: Changqing Li <changqing.li at windriver.com>
---
 meta-python/recipes-devtools/python/python-sqlparse.inc     | 13 +++++++++++++
 .../recipes-devtools/python/python-sqlparse_0.3.0.bb        |  2 ++
 .../recipes-devtools/python/python3-sqlparse_0.3.0.bb       |  3 +++
 3 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-sqlparse.inc
 create mode 100644 meta-python/recipes-devtools/python/python-sqlparse_0.3.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-sqlparse_0.3.0.bb

diff --git a/meta-python/recipes-devtools/python/python-sqlparse.inc b/meta-python/recipes-devtools/python/python-sqlparse.inc
new file mode 100644
index 0000000..f71f815
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-sqlparse.inc
@@ -0,0 +1,13 @@
+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
diff --git a/meta-python/recipes-devtools/python/python-sqlparse_0.3.0.bb b/meta-python/recipes-devtools/python/python-sqlparse_0.3.0.bb
new file mode 100644
index 0000000..2b7773f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-sqlparse_0.3.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-sqlparse.inc
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.3.0.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.3.0.bb
new file mode 100644
index 0000000..a646ac6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.3.0.bb
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-sqlparse.inc
+BBCLASSEXTEND = "native nativesdk"
-- 
2.7.4



More information about the Openembedded-devel mailing list