Blame SPECS/python-jaraco-classes.spec

318418
# Created by pyp2rpm-3.3.2
318418
%global pkg_name jaraco-classes
318418
%global pypi_name jaraco.classes
318418
# waiting on jaraco-packaging and rst-linker to build docs
318418
%bcond_with doc
318418
318418
Name:           python-jaraco-classes
318418
Version:        3.4.0
318418
Release:        6%{?dist}
318418
Summary:        Utility functions for Python class constructs
318418
318418
License:        MIT
318418
URL:            https://github.com/jaraco/jaraco.classes
318418
Source0:        %{pypi_source jaraco.classes}
318418
BuildArch:      noarch
318418
 
318418
%description
318418
Utility functions for Python class constructs.
318418
318418
%package -n python3-jaraco-classes
318418
Summary:        %{summary}
318418
318418
BuildRequires:  python3-devel
318418
318418
%description -n python3-jaraco-classes
318418
Utility functions for Python class constructs.
318418
318418
%if %{with docs}
318418
%package -n python-jaraco-classes-doc
318418
Summary:        jaraco-classes documentation
318418
318418
BuildRequires:  python3dist(pytest-checkdocs)
318418
BuildRequires:  python3dist(sphinx)
318418
BuildRequires:  python3dist(jaraco-packaging) >= 3.2
318418
BuildRequires:  python3dist(rst-linker) >= 1.9
318418
318418
%description -n python-jaraco-classes-doc
318418
Documentation for jaraco-classes
318418
%endif
318418
318418
318418
%prep
318418
%autosetup -n jaraco.classes-%{version}
318418
# Remove dev-only dependencies. Upstream later split the `test` dependencies out of it
318418
# https://github.com/jaraco/skeleton/issues/138
318418
sed -E -i '/pytest-/d' setup.cfg
318418
318418
318418
%generate_buildrequires
318418
%pyproject_buildrequires -x testing
318418
318418
318418
%build
318418
%pyproject_wheel
318418
%if %{with docs}
318418
# generate html docs 
318418
%{python3} -m sphinx docs html
318418
# remove the sphinx-build leftovers
318418
rm -rf html/.{doctrees,buildinfo}
318418
%endif
318418
318418
318418
%install
318418
%pyproject_install
318418
%pyproject_save_files -l jaraco
318418
318418
318418
%check
318418
%pytest
318418
318418
318418
%files -n python3-jaraco-classes -f %{pyproject_files}
318418
%doc README.rst
318418
318418
%if %{with docs}
318418
%files -n python-jaraco-classes-doc
318418
%doc html
318418
%license LICENSE
318418
%endif
318418
318418
318418
%changelog
318418
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-6
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
318418
318418
* Wed Sep 18 2024 Cristian Le <cristian.le@mpsd.mpg.de> - 3.4.0-5
318418
- Simplify the packaging
318418
318418
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
318418
318418
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.4.0-2
318418
- Rebuilt for Python 3.13
318418
318418
* Tue Apr 02 2024 Dan Radez <dradez@redhat.com> - 3.4.0-1
318418
- Update to upstream 3.4.0 rhbz#2272327
318418
318418
* Wed Feb 14 2024 Dan Radez <dradez@redhat.com> - 3.3.1-1
318418
- Update to upstream 3.3.1 rhbz#2263343
318418
318418
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
318418
318418
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
318418
318418
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
318418
318418
* Tue Jul 11 2023 Dan Radez <dradez@redhat.com> - 3.3.0-1
318418
- Update to 3.3.0 rhbz#2221498
318418
318418
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.2.3-3
318418
- Rebuilt for Python 3.12
318418
318418
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-2
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
318418
318418
* Wed Sep 28 2022 Dan Radez <dan@radez.net> - 3.2.3-1
318418
- update to 3.2.3 - rhbz#2130354
318418
- converting spec to use pyproject macros
318418
- removing excludes for files not in source anymore
318418
318418
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-8
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
318418
318418
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.2.1-7
318418
- Rebuilt for Python 3.11
318418
318418
* Wed Feb 09 2022 Dan Radez <dradez@redhat.com> - 3.2.1-6
318418
- Don't delete egginfo
318418
318418
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-5
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
318418
318418
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-4
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
318418
318418
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.2.1-3
318418
- Rebuilt for Python 3.10
318418
318418
* Thu Mar 04 2021 Miro Hron훾ok <mhroncok@redhat.com> - 3.2.1-2
318418
- Don't co-own /usr/lib/python3.X/site-packages/jaraco
318418
318418
* Tue Feb 23 2021 Dan Radez <dradez@redhat.com> - 3.2.1-1
318418
- Update to 3.2.1
318418
318418
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-4
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
318418
318418
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
318418
318418
* Tue May 26 2020 Miro Hron훾ok <mhroncok@redhat.com> - 3.1.0-2
318418
- Rebuilt for Python 3.9
318418
318418
* Wed Feb 12 2020 Dan Radez <dan@radez.net> - 3.1.0
318418
- update to 3.1.0
318418
318418
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-8
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
318418
318418
* Mon Nov 11 2019 Ken Dreyer <kdreyer@redhat.com> - 2.0-7
318418
- Set minimum pytest version to 3.4 for compatibility with el8
318418
318418
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 2.0-6
318418
- Rebuilt for Python 3.8.0rc1 (#1748018)
318418
318418
* Thu Aug 22 2019 Dan Radez <dradez@redhat.com> - 2.0-5
318418
- Removing the sed . to _ it's confusing and not needed
318418
318418
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 2.0-4
318418
- Rebuilt for Python 3.8
318418
318418
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
318418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
318418
318418
* Mon Apr 08 2019 Dan Radez <dradez@redhat.com> - 2.0-2
318418
- fixed egg info
318418
318418
* Tue Apr 02 2019 Dan Radez <dradez@redhat.com> - 2.0-1
318418
- Initial package.