Skip to contentSkip to conversation

package/swugenerator: bump to version 0.9

PATCH Applied Giulio Benetti 2 participants 4 messages Nov 3 – Nov 16

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 package/swugenerator: bump to version 0.9

Starting from release 0.7 swugenerator depends on python3 lzma so select BR2_PACKAGE_HOST_PYTHON3
and
BR2_PACKAGE_HOST_PYTHON3_XZ
in its Config.in.host

For release notes, see:
https://github.com/sbabic/swugenerator/releases/tag/0.7
https://github.com/sbabic/swugenerator/releases/tag/0.8
https://github.com/sbabic/swugenerator/releases/tag/0.9

---
V1->V2:
* select BR2_PACKAGE_HOST_PYTHON3_XZ and BR2_PACKAGE_HOST_PYTHON3 because of runtime failure as pointed by Julien Olivain
V2->V3:
* bump to version 0.9 since it's been released in the middle

---
 package/swugenerator/Config.in.host    | 2 ++
 package/swugenerator/swugenerator.hash | 2 +-
 package/swugenerator/swugenerator.mk   | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
package/swugenerator/Config.in.host +2 -0
index df0e9a5170..0d2b63b6bc 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_HOST_SWUGENERATOR
 	bool "host swugenerator"
+	select BR2_PACKAGE_HOST_PYTHON3
+	select BR2_PACKAGE_HOST_PYTHON3_XZ
 	help
 	  A host tool to generate SWU update package for SWUpdate.
 
package/swugenerator/swugenerator.hash +1 -1
index 75a902f2c4..c5c78aa5ad 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  06098c4b3a6c3e5946a11929f95f280baacb512fc4154e16af2262c60a36cbc6  swugenerator-0.6.tar.gz
+sha256  4c434a3d49a0a98076ef160bd3ec90f5c83aa7e6fb22f29a52d7db0e53b7a028  swugenerator-0.9.tar.gz
 # Locally computed sha256 checksums
 sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  LICENSE
package/swugenerator/swugenerator.mk +1 -1
index a892002369..2076d59ef4 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SWUGENERATOR_VERSION = 0.6
+SWUGENERATOR_VERSION = 0.9
 SWUGENERATOR_SITE = $(call github,sbabic,swugenerator,$(SWUGENERATOR_VERSION))
 SWUGENERATOR_LICENSE = GPL-3.0
 SWUGENERATOR_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v3 2/2 support/testing: swugenerator: new runtime test

---
V1->V2:
* no changes
V2->V3:
* no changes

---
 support/testing/tests/package/test_swugenerator.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 support/testing/tests/package/test_swugenerator.py
support/testing/tests/package/test_swugenerator.py new file +13 -0
new file mode 100644
index 0000000000..2bfa1e7efb
@@ -0,0 +1,13 @@
+import infra.basetest
+
+
+class TestHostSwugenerator(infra.basetest.BRHostPkgTest):
+    hostpkgs = ["host-swugenerator"]
+    config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
+        """
+        BR2_PACKAGE_HOST_SWUGENERATOR=y
+        """
+
+    def test_run(self):
+        cmd = ["host/bin/swugenerator", "--help"]
+        infra.run_cmd_on_host(self.builddir, cmd)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v3 2/2] support/testing: swugenerator: new runtime test

In reply of:

Quoted 1 line

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 19 lines

---
V1->V2:
* no changes
V2->V3:
* no changes

---
 support/testing/tests/package/test_swugenerator.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 support/testing/tests/package/test_swugenerator.py
support/testing/tests/package/test_swugenerator.py new file +3 -0
new file mode 100644
index 0000000000..2bfa1e7efb
@@ -0,0 +1,13 @@
+import infra.basetest
+
+

support/testing/tests/package/test_swugenerator.py line 13

Quoted 10 lines
support/testing/tests/package/test_swugenerator.py new file +10 -0
+class TestHostSwugenerator(infra.basetest.BRHostPkgTest):
+    hostpkgs = ["host-swugenerator"]
+    config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
+        """
+        BR2_PACKAGE_HOST_SWUGENERATOR=y
+        """
+
+    def test_run(self):
+        cmd = ["host/bin/swugenerator", "--help"]
+        infra.run_cmd_on_host(self.builddir, cmd)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Giulio Benetti
Quoted 6 lines · Giulio Benetti

Starting from release 0.7 swugenerator depends on python3 lzma so select BR2_PACKAGE_HOST_PYTHON3
and
BR2_PACKAGE_HOST_PYTHON3_XZ
in its Config.in.host

Quoted 6 lines

For release notes, see:
https://github.com/sbabic/swugenerator/releases/tag/0.7
https://github.com/sbabic/swugenerator/releases/tag/0.8
https://github.com/sbabic/swugenerator/releases/tag/0.9

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot