Skip to contentSkip to conversation

python3-legacy-cgi: upgrade 2.6.2 -> 2.6.4

PATCH New Liu Yiding 1 participant 5 messages Apr 8

lore
Share & tools
lore

Liu Yiding

author
#0 lore raw

PATCH 1/1 python3-legacy-cgi: upgrade 2.6.2 -> 2.6.4

Add do_install function to resolve following issue.
python3-legacy-cgi-2.6.4-r0 do_package_qa: QA Issue: /usr/lib/python3.14/site-packages/.pc/0001-cgi.py-fixup-interpreter-according-to-OE.patch/cgi.py contained in package python3-legacy-cgi requires /usr/local/bin/python, but no providers found in RDEPENDS:python3-legacy-cgi? [file-rdeps]

---
 ...3-legacy-cgi_2.6.2.bb => python3-legacy-cgi_2.6.4.bb} | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-legacy-cgi_2.6.2.bb => python3-legacy-cgi_2.6.4.bb} (65%)
meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb renamed from meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb +7 -2
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb
rename to meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb
index 2b2840ae14..85328ed951 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4b8801e752a2c70ac41a5f9aa243f766"
 
 PYPI_PACKAGE = "legacy_cgi"
 
-inherit python_poetry_core pypi
+inherit python_poetry_core pypi python_hatchling
 
 SRC_URI += "\
     file://0001-cgi.py-fixup-interpreter-according-to-OE.patch \
@@ -15,8 +15,13 @@ DEPENDS += "\
     ${PYTHON_PN}-setuptools-scm-native \
 "
 
+# Add this function to solve package QA Issue
+do_install:append() {
+        rm ${D}${PYTHON_SITEPACKAGES_DIR}/.pc -rf
+}
+
 #RDEPENDS:${PN} = "python3-core"
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[sha256sum] = "9952471ceb304043b104c22d00b4f333cac27a6abe446d8a528fc437cf13c85f"
+SRC_URI[sha256sum] = "abb9dfc7835772f7c9317977c63253fd22a7484b5c9bbcdca60a29dcce97c577"
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 1/1 python3-pyatspi: upgrade 2.46.1 -> 2.58.2

---
 ...on3-pyatspi_2.46.1.bb => python3-pyatspi_2.58.2.bb} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyatspi_2.46.1.bb => python3-pyatspi_2.58.2.bb} (80%)
meta-python/recipes-devtools/python/python3-pyatspi_2.58.2.bb renamed from meta-python/recipes-devtools/python/python3-pyatspi_2.46.1.bb +6 -4
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-pyatspi_2.46.1.bb
rename to meta-python/recipes-devtools/python/python3-pyatspi_2.58.2.bb
index cb9b61bd66..404ff19a72 100644
@@ -7,16 +7,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=db29218e6ba3794c56df7d4987dc7e4d \
                     file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+ python3-pygobject"
 
-SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=master"
-SRCREV = "8c69016b38d0e4caaf4c986938ea3410fb7351b6"
+SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=master;tag=${PV}"
+SRCREV = "f2fb289a9d2e4dac65fca8db0f4d3d65607a0cf2"
 
 
 # Same restriction as gtk+
-inherit features_check setuptools3
+inherit features_check
 ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
-inherit pkgconfig autotools python3native
+inherit pkgconfig python_setuptools_build_meta python_mesonpy
+
+DEPENDS += "python3-pygobject-native"
 
 FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"
 
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH 1/1 python3-setuptools-git-versioning: upgrade 2.1.0 -> 3.0.1

In reply to Liu Yiding

Changelog:
https://setuptools-git-versioning.readthedocs.io/en/v3.0.1/changelog/3.0.x.html

---
 ...ng_2.1.0.bb => python3-setuptools-git-versioning_3.0.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-setuptools-git-versioning_2.1.0.bb => python3-setuptools-git-versioning_3.0.1.bb} (80%)
meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.0.1.bb renamed from meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb +2 -2
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-setuptools-git-versioning_2.1.0.bb
rename to meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.0.1.bb
index 8206e8513d..561f1d06c6 100644
@@ -3,9 +3,9 @@ HOMEPAGE = "https://setuptools-git-versioning.readthedocs.io"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8"
 
-SRC_URI[sha256sum] = "6aef5b8bb1cfb953b6b343d27cbfc561d96cf2a2ee23c2e0dd3591042a059921"
+SRC_URI[sha256sum] = "c8a599bacf163b5d215552b5701faf5480ffc4d65426a5711a010b802e1590eb"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli"
Signature · 1 line
2.43.0
author
#3 lore raw

PATCH 1/1 python3-tox: upgrade 4.49.0 -> 4.52.0

In reply to Liu Yiding

Changelog:
https://tox.wiki/en/latest/changelog.html

---
 .../python/{python3-tox_4.49.0.bb => python3-tox_4.52.0.bb}    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-tox_4.49.0.bb => python3-tox_4.52.0.bb} (90%)
meta-python/recipes-devtools/python/python3-tox_4.52.0.bb renamed from meta-python/recipes-devtools/python/python3-tox_4.49.0.bb +2 -1
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-tox_4.49.0.bb
rename to meta-python/recipes-devtools/python/python3-tox_4.52.0.bb
index f07694cb79..57b780ede0 100644
@@ -6,13 +6,14 @@ HOMEPAGE = "https://tox.readthedocs.org/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7"
 
-SRC_URI[sha256sum] = "2e01f09ae1226749466cbcd8c514fe988ffc8c76b5d523c7f9b745d1711a6e71"
+SRC_URI[sha256sum] = "6054abf5c8b61d58776fbec991f9bf0d34bb883862beb93d2fe55601ef3977c9"
 
 BBCLASSEXTEND = "native nativesdk"
 inherit pypi python_hatchling
 
 DEPENDS += "\
     python3-hatch-vcs-native \
+    python3-docutils-native \
 "
 
 RDEPENDS:${PN} += "\
Signature · 1 line
2.43.0
author
#4 lore raw

PATCH 1/1 sanlock: upgrade 4.2.0 -> 5.1.0

In reply to Liu Yiding

Change SRC_URI to https://codeberg.org/sanlock/sanlock.git as sanlock source moved to it.

---
 .../sanlock/{sanlock_4.2.0.bb => sanlock_5.1.0.bb} | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
 rename meta-oe/recipes-extended/sanlock/{sanlock_4.2.0.bb => sanlock_5.1.0.bb} (87%)
meta-oe/recipes-extended/sanlock/sanlock_5.1.0.bb renamed from meta-oe/recipes-extended/sanlock/sanlock_4.2.0.bb +5 -9
similarity index 87%
rename from meta-oe/recipes-extended/sanlock/sanlock_4.2.0.bb
rename to meta-oe/recipes-extended/sanlock/sanlock_5.1.0.bb
index 8babaf8017..72242946c1 100644
@@ -11,22 +11,18 @@ SECTION = "utils"
 LICENSE = "LGPL-2.0-or-later & GPL-2.0-only & GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22"
 
-PV .= "+git"
-
-SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \
+SRC_URI = "git://codeberg.org/sanlock/sanlock.git;protocol=https;branch=master;tag=${BPN}-${PV} \
            file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \
            file://0001-add-missing-system-header-string.h.patch \
            "
-SRCREV = "efe86d2e691383da07942fe9a4bccab13046f3d4"
-
+SRCREV = "995685ac3ad8909cb7562e74dd13e3b450833d9c"
 
 CVE_STATUS[CVE-2012-5638] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
 
-DEPENDS = "libaio util-linux"
-
-inherit setuptools3 useradd
+DEPENDS = "libaio util-linux libdevmapper"
+RDEPENDS:${PN} += "libdevmapper"
 
-SETUPTOOLS_SETUP_PATH = "${S}/python"
+inherit useradd
 
 do_compile:prepend () {
     oe_runmake -C ${S}/wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}"
Signature · 1 line
2.43.0