## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 # Created by pyp2rpm-3.3.4 %global pypi_name boututils Name: python-%{pypi_name} Version: 0.2.1 Release: %autorelease Summary: Python package containing BOUT++ utils License: LGPLv3+ URL: http://boutproject.github.io Source0: %pypi_source BuildArch: noarch Patch0: ./0001-pytest-no-cov.patch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # From setup_requires in setup.py: BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm[toml]) >= 3.4 # For tests: BuildRequires: python3dist(pytest) %description Utils for postprocessing of BOUT++ simulations. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} Utils for BOUT++ Obsoletes: python3-boututils+mayavi < 0.2 %generate_buildrequires %pyproject_buildrequires -r %prep %autosetup -n %{pypi_name}-%{version} -p 1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Mon Mar 25 2024 David Bold - 0.2.1-4 - Remove unused dependency * Fri Jan 26 2024 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Nov 14 2023 David Bold - 0.2.1-1 - Update to 0.2.1 * Fri Jul 21 2023 Fedora Release Engineering - 0.1.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 27 2023 Python Maint - 0.1.10-3 - Rebuilt for Python 3.12 * Fri Mar 24 2023 David Bold - 0.1.10-2 - Fix patch path * Thu Mar 23 2023 David Bold - 0.1.10-1 - Update to v0.1.10 * Fri Jan 20 2023 Fedora Release Engineering - 0.1.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 11 2022 David Bold - 0.1.9-2 - Add missing sources * Thu Aug 11 2022 David Bold - 0.1.9-1 - Update to 0.1.9 * Fri Jul 22 2022 Fedora Release Engineering - 0.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 0.1.8-2 - Rebuilt for Python 3.11 * Sat Apr 22 2022 David - 0.1.8-1 - Update to 0.1.8 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 31 2021 David - 0.1.7-1 - Minor cleanup * Fri Jan 22 2021 David - 0.1.7-0.1 - Update to 0.1.7 * Tue Jan 12 2021 Benjamin A. Beasley - 0.1.6-0.2 - Apply pyproject-rpm-macros, including generated BR’s - Properly handle mayavi extra - Do not duplicate generated Requires - Drop obsolete macros - Remove unwanted shebangs in prep - Run tests * Sat Jan 09 2021 David - 0.1.6-0.1 - Update to 0.1.6 * Wed Dec 30 2020 David - 0.1.4-0.2 - Include patches. * Fri Sep 18 2020 David - 0.1.4-0.1 - Initial package. ## END: Generated by rpmautospec