diff mbox series

[29/48] python3-calver: upgrade 2022.6.26 -> 2025.04.01

Message ID 20250402071017.2157620-29-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit f6f7c4c14f16beead8a8adb649eb1b1da524a860
Headers show
Series [01/48] at-spi2-core: upgrade 2.56.0 -> 2.56.1 | expand

Commit Message

Richard Purdie April 2, 2025, 7:09 a.m. UTC
Add tag to SRC_URI to verify SRCREV.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../python3-calver/0001-setup.py-hard-code-version.patch | 9 +++------
 ...-calver_2022.6.26.bb => python3-calver_2025.04.01.bb} | 4 ++--
 2 files changed, 5 insertions(+), 8 deletions(-)
 rename meta/recipes-devtools/python/{python3-calver_2022.6.26.bb => python3-calver_2025.04.01.bb} (77%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch b/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
index 43f8a78ef03..2f6627c339f 100644
--- a/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
+++ b/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
@@ -1,10 +1,10 @@ 
-From 390a233ed969f82b2ef209b23bfb523e785603f9 Mon Sep 17 00:00:00 2001
+From 4330fe9874ce72026860f96f35faf796e7ea8384 Mon Sep 17 00:00:00 2001
 From: Trevor Gamblin <tgamblin@baylibre.com>
 Date: Tue, 9 May 2023 10:19:41 -0400
 Subject: [PATCH] setup.py: hard-code version
 
 setup.py is pulling the build version from the current date rather than
-a release tag or other predictable method, causing reproducibility 
+a release tag or other predictable method, causing reproducibility
 issues in builds. Patch this to make reproducible builds work while
 discussing this with upstream maintainer (or developing a patch that can
 make calver rely on a more standard pyproject.toml solution).
@@ -17,7 +17,7 @@  Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/setup.py b/setup.py
-index 73f6b10..2e27cf1 100644
+index cff2eaf..79c883d 100644
 --- a/setup.py
 +++ b/setup.py
 @@ -42,5 +42,5 @@ setup(
@@ -27,6 +27,3 @@  index 73f6b10..2e27cf1 100644
 -    version=calver_version(True),
 +    version=calver_version("2022.6.26"),
  )
--- 
-2.40.0
-
diff --git a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb b/meta/recipes-devtools/python/python3-calver_2025.04.01.bb
similarity index 77%
rename from meta/recipes-devtools/python/python3-calver_2022.6.26.bb
rename to meta/recipes-devtools/python/python3-calver_2025.04.01.bb
index b2e7e0769df..39081812c59 100644
--- a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb
+++ b/meta/recipes-devtools/python/python3-calver_2025.04.01.bb
@@ -4,10 +4,10 @@  LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRC_URI = " \
-    git://github.com/di/calver;branch=master;protocol=https \
+    git://github.com/di/calver;branch=master;protocol=https;tag=${PV} \
     file://0001-setup.py-hard-code-version.patch \
 "
-SRCREV = "3268d8acf2c345f32a1c5f08ba25dc67f76cca81"
+SRCREV = "5b62e5127f9ad5bb56bd09ccd8c44283a23ddb60"
 
 inherit python_setuptools_build_meta ptest-python-pytest