## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 %global srcname pytest-arraydiff %global modname pytest_arraydiff %global sum Pytest plugin to help with comparing array output from tests Name: python-%{srcname} Version: 0.6.1 Release: %autorelease Summary: %{sum} License: BSD-2-Clause URL: https://github.com/astropy/pytest-arraydiff Source0: %{pypi_source} BuildArch: noarch # pytable is missing in the following arch ExcludeArch: %{ix86} BuildRequires: python3-devel %global _description %{expand: This is a py.test plugin to facilitate the generation and comparison of data arrays produced during tests. The basic idea is that you can write a test that generates a Numpy array (or other related objects depending on the format). You can then either run the tests in a mode to generate reference files from the arrays, or you can run the tests in comparison mode, which will compare the results of the tests to the reference ones within some tolerance. At the moment, the supported file formats for the reference files are: * A plain text-based format (baed on Numpy loadtxt output) * The FITS format (requires astropy). With this format, tests can return either a Numpy array for a FITS HDU object.} %description %_description %package -n python3-%{srcname} Summary: %{sum} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} # Remove egg files from source rm -r %{modname}.egg-info %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{modname} %check %pytest %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc CHANGES.md README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.6.1-5 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 01 2024 Sergio Pascual - 0.6.1-2 - Exclude i686 arch (pytables is missing there) * Sun Dec 31 2023 Sergio Pascual - 0.6.1-1 - New release 0.6.1 * Fri Jul 21 2023 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.5.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Aug 08 2022 Mattia Verga - 0.5.0-1 - Update to 0.5.0 (fedora#2040133) - Switch to modern python build macros * Mon Aug 08 2022 Mattia Verga - 0.4.0-7 - Switch to rpmautospec * Fri Jul 22 2022 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.4.0-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 31 2021 Christian Dersch - 0.4.0-3 - BR: python3-setuptools_scm * Fri Dec 31 2021 Christian Dersch - 0.4.0-2 - BR: python3-wheel python3-pip * Fri Dec 31 2021 Christian Dersch - 0.4.0-1 - new version * Fri Jul 23 2021 Fedora Release Engineering - 0.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.3-9 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.3-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 29 2019 Christian Dersch - 0.3-1 - new version * Sat Feb 02 2019 Fedora Release Engineering - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2-2 - Rebuilt for Python 3.7 * Mon Mar 19 2018 Christian Dersch - 0.2-1 - initial import (#1557644) ## END: Generated by rpmautospec