Blame SPECS/python-time-machine.spec

353e2e
Name:           python-time-machine
353e2e
Version:        2.16.0
rdobuilder d79518
Release:        1%{?dist}
353e2e
Summary:        Travel through time in your Python tests
353e2e
License:        MIT
353e2e
URL:            https://github.com/adamchainz/time-machine
353e2e
Source:         %{url}/archive/%{version}/time-machine-%{version}.tar.gz
353e2e
353e2e
BuildRequires:  gcc
353e2e
BuildRequires:  python3-devel
353e2e
353e2e
%global _description %{expand:
353e2e
A Python library that allows to travel in time and freeze it as well.
353e2e
Includes a test-function decorator that sets time to an arbitrary value.}
353e2e
353e2e
%description %_description
353e2e
353e2e
%package -n     python3-time-machine
353e2e
Summary:        %{summary}
353e2e
353e2e
%description -n python3-time-machine %_description
353e2e
353e2e
353e2e
%prep
353e2e
%autosetup -p1 -n time-machine-%{version}
353e2e
sed -i '/coverage/d' tests/requirements/requirements.in
353e2e
353e2e
353e2e
%generate_buildrequires
353e2e
# tox uses a pinned version of requirements/requirements.in and also uses coverage
353e2e
# so we bypass it.
353e2e
# This also saves us one dependency cycle as tox uses time-machine for tests.
353e2e
%pyproject_buildrequires tests/requirements/requirements.in
353e2e
353e2e
353e2e
%build
353e2e
%pyproject_wheel
353e2e
353e2e
353e2e
%install
353e2e
%pyproject_install
353e2e
%pyproject_save_files time_machine _time_machine
353e2e
353e2e
353e2e
%check
353e2e
%pytest -v
353e2e
353e2e
353e2e
%files -n python3-time-machine -f %{pyproject_files}
353e2e
%doc README.rst HISTORY.rst
353e2e
353e2e
353e2e
%changelog
rdobuilder d79518
* Tue Oct 08 2024 Charalampos Stratakis <cstratak@redhat.com> - 2.16.0-1
rdobuilder d79518
- Update to 2.16.0
rdobuilder d79518
- Fixes: rhbz#2295579
rdobuilder d79518
rdobuilder d79518
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-3
rdobuilder d79518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
rdobuilder d79518
rdobuilder d79518
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 2.14.1-2
rdobuilder d79518
- Rebuilt for Python 3.13
rdobuilder d79518
rdobuilder d79518
* Mon Apr 22 2024 Karolina Surma <ksurma@redhat.com> - 2.14.1-1
rdobuilder d79518
- Update to 2.14.1
rdobuilder d79518
rdobuilder d79518
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-4
rdobuilder d79518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder d79518
rdobuilder d79518
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-3
rdobuilder d79518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder d79518
rdobuilder d79518
* Fri Nov 24 2023 Miro Hrončok <miro@hroncok.cz> - 2.13.0-2
rdobuilder d79518
- Add support for Python 3.13.0a2+
rdobuilder d79518
rdobuilder d79518
* Fri Nov 24 2023 Miro Hrončok <miro@hroncok.cz> - 2.13.0-1
rdobuilder d79518
- Update to 2.13.0
rdobuilder d79518
- Fixes: rhbz#2239635
rdobuilder d79518
rdobuilder d79518
* Tue Aug 29 2023 Charalampos Stratakis <cstratak@redhat.com> - 2.12.0-1
rdobuilder d79518
- Update to 2.12.0
rdobuilder d79518
rdobuilder d79518
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-4
rdobuilder d79518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder d79518
rdobuilder d79518
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.9.0-3
rdobuilder d79518
- Rebuilt for Python 3.12
rdobuilder d79518
rdobuilder d79518
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
rdobuilder d79518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder d79518
rdobuilder d79518
* Wed Jan 11 2023 Miro Hrončok <miro@hroncok.cz> - 2.9.0-1
rdobuilder d79518
- Initial import
rdobuilder d79518
- Fixes: rhbz#2159772