From a7154955f9c96883e2ac0cc3fe65191c70a896fd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 6 May 2025 14:53:52 -0400 Subject: [PATCH 1/5] F41+: Use the provisional pyproject declarative buildsystem --- python-pymapvbvd.rpmlintrc | 4 ++-- python-pymapvbvd.spec | 19 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/python-pymapvbvd.rpmlintrc b/python-pymapvbvd.rpmlintrc index 89c2d18..bab460e 100644 --- a/python-pymapvbvd.rpmlintrc +++ b/python-pymapvbvd.rpmlintrc @@ -4,6 +4,6 @@ addFilter(r" spelling-error \('(dat|twix)',") # This source cannot be a URL because we must use a script to download its # contents from git-lfs. -addFilter(r" invalid-url Source[0-9]+: pyMapVBVD-test-data\.tar\.zst$") +addFilter(r" invalid-url Source[0-9]+: pymapvbvd-test-data\.tar\.zst$") # Bogus; it is a perfectly fine zstandard file. -addFilter(r" inconsistent-file-extension pyMapVBVD-test-data\.tar\.zst$") +addFilter(r" inconsistent-file-extension pymapvbvd-test-data\.tar\.zst$") diff --git a/python-pymapvbvd.spec b/python-pymapvbvd.spec index 50f756e..fbb7b36 100644 --- a/python-pymapvbvd.spec +++ b/python-pymapvbvd.spec @@ -14,13 +14,15 @@ Source0: %{pypi_source pymapvbvd} Source1: pymapvbvd-test-data.tar.zst Source2: get_test_data.sh +BuildSystem: pyproject +BuildOption(generate_buildrequires): -x tests +BuildOption(install): -l mapvbvd + BuildArch: noarch # PyMapVBVD assumes the platform is little-endian # https://bugzilla.redhat.com/show_bug.cgi?id=2225518 ExcludeArch: s390x -BuildRequires: python3-devel - %global common_description %{expand: Python port of the Matlab mapVBVD tool for reading Siemens raw data 'twix' (.dat) files.} @@ -49,22 +51,15 @@ Summary: %{summary} rm -v versioneer.py -%generate_buildrequires +%generate_buildrequires -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' -%pyproject_buildrequires -x tests -%build +%build -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' -%pyproject_wheel -%install -%pyproject_install -%pyproject_save_files -l mapvbvd - - -%check +%check -a %pytest -v From 9d25fc900d994a1565675be09fd9bfcbe26d342d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 21:16:17 +0200 Subject: [PATCH 2/5] Rebuilt for Python 3.14 From b7c76663215923ea9baa69496ce8475357836bcb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 09:41:20 +0000 Subject: [PATCH 3/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 9057ef303eb34630082ae88fa31ea556570731d8 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 14:32:07 +0200 Subject: [PATCH 4/5] Rebuilt for Python 3.14.0rc2 bytecode From f78cfa9db250afcb5dd043bcc85460a1b0ae8111 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 14:07:14 +0200 Subject: [PATCH 5/5] Rebuilt for Python 3.14.0rc3 bytecode