package/python-unittest-xml-reporting: bump version to 4.0.0

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
63519096e5

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-05-01 14:30:51 +02:00
committed by Julien Olivain
parent 3330201b41
commit 17a9767dcd
3 changed files with 6 additions and 45 deletions

View File

@@ -1,40 +0,0 @@
From 662cd67695c31126d72035a818b0f5f1da5a31ca Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@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@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

View File

@@ -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

View File

@@ -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