diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-10-13 14:46:52 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-10-16 23:11:58 -0700 |
| commit | 3ae56a340a8fbb3803cddf7955b15a461a62e1f9 (patch) | |
| tree | dacf9de15a7994076c4a9ca7c5f0c9261a848cee /meta-python/recipes-devtools/python/python3-sqlparse_0.4.1.bb | |
| parent | 362eebb12e94235d9597a4b083dc1247b2109dd8 (diff) | |
| download | meta-openembedded-3ae56a340a8fbb3803cddf7955b15a461a62e1f9.tar.gz | |
python3-sqlparse: Upgrade 0.3.1 -> 0.4.1
Upgrade to release 0.4.1:
- Just removed a debug print statement
- Remove support for end-of-life Python 2.7 and 3.4. Python 3.5+
is now required.
- Remaining strings that only consist of whitespaces are not
treated as statements anymore. Code that ignored the last
element from sqlparse.split() should be updated accordingly
since that function now doesn't return an empty string as the
last element in some cases.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-sqlparse_0.4.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlparse_0.4.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.1.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.1.bb new file mode 100644 index 0000000000..c8a64c1095 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "Non-validating SQL parser module" | ||
| 2 | HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" | ||
| 6 | |||
| 7 | SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \ | ||
| 8 | file://run-ptest \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI[md5sum] = "eebbc6b5f1033054873033e54b0c1266" | ||
| 12 | SRC_URI[sha256sum] = "0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8" | ||
| 13 | |||
| 14 | export BUILD_SYS | ||
| 15 | export HOST_SYS | ||
| 16 | |||
| 17 | inherit pypi ptest setuptools3 | ||
| 18 | |||
| 19 | RDEPENDS_${PN}-ptest += " \ | ||
| 20 | ${PYTHON_PN}-pytest \ | ||
| 21 | ${PYTHON_PN}-unixadmin \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | install -d ${D}${PTEST_PATH}/tests | ||
| 26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 27 | } | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "native nativesdk" | ||
