## 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 %global srcname pytest_doctestplus %global pkgname pytest-doctestplus Name: python-%{pkgname} Version: 1.3.0 Release: %autorelease Summary: Pytest plugin with advanced doctest features License: BSD-3-Clause URL: https://github.com/scientific-python/pytest-doctestplus Source0: %{pypi_source %srcname} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: The doctestplus plugin provides advanced features for testing example Python code that is included in Python docstrings and in standalone documentation files. Good documentation for developers contains example code. This is true of both standalone documentation and of documentation that is integrated with the code itself. Python provides a mechanism for testing code snippets that are provided in Python docstrings. The unit test framework pytest provides a mechanism for running doctests against both docstrings in source code and in standalone documentation files. This plugin augments the functionality provided by Python and pytest by providing the following features: * approximate floating point comparison for doctests that produce floating point results * skipping particular classes, methods, and functions when running doctests * handling doctests that use remote data in conjunction with the pytest-remotedata plugin * optional inclusion of *.rst files for doctests} %description %_description %package -n python3-%{pkgname} Summary: %{summary} %description -n python3-%{pkgname} %_description %prep %autosetup -n %{srcname}-%{version} # Remove egg files from source rm -r %{srcname}.egg-info %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %files -n python3-%{pkgname} -f %{pyproject_files} %license LICENSE.rst %doc CHANGES.rst README.rst %changelog ## START: Generated by rpmautospec * Tue Nov 26 2024 Sergio Pascual - 1.3.0-1 - New upstream 1.3.0 * Fri Jul 19 2024 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 1.2.1-2 - Rebuilt for Python 3.13 * Sat Mar 16 2024 Sergio Pascual - 1.2.1-1 - New upstream source 1.2.1 * Wed Mar 06 2024 Sergio Pascual - 1.2.0-1 - Update to 1.2.0 * Fri Jan 26 2024 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 31 2023 Sergio Pascual - 1.1.0-1 - New upstream version 1.1.0 - Updated url and summary - Updated to use SPDX license name * Fri Jul 21 2023 Fedora Release Engineering - 0.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.12.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Aug 08 2022 Mattia Verga - 0.12.0-1 - Update to 0.12.0 (fedora#2058783) - Switch to modern python build macros * Fri Jul 22 2022 Fedora Release Engineering - 0.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.11.2-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.11.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 31 2021 Christian Dersch - 0.11.2-1 - new version * Fri Jul 23 2021 Fedora Release Engineering - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.9.0-2 - Rebuilt for Python 3.10 * Sun Feb 28 2021 Mattia Verga - 0.9.0-1 - Update to 0.9.0 - Fixes rhbz#1916541 * Wed Jan 27 2021 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 13 2020 Mattia Verga - 0.8.0-1 - Update to 0.8.0 - Fixes rhbz#1862639 * Wed Jul 29 2020 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Christian Dersch - 0.7.0-1 - new version * Tue May 26 2020 Miro Hrončok - 0.3.0-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 29 2019 Christian Dersch - 0.3.0-1 - new version * Sat Feb 02 2019 Fedora Release Engineering - 0.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 24 2018 Christian Dersch - 0.1.3-1 - new version * Tue Jun 19 2018 Miro Hrončok - 0.1.2-2 - Rebuilt for Python 3.7 * Sat Mar 17 2018 Christian Dersch - 0.1.2-1 - initial packaging effort ## END: Generated by rpmautospec