Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nkdfu for openSUSE:Factory checked in at 2026-08-26 19:54:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nkdfu (Old) and /work/SRC/openSUSE:Factory/.python-nkdfu.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nkdfu" Wed Aug 26 19:54:53 2026 rev:2 rq:1373713 version:0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nkdfu/python-nkdfu.changes 2023-05-29 22:47:50.170315191 +0200 +++ /work/SRC/openSUSE:Factory/.python-nkdfu.new.1258/python-nkdfu.changes 2026-08-26 19:54:54.174241093 +0200 @@ -1,0 +2,6 @@ +Wed Aug 26 00:38:26 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch support-flit-core-4.patch: + * Use PEP 621 metadata and migrate to flit-core. + +------------------------------------------------------------------- New: ---- support-flit-core-4.patch ----------(New B)---------- New: - Add patch support-flit-core-4.patch: * Use PEP 621 metadata and migrate to flit-core. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nkdfu.spec ++++++ --- /var/tmp/diff_new_pack.HXa1yi/_old 2026-08-26 19:54:57.315352030 +0200 +++ /var/tmp/diff_new_pack.HXa1yi/_new 2026-08-26 19:54:57.317352101 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nkdfu # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,10 +24,10 @@ License: GPL-2.0-only URL: https://github.com/Nitrokey/nkdfu Source: https://files.pythonhosted.org/packages/source/n/nkdfu/nkdfu-0.2.tar.gz -BuildRequires: %{python_module flit} +# PATCH-FIX-UPSTREAM gh#Nitrokey/nkdfu#2 +Patch0: support-flit-core-4.patch +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: intelhex @@ -35,7 +35,7 @@ Requires: python-libusb1 Requires: python-tqdm Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages ++++++ support-flit-core-4.patch ++++++ >From b68013ed349a625887b5c022bb18245ee20f1292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <[email protected]> Date: Thu, 20 Aug 2026 11:42:09 +0200 Subject: [PATCH] Update project metadata to support flit-core version 4+ --- pyproject.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bfef87d..7509e74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,29 +1,29 @@ [build-system] -requires = ["flit_core"] +requires = ["flit_core>=3.11,<5"] build-backend = "flit_core.buildapi" -[tool.flit.metadata] -module = "nkdfu" -dist-name = "nkdfu" -author = "Nitrokey" -author-email = "[email protected]" -home-page = "https://github.com/Nitrokey/nkdfu" +[project] +name = "nkdfu" +dynamic = ["version", "description"] +authors = [{ name = "Nitrokey", email = "[email protected]" }] +urls.Homepage = "https://github.com/Nitrokey/nkdfu" requires-python = ">=3.6" -description-file = "README.md" -requires = [ +readme = "README.md" +dependencies = [ "fire", "tqdm", "intelhex >= 2.3.0", "libusb1 >= 1.9.3", ] classifiers=[ - "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ] +license = "GPL-2.0-only" +license-files = ["LICENSE"] -[tool.flit.scripts] +[project.scripts] nkdfu = "nkdfu.dfu_flash:cli"
