Blame SPECS/python-trio.spec

7825d3
%global common_description %{expand:
7825d3
The Trio project's goal is to produce a production-quality, permissively
7825d3
licensed, async/await-native I/O library for Python.  Like all async libraries,
7825d3
its main purpose is to help you write programs that do multiple things at the
7825d3
same time with parallelized I/O.  A web spider that wants to fetch lots of
7825d3
pages in parallel, a web server that needs to juggle lots of downloads and
7825d3
websocket connections at the same time, a process supervisor monitoring
7825d3
multiple subprocesses... that sort of thing.  Compared to other libraries, Trio
7825d3
attempts to distinguish itself with an obsessive focus on usability and
7825d3
correctness.  Concurrency is complicated; we try to make it easy to get things
7825d3
right.}
7825d3
7825d3
7825d3
Name:           python-trio
7825d3
Version:        0.23.1
7825d3
Release:        7%{?dist}
7825d3
Summary:        A friendly Python library for async concurrency and I/O
7825d3
License:        Apache-2.0 OR MIT
7825d3
URL:            https://github.com/python-trio/trio
7825d3
Source:         %pypi_source trio
7825d3
7825d3
# Python 3.13 support
7825d3
# Manually rebased from https://github.com/python-trio/trio/pull/2959
7825d3
Patch:          python3.13-PR-2959.patch
7825d3
# Manually rebased from https://github.com/python-trio/trio/pull/3005
7825d3
Patch:          python3.13-PR-3005.patch
7825d3
7825d3
BuildArch:      noarch
7825d3
7825d3
7825d3
%description %{common_description}
7825d3
7825d3
7825d3
%package -n python3-trio
7825d3
Summary:        %{summary}
7825d3
BuildRequires:  python3-devel
7825d3
BuildRequires:  python3-pytest
7825d3
7825d3
7825d3
%description -n python3-trio %{common_description}
7825d3
7825d3
7825d3
%prep
7825d3
%autosetup -p 1 -n trio-%{version}
7825d3
7825d3
7825d3
%generate_buildrequires
7825d3
%pyproject_buildrequires
7825d3
7825d3
7825d3
%build
7825d3
%pyproject_wheel
7825d3
7825d3
7825d3
%install
7825d3
%pyproject_install
7825d3
%pyproject_save_files trio
7825d3
7825d3
7825d3
%check
7825d3
# https://github.com/python-trio/trio/issues/2863
7825d3
# https://github.com/python-trio/trio/pull/2870
7825d3
# https://docs.pytest.org/en/stable/explanation/goodpractices.html#tests-as-part-of-application-code
7825d3
%pytest --pyargs trio -p trio._tests.pytest_plugin --verbose --skip-optional-imports
7825d3
7825d3
7825d3
%files -n python3-trio -f %{pyproject_files}
7825d3
%doc README.rst
7825d3
7825d3
7825d3
%changelog
7825d3
* Mon Jan 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-7
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
7825d3
7825d3
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-6
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7825d3
7825d3
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.23.1-5
7825d3
- Rebuilt for Python 3.13
7825d3
7825d3
* Mon May 27 2024 Miro Hrončok <miro@hroncok.cz> - 0.23.1-4
7825d3
- Python 3.13 support
7825d3
7825d3
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-3
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7825d3
7825d3
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7825d3
7825d3
* Tue Nov 07 2023 Carl George <carlwgeorge@fedoraproject.org> - 0.23.1-1
7825d3
- Update to version 0.23.1, resolves rhbz#2219110
7825d3
7825d3
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-5
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
7825d3
7825d3
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 0.22.0-4
7825d3
- Rebuilt for Python 3.12
7825d3
7825d3
* Sat Jul 01 2023 Miro Hrončok <mhroncok@redhat.com> - 0.22.0-3
7825d3
- Remove async_generator as dependency
7825d3
7825d3
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
7825d3
7825d3
* Mon Oct 31 2022 Carl George <carl@george.computer> - 0.22.0-1
7825d3
- Update to 0.22.0, resolves rhbz#2094511
7825d3
7825d3
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-5
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
7825d3
7825d3
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.20.0-4
7825d3
- Rebuilt for Python 3.11
7825d3
7825d3
* Thu Mar 24 2022 Miro Hrončok <mhroncok@redhat.com> - 0.20.0-3
7825d3
- Add fix for Python 3.11
7825d3
- Fixes: rhbz#2049632
7825d3
7825d3
* Thu Mar 03 2022 Carl George <carl@george.computer> - 0.20.0-1
7825d3
- Latest upstream rhbz#2056578
7825d3
7825d3
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7825d3
7825d3
* Sat Jul 24 2021 Carl George <carl@george.computer> - 0.19.0-1
7825d3
- Latest upstream rhbz#1972135
7825d3
7825d3
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.18.0^20210519gitd883dbe-4
7825d3
- Rebuilt for Python 3.10
7825d3
7825d3
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.18.0^20210519gitd883dbe-3
7825d3
- Bootstrap for Python 3.10
7825d3
7825d3
* Mon May 17 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.18.0-2
7825d3
- Backport upstream fixes to bring compatibility with Python 3.10
7825d3
7825d3
* Tue Feb 09 2021 Joel Capitao <jcapitao@redhat.com> - 0.18.0-1
7825d3
- Latest upstream rhbz#1879061
7825d3
7825d3
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7825d3
7825d3
* Sun Sep 06 2020 Carl George <carl@george.computer> - 0.16.0-1
7825d3
- Latest upstream
7825d3
7825d3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7825d3
7825d3
* Thu Jun 04 2020 Carl George <carl@george.computer> - 0.15.1-1
7825d3
- Latest upstream rhbz#1828266
7825d3
7825d3
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-3
7825d3
- Rebuilt for Python 3.9
7825d3
7825d3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7825d3
7825d3
* Thu Jan 02 2020 Carl George <carl@george.computer> - 0.13.0-1
7825d3
- Latest upstream rhbz#1742425
7825d3
7825d3
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-4
7825d3
- Rebuilt for Python 3.8.0rc1 (#1748018)
7825d3
7825d3
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-3
7825d3
- Rebuilt for Python 3.8
7825d3
7825d3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7825d3
7825d3
* Thu Feb 28 2019 Carl George <carl@george.computer> - 0.11.0-1
7825d3
- Latest upstream
7825d3
7825d3
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
7825d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7825d3
7825d3
* Thu Sep 20 2018 Carl George <carl@george.computer> - 0.7.0-1
7825d3
- Initial package