]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-unittest-automake-output: fix version mismatch
authorYi Zhao <yi.zhao@eng.windriver.com>
Thu, 17 Apr 2025 02:55:26 +0000 (10:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Apr 2025 14:29:35 +0000 (15:29 +0100)
Backport patch to update __version__ to 0.2 to match current version.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb

diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch b/meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch
new file mode 100644 (file)
index 0000000..c2e519a
--- /dev/null
@@ -0,0 +1,30 @@
+From 8da931c5e9e32a15091d517b28cdf2e2b5395f77 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <yi.zhao@windriver.com>
+Date: Tue, 8 Apr 2025 15:55:42 +0800
+Subject: [PATCH] Update __version__ to match the tag version
+
+Update __version__ to 0.2 to match the current tag.
+
+Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
+Upstream-Status: Backport
+[https://gitlab.com/rossburton/python-unittest-automake-output/-/commit/8da931c5e9e32a15091d517b28cdf2e2b5395f77]
+
+Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+---
+ src/putao/__init__.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/putao/__init__.py b/src/putao/__init__.py
+index e8758de..00265e2 100644
+--- a/src/putao/__init__.py
++++ b/src/putao/__init__.py
+@@ -5,4 +5,4 @@
+ Tools to write automake-style test reports.
+ """
+-__version__ = "0.1"
++__version__ = "0.2"
+-- 
+2.34.1
+
index fefd4654c7258c92e96547119f161122b6ef3ba5..a8b834a12650b958b8ea12adf0885973ac3666ea 100644 (file)
@@ -3,7 +3,9 @@ HOMEPAGE = "https://gitlab.com/rossburton/python-unittest-automake-output"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b"
 
-SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main"
+SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main \
+           file://0001-Update-__version__-to-match-the-tag-version.patch"
+
 SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65"
 
 S = "${WORKDIR}/git"