## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 16; 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 pypi_name pytest-trio Name: python-%{pypi_name} Version: 0.8.0 Release: %autorelease Summary: Pytest plugin for trio # Automatically converted from old format: MIT or ASL 2.0 - review is highly recommended. License: LicenseRef-Callaway-MIT OR Apache-2.0 URL: https://github.com/python-trio/pytest-trio Source0: https://github.com/python-trio/pytest-trio/archive/v%{version}/%{pypi_name}-%{version}.tar.gz # Remove trio.tests import causing warnings # https://github.com/python-trio/pytest-trio/pull/135 # We only backport the fix, not the additional formatting changes. Patch: https://github.com/python-trio/pytest-trio/pull/135/commits/9cda20bbb966fe1e4ae51921d566c668654ee5e1.patch # Backport of https://github.com/python-trio/pytest-trio/pull/145 Patch: migrate-to-pyproject.patch BuildArch: noarch %description This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-hypothesis %description -n python3-%{pypi_name} This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python. %prep %autosetup -n %{pypi_name}-%{version} -p1 sed -i s/--cov// pytest.ini %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pytest_trio %check %pytest -v %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 25 2025 Fedora Release Engineering - 0.8.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 0.8.0-13 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.8.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Sep 04 2024 Miroslav Suchý - 0.8.0-11 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.8.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Benjamin A. Beasley - 0.8.0-9 - Remove trio.tests imports (removed from trio 0.24+) * Fri Jun 07 2024 Python Maint - 0.8.0-8 - Rebuilt for Python 3.13 * Mon Apr 08 2024 Fabian Affolter - 0.8.0-7 - Ignore trio.TrioDeprecationWarning (closes rhbz#2261596) * Fri Jan 26 2024 Fedora Release Engineering - 0.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 01 2023 Python Maint - 0.8.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 11 2022 Lumír Balhar - 0.8.0-1 - Update to 0.8.0 (#2142072) * Fri Jul 22 2022 Fedora Release Engineering - 0.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7.0-6 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.7.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 07 2021 Joel Capitao - 0.7.0-1 - Update to latest upstream release 0.7.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 04 2020 Fabian Affolter - 0.6.0-1 - Update to latest upstream release 0.6.0 * Tue May 26 2020 Miro Hrončok - 0.5.2-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 01 2020 Fabian Affolter - 0.5.2-1 - Initial package for Fedora ## END: Generated by rpmautospec