python3-sqlparse 0.4.4 -> 0.5.0
PATCH 1/2 python3-sqlparse 0.4.4 -> 0.5.0
Drop patch as this version supports python3.
Furthermore move to hatchling build system.
Signed-off-by Tom Geelen <[email protected]>
---
...1-sqlparse-change-shebang-to-python3.patch | 41 -------------------
...rse_0.4.4.bb => python3-sqlparse_0.5.0.bb} | 12 +++---
2 files changed, 6 insertions(+), 47 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch
rename meta-python/recipes-devtools/python/{python3-sqlparse_0.4.4.bb => python3-sqlparse_0.5.0.bb} (65%)meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch deleted +0 -41
@@ -1,41 +0,0 @@ -From f236a30dc8528b6f114201580f1efdcc1c447d43 Mon Sep 17 00:00:00 2001 -From: Changqing Li <[email protected]> -Date: Mon, 9 Mar 2020 13:10:37 +0800 -Subject: [PATCH] sqlparse: change shebang to python3 - -Upstream-Status: Pending - -Don't send upstream since upstream still support python2, -we can only make this change after python2 is offcially -dropped. - -Signed-off-by: Changqing Li <[email protected]> -Signed-off-by: Leon Anavi <[email protected]> ---- - sqlparse/__main__.py | 2 +- - sqlparse/cli.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py -index 2bf2513..6a3a115 100644 ---- a/sqlparse/__main__.py -+++ b/sqlparse/__main__.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # - # Copyright (C) 2009-2020 the sqlparse authors and contributors - # <see AUTHORS file> -diff --git a/sqlparse/cli.py b/sqlparse/cli.py -index 7a8aacb..9c727e8 100755 ---- a/sqlparse/cli.py -+++ b/sqlparse/cli.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - # - # Copyright (C) 2009-2020 the sqlparse authors and contributors - # <see AUTHORS file> --- -2.41.0 -
meta-python/recipes-devtools/python/python3-sqlparse_0.5.0.bb renamed from meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb +6 -6
@@ -4,18 +4,18 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" -SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \ - file://run-ptest \ - " +SRC_URI:append = " \ + file://run-ptest \ +" -SRC_URI[sha256sum] = "d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c" +SRC_URI[sha256sum] = "714d0a4932c059d16189f58ef5411ec2287a4360f17cdd0edd2d09d4c5087c93" export BUILD_SYS export HOST_SYS -inherit pypi ptest python_flit_core +inherit pypi ptest python_hatchling -RDEPENDS:${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += "\ python3-pytest \ python3-unittest-automake-output \ python3-unixadmin \
Signature · 1 line
2.34.1
PATCH 2/2 python3-bleak 0.21.1 -> 0.22.2
Changes to the build:
- Drop python3-async-timeout which is only required for Python 3.10 and older.
Changelogs:
* https://github.com/hbldh/bleak/releases/tag/v0.22.2
* https://github.com/hbldh/bleak/releases/tag/v0.22.1
* https://github.com/hbldh/bleak/releases/tag/v0.22.0
Based on commit of Guðni Már Gilbert.
Signed-off-by Tom Geelen <[email protected]>
---
.../{python3-bleak_0.21.1.bb => python3-bleak_0.22.2.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-bleak_0.21.1.bb => python3-bleak_0.22.2.bb} (87%)meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb renamed from meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +2 -3
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" -SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +SRCREV = "c746071a3fcc3b5e69db6d6b23445ec3505d7730" PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" inherit pypi python_poetry_core ptest
@@ -26,8 +26,7 @@ do_install_ptest() { } RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ + python3-core (>3.8) \ python3-dbus-fast \ python3-xml \ "
Signature · 1 line
2.34.1