From d8d24f591e08cbb42125e9999aeaab3a4acb7e01 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 23:24:57 +0200 Subject: [PATCH 1/8] Rebuilt for Python 3.14 From 3deeae7017e7b8917e393ef42c743075cb349565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 8 Jul 2025 19:44:52 +0200 Subject: [PATCH 2/8] Modernize packaging - Fixes: rhbz#2378486 (The nudatus dependency seems unused.) --- uflash.spec | 48 +++++++++++++++++++++++------------------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/uflash.spec b/uflash.spec index a1cce05..98475d0 100644 --- a/uflash.spec +++ b/uflash.spec @@ -4,25 +4,19 @@ Release: %autorelease Summary: A module and utility to flash Python onto the BBC micro:bit License: MIT URL: https://github.com/ntoll/uflash -Source0: %pypi_source +Source0: %{pypi_source uflash} # For tests, they don't have tags %define hash 147ea945fbe841b0ae17888ab60a60c6080b1225 Source1: https://github.com/ntoll/uflash/archive/%{hash}.tar.gz -BuildRequires: python3-pytest BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-nudatus - -Requires: python3-setuptools -Recommends: python3-nudatus +BuildRequires: python3-pytest BuildArch: noarch # Other tools are using this as a module, so provide also the python3- name -Provides: python3-%{name} == %{version}-%{release} -%{?python_provide:%python_provide python3-%{name}} +%py_provides python3-%{name} %description A utility for flashing the BBC micro:bit with Python scripts and the @@ -33,30 +27,34 @@ uflash that will flash Python scripts onto a BBC micro:bit. %prep -%setup -q - - -%build -%py3_build - -%install -%py3_install - -%check +%autosetup -p1 tar -xf %{SOURCE1} mv %{name}-%{hash}/tests . rm -rf %{name}-%{hash} -py.test-3 -vv -%files +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files -l 'uflash*' + + +%check +%pyproject_check_import +%pytest + + +%files -f %{pyproject_files} %doc README.rst CHANGES.rst -%license LICENSE %{_bindir}/uflash %{_bindir}/py2hex -%{python3_sitelib}/uflash* -%{python3_sitelib}/__pycache__/uflash* - %changelog From 7745d464b56f8c575368352211d8a4e8d2619a03 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:43:53 +0000 Subject: [PATCH 3/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 59e74ebbe0dcd71013b8948bc8a1225a886bd7a1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:21:14 +0200 Subject: [PATCH 4/8] Rebuilt for Python 3.14.0rc2 bytecode From 651171abd3dde07abb19bd9bdaca7714ef9d309b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 15:01:03 +0200 Subject: [PATCH 5/8] Rebuilt for Python 3.14.0rc3 bytecode From c09df6a37676e764dbb46046b6b8ee7203b4c7f7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 20 Jan 2026 03:30:35 +0000 Subject: [PATCH 6/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From ae2bc6218864f2a20fa2da15fabc7c150825f01b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 3 Jun 2026 21:01:15 +0200 Subject: [PATCH 7/8] Rebuilt for Python 3.15 From bcaf3478497ddf1cfe13ddef9fc1164e9e840d1a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:07:31 +0000 Subject: [PATCH 8/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild