diff --git a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch new file mode 100644 index 0000000000..cf5ddf31cc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch @@ -0,0 +1,30 @@ +From 7963caede294c7615ab0a60900e37790731279cc Mon Sep 17 00:00:00 2001 +From: Leon Anavi +Date: Tue, 4 Mar 2025 13:30:48 +0000 +Subject: [PATCH] pyproject.toml: Support newer versions + +Support newer versions when building through bitbake. + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Leon Anavi +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index e162ba062..89798fa23 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,7 +1,7 @@ + + [build-system] + requires = [ +- "hatchling==1.26.1", ++ "hatchling>=1.26.1", + "hatch-vcs==0.4.0", + "hatch-fancy-pypi-readme==24.1.0" + ] +-- +2.39.5 + diff --git a/meta-python/recipes-devtools/python/python3-gcovr_8.2.bb b/meta-python/recipes-devtools/python/python3-gcovr_8.2.bb deleted file mode 100644 index bbafa36acf..0000000000 --- a/meta-python/recipes-devtools/python/python3-gcovr_8.2.bb +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION = "generate GCC code coverage reports" -HOMEPAGE = "https://gcovr.com" -SECTION = "devel/python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b307623752f2e1189349885b95b326e5" - -SRC_URI = "git://github.com/gcovr/gcovr.git;branch=main;protocol=https" -SRCREV = "045fb8d51806bd7f9e3df4e4edffa3bb816cf77f" - -S = "${WORKDIR}/git" - -inherit setuptools3 - -RDEPENDS:${PN} += " \ - python3-colorlog \ - python3-jinja2 \ - python3-lxml \ - python3-multiprocessing \ - python3-pygments \ - python3-setuptools \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb b/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb new file mode 100644 index 0000000000..a9b29a4458 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "generate GCC code coverage reports" +HOMEPAGE = "https://gcovr.com" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ae27363fce24765bc79a095313a3b002" + +SRC_URI = " \ + git://github.com/gcovr/gcovr.git;branch=main;protocol=https \ + file://0001-pyproject.toml-Support-newer-versions.patch \ +" +SRCREV = "fe536afac4da31e86909191ef31708755ab8cf83" + +S = "${WORKDIR}/git" + +inherit python_hatchling + +DEPENDS += " \ + python3-hatchling-native \ + python3-hatch-vcs-native \ + python3-hatch-fancy-pypi-readme-native \ +" + +RDEPENDS:${PN} += " \ + python3-colorlog \ + python3-jinja2 \ + python3-lxml \ + python3-multiprocessing \ + python3-pygments \ + python3-setuptools \ +" + +BBCLASSEXTEND = "native nativesdk"