Blame SPECS/python-Automat.spec

rdobuilder a76def
rdobuilder a76def
%global srcname Automat
rdobuilder a76def
%global libname automat
rdobuilder a76def
rdobuilder a76def
%global common_description %{expand:
rdobuilder a76def
Automat is a library for concise, idiomatic Python expression of finite-state
rdobuilder a76def
automata (particularly deterministic finite-state transducers).}
rdobuilder a76def
rdobuilder a76def
#package python3-pydoctor is not provided in RDO
rdobuilder a76def
%bcond_with doc
rdobuilder a76def
rdobuilder a76def
Name:           python-%{srcname}
rdobuilder a76def
Version:        24.8.1
rdobuilder a76def
Release:        1%{?dist}
rdobuilder a76def
Summary:        Self-service finite-state machines for the programmer on the go
rdobuilder a76def
rdobuilder a76def
License:        MIT
rdobuilder a76def
URL:            https://github.com/glyph/automat
rdobuilder a76def
Source0:        %pypi_source %libname
rdobuilder a76def
rdobuilder a76def
BuildArch:      noarch
rdobuilder a76def
BuildRequires:  python3-devel
rdobuilder a76def
BuildRequires:  pyproject-rpm-macros
rdobuilder a76def
rdobuilder a76def
%if %{with doc}
rdobuilder a76def
BuildRequires:  python3dist(sphinx-rtd-theme)
rdobuilder a76def
BuildRequires:  python3-pydoctor
rdobuilder a76def
%endif
rdobuilder a76def
rdobuilder a76def
# removes pieces of sphinx config trying to use git
rdobuilder a76def
# to get branch name or commit
rdobuilder a76def
Patch:          sphinx-no-git.patch
rdobuilder a76def
rdobuilder a76def
%description %{common_description}
rdobuilder a76def
rdobuilder a76def
%package -n     python3-%{srcname}
rdobuilder a76def
Summary:        %{summary}
rdobuilder a76def
Provides:       python3-%{libname}
rdobuilder a76def
rdobuilder a76def
%description -n python3-%{srcname} %{common_description}
rdobuilder a76def
rdobuilder a76def
%if %{with doc}
rdobuilder a76def
%package -n python-%{srcname}-doc
rdobuilder a76def
Summary:        Automat documentation
rdobuilder a76def
rdobuilder a76def
%description -n python-%{srcname}-doc
rdobuilder a76def
Documentation for Automat
rdobuilder a76def
%endif
rdobuilder a76def
rdobuilder a76def
%prep
rdobuilder a76def
%autosetup  -p1 -n %{libname}-%{version}
rdobuilder a76def
rdobuilder a76def
# Backport of https://github.com/glyph/automat/commit/2bf0abddd9b532ef9dd90707a10a09ce48c24f3d
rdobuilder a76def
sed -i "s/py\.test/pytest/g" tox.ini
rdobuilder a76def
rdobuilder a76def
%generate_buildrequires
rdobuilder a76def
%pyproject_buildrequires -t
rdobuilder a76def
rdobuilder a76def
%build
rdobuilder a76def
%pyproject_wheel
rdobuilder a76def
rdobuilder a76def
%if %{with doc}
rdobuilder a76def
sphinx-build docs html
rdobuilder a76def
# remove the sphinx-build leftovers
rdobuilder a76def
rm -rf html/.{doctrees,buildinfo}
rdobuilder a76def
%endif
rdobuilder a76def
rdobuilder a76def
%install
rdobuilder a76def
%pyproject_install
rdobuilder a76def
%pyproject_save_files %{libname}
rdobuilder a76def
rdobuilder a76def
%check
rdobuilder a76def
%tox
rdobuilder a76def
rdobuilder a76def
%files -n python3-%{srcname} -f %{pyproject_files}
rdobuilder a76def
%{_bindir}/automat-visualize
rdobuilder a76def
rdobuilder a76def
%if %{with doc}
rdobuilder a76def
%files -n python-%{srcname}-doc
rdobuilder a76def
%doc html
rdobuilder a76def
%license LICENSE
rdobuilder a76def
%endif
rdobuilder a76def
rdobuilder a76def
%changelog
rdobuilder a76def
* Thu Jan 16 2025 Jonathan Wright <jonathan@almalinux.org> - 24.8.1-1
rdobuilder a76def
- update to 24.8.1 rhbz#2307417
rdobuilder a76def
rdobuilder a76def
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 22.10.0-8
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 22.10.0-7
rdobuilder a76def
- Rebuilt for Python 3.13
rdobuilder a76def
rdobuilder a76def
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 22.10.0-6
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 22.10.0-5
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 22.10.0-4
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 22.10.0-3
rdobuilder a76def
- Rebuilt for Python 3.12
rdobuilder a76def
rdobuilder a76def
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 22.10.0-2
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Wed Dec 28 2022 Robert-André Mauchin <zebob.m@gmail.com> - 22.10.0-1
rdobuilder a76def
- Update to 22.10.0
rdobuilder a76def
rdobuilder a76def
* Fri Dec 09 2022 Lumir Balhar <lbalhar@redhat.com> - 20.2.0-21
rdobuilder a76def
- Fix compatibility with pytest 7.2 and tox 4
rdobuilder a76def
rdobuilder a76def
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20.2.0-20
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Sun Jul 03 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-19
rdobuilder a76def
- Minor fixes
rdobuilder a76def
rdobuilder a76def
* Sun Jul 03 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-18
rdobuilder a76def
- Remove check condition
rdobuilder a76def
rdobuilder a76def
* Sun Jul 03 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-17
rdobuilder a76def
- Minor fixes
rdobuilder a76def
rdobuilder a76def
* Tue Jun 21 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-16
rdobuilder a76def
- Remove deletion of egg.info
rdobuilder a76def
rdobuilder a76def
* Tue Jun 21 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-15
rdobuilder a76def
- Add a switch for the tests
rdobuilder a76def
rdobuilder a76def
* Tue Jun 21 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-14
rdobuilder a76def
- Convert to new Python guidelines
rdobuilder a76def
rdobuilder a76def
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 20.2.0-13
rdobuilder a76def
- Rebuilt for Python 3.11
rdobuilder a76def
rdobuilder a76def
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 20.2.0-12
rdobuilder a76def
- Bootstrap for Python 3.11
rdobuilder a76def
rdobuilder a76def
* Mon Feb 14 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-11
rdobuilder a76def
- Fix FTBFS with Python 3.11 Close: rhbz#2050073
rdobuilder a76def
rdobuilder a76def
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20.2.0-9
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.2.0-8
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 20.2.0-7
rdobuilder a76def
- Rebuilt for Python 3.10
rdobuilder a76def
rdobuilder a76def
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 20.2.0-6
rdobuilder a76def
- Bootstrap for Python 3.10
rdobuilder a76def
rdobuilder a76def
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.2.0-5
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.2.0-4
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 20.2.0-3
rdobuilder a76def
- Rebuilt for Python 3.9
rdobuilder a76def
rdobuilder a76def
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 20.2.0-2
rdobuilder a76def
- Bootstrap for Python 3.9
rdobuilder a76def
rdobuilder a76def
* Wed Feb 19 03:32:18 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 20.2.0-1
rdobuilder a76def
- Update to 20.2.0
rdobuilder a76def
rdobuilder a76def
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Sat Dec 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.0-1
rdobuilder a76def
- Update to 0.8.0 (#1763502)
rdobuilder a76def
rdobuilder a76def
* Sun Oct 13 23:16:43 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.7.0-8
rdobuilder a76def
- Drop Python 2 support (#1761207)
rdobuilder a76def
rdobuilder a76def
* Wed Sep 18 2019 Petr Viktorin <pviktori@redhat.com> - 0.7.0-7
rdobuilder a76def
- Python 2: Remove tests and test dependencies
rdobuilder a76def
rdobuilder a76def
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-6
rdobuilder a76def
- Rebuilt for Python 3.8
rdobuilder a76def
rdobuilder a76def
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-5
rdobuilder a76def
- Bootstrap for Python 3.8
rdobuilder a76def
rdobuilder a76def
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Mon May 27 21:26:47 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.7.0-3
rdobuilder a76def
- Add patch supporting for positional only arguments for Python 3.8
rdobuilder a76def
rdobuilder a76def
* Sat Apr 06 2019 Carl George <carl@george.computer> - 0.7.0-2
rdobuilder a76def
- Add provides for lowercase name
rdobuilder a76def
- Run tests with pytest like upstream does
rdobuilder a76def
rdobuilder a76def
* Mon Mar 11 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.7.0-1
rdobuilder a76def
- Release 0.7.0 (#1687495)
rdobuilder a76def
rdobuilder a76def
* Fri Mar 08 2019 Jeroen van Meeuwen <vanmeeuwen+fedora@kolabsys.com> - 0.6.0-5
rdobuilder a76def
 - Add bcond_without tests
rdobuilder a76def
rdobuilder a76def
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
rdobuilder a76def
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder a76def
rdobuilder a76def
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-2
rdobuilder a76def
- Rebuilt for Python 3.7
rdobuilder a76def
rdobuilder a76def
* Fri Apr 13 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.6.0-1
rdobuilder a76def
- Initial package.
rdobuilder a76def