## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pymapvbvd Version: 0.6.1 Release: %autorelease Summary: Python twix file reader # The entire source is MIT, except: # - The file pymapvbvd/_version.py, which is generated by python-versioneer, # shares its license (Unlicense, for recent versions of Versioneer); see # also versioneer.py (which is removed in %%prep) License: MIT AND Unlicense URL: https://github.com/wtclarke/pymapvbvd Source0: %{pypi_source pymapvbvd} # Generated with Source2: ./get_test_data.sh %%{version} Source1: pymapvbvd-test-data.tar.zst Source2: get_test_data.sh 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.} %description %{common_description} %package -n python3-pymapvbvd Summary: %{summary} # Provides for the actual importable module name, which is unfortunately # different from the PyPI package name (pyMapVBVD). %py_provides python3-mapvbvd # The generated _version.py has the same license as python3dist(versioneer), # but we do not consider it to be bundled from Versioneer. %description -n python3-pymapvbvd %{common_description} %prep %autosetup -n pymapvbvd-%{version} -p1 %setup -q -T -D -a 1 -c -n pymapvbvd-%{version} # We can use the system versioneer to generate _version.py, and can remove the # bundled, amaglamated versioneer.py to indicate we aren’t using it. rm -v versioneer.py %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %pyproject_buildrequires -x tests %build export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %pyproject_wheel %install %pyproject_install %pyproject_save_files -l mapvbvd %check %pytest -v %files -n python3-pymapvbvd -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Oct 31 2024 Benjamin A. Beasley - 0.6.1-1 - Update to 0.6.1 (close RHBZ#2322960) * Fri Jul 19 2024 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 03 2024 Benjamin A. Beasley - 0.6.0-1 - Update to 0.6.0 (close RHBZ#2295552) * Sat Jun 08 2024 Python Maint - 0.5.7-4 - Rebuilt for Python 3.13 * Fri Apr 05 2024 Benjamin A. Beasley - 0.5.7-3 - Compress test data with zstd instead of xz * Thu Feb 01 2024 Benjamin A. Beasley - 0.5.7-1 - Update to 0.5.7 (close RHBZ#2262160) * Fri Jan 26 2024 Fedora Release Engineering - 0.5.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.5.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Benjamin A. Beasley - 0.5.6-2 - Assert that %%pyproject_files contains a license file * Wed Oct 11 2023 Benjamin A. Beasley - 0.5.6-1 - Update to 0.5.6 (close RHBZ#2243258) * Wed Oct 11 2023 Benjamin A. Beasley - 0.5.5-2 - Make the test data source archive mostly-reproducible * Tue Oct 10 2023 Benjamin A. Beasley - 0.5.5-1 - Update to 0.5.5 (close RHBZ#2243111) * Tue Jul 25 2023 Benjamin A. Beasley - 0.5.4-3 - Add mandatory ExcludeArch bug link * Mon Jul 24 2023 Benjamin A. Beasley - 0.5.4-2 - Drop versioneer conditionals and let the dist-git branches diverge * Mon Jul 24 2023 Benjamin A. Beasley - 0.5.4-1 - Update to 0.5.4 (close RHBZ#2221739) * Mon Jul 24 2023 Benjamin A. Beasley - 0.5.3-1 - Initial import ## END: Generated by rpmautospec