[Buildroot] [git commit] package/python-unittest-xml-reporting: bump version to 4.0.0

Julien Olivain ju.o at free.fr
Sun May 3 14:48:24 UTC 2026


commit: https://gitlab.com/buildroot.org/buildroot/-/commit/17a9767dcd391902bb5db72ce03ee336c454af9d
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master

https://github.com/xmlrunner/unittest-xml-reporting/releases/tag/4.0.0

Added dependency to host-python-setuptools-scm and removed patch which
is not needed anymore due to the removal of setup.py in upstream commit
https://github.com/xmlrunner/unittest-xml-reporting/commit/63519096e5fec64b888831bce60dbdb02a66a910

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
 ...op-data_files-installs-LICENSE-to-incorre.patch | 40 ----------------------
 .../python-unittest-xml-reporting.hash             |  4 +--
 .../python-unittest-xml-reporting.mk               |  7 ++--
 3 files changed, 6 insertions(+), 45 deletions(-)

diff --git a/package/python-unittest-xml-reporting/0001-setup.py-drop-data_files-installs-LICENSE-to-incorre.patch b/package/python-unittest-xml-reporting/0001-setup.py-drop-data_files-installs-LICENSE-to-incorre.patch
deleted file mode 100644
index 4bc005f448..0000000000
--- a/package/python-unittest-xml-reporting/0001-setup.py-drop-data_files-installs-LICENSE-to-incorre.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 662cd67695c31126d72035a818b0f5f1da5a31ca Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
-Date: Sat, 17 Aug 2024 12:24:28 +0200
-Subject: [PATCH] setup.py: drop data_files, installs LICENSE to incorrect
- place
-
-As reported in issue
-https://github.com/xmlrunner/unittest-xml-reporting/issues/284, the
-data_files statement in the setup() calls installs the LICENSE file in
-the wrong place: in /usr/LICENSE, or even /LICENSE depending on the
-configuration.
-
-So let's drop this, and let setuptools install the LICENSE file
-automatically: since setuptools v56, the license_files attribute is
-automatically assigned to a default value, which includes "LICENSE",
-so there is in fact nothing to do to the get the LICENSE file
-installed at the correct location. See
-https://setuptools.pypa.io/en/latest/history.html#v56-0-0.
-
-Upstream: https://github.com/xmlrunner/unittest-xml-reporting/pull/287
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
----
- setup.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index c524ed4..afa5925 100755
---- a/setup.py
-+++ b/setup.py
-@@ -27,7 +27,6 @@ setup(
-     description = 'unittest-based test runner with Ant/JUnit like XML reporting.',
-     long_description = long_description,
-     long_description_content_type = 'text/markdown',
--    data_files = [('', ['LICENSE'])],
-     install_requires = ['lxml'],
-     license = 'BSD',
-     platforms = ['Any'],
--- 
-2.46.0
-
diff --git a/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash b/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash
index 674a533e6a..753c5ef0cb 100644
--- a/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash
+++ b/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/unittest-xml-reporting/json
-md5  f12aeab63ff44e295526e103313d66c8  unittest-xml-reporting-3.2.0.tar.gz
-sha256  edd8d3170b40c3a81b8cf910f46c6a304ae2847ec01036d02e9c0f9b85762d28  unittest-xml-reporting-3.2.0.tar.gz
+md5  fe1f9cceab8940e22d8d2bc968098597  unittest_xml_reporting-4.0.0.tar.gz
+sha256  bfa1ed65e9e6f33c161d04470d89050458cfb65a5a5d0358834ef7ce037d9136  unittest_xml_reporting-4.0.0.tar.gz
 # Locally computed sha256 checksums
 sha256  0596648105bee470f9cafd62753b931efe52392096439d88e2564cf7d7cf0e68  LICENSE
diff --git a/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk b/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk
index 05bbed79a8..364099f707 100644
--- a/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk
+++ b/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-PYTHON_UNITTEST_XML_REPORTING_VERSION = 3.2.0
-PYTHON_UNITTEST_XML_REPORTING_SOURCE = unittest-xml-reporting-$(PYTHON_UNITTEST_XML_REPORTING_VERSION).tar.gz
-PYTHON_UNITTEST_XML_REPORTING_SITE = https://files.pythonhosted.org/packages/ed/40/3bf1afc96e93c7322520981ac4593cbb29daa21b48d32746f05ab5563dca
+PYTHON_UNITTEST_XML_REPORTING_VERSION = 4.0.0
+PYTHON_UNITTEST_XML_REPORTING_SOURCE = unittest_xml_reporting-$(PYTHON_UNITTEST_XML_REPORTING_VERSION).tar.gz
+PYTHON_UNITTEST_XML_REPORTING_SITE = https://files.pythonhosted.org/packages/42/6b/5847d0e6e95d08e056f23b3f8cd95bede2d3ade10a1c1a9d5b50916454e1
+PYTHON_UNITTEST_XML_REPORTING_DEPENDENCIES = host-python-setuptools-scm
 PYTHON_UNITTEST_XML_REPORTING_SETUP_TYPE = setuptools
 PYTHON_UNITTEST_XML_REPORTING_LICENSE = BSD-2-Clause
 PYTHON_UNITTEST_XML_REPORTING_LICENSE_FILES = LICENSE


More information about the buildroot mailing list