You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-jaraco-functools/python-jaraco-functools.spec

203 lines
6.1 KiB

6 years ago
# Created by pyp2rpm-3.3.2
6 years ago
%global pypi_name jaraco.functools
%global pkg_name jaraco-functools
6 years ago
# Fedora doesn't have all the docs deps yet
%bcond_with docs
6 years ago
Name: python-%{pkg_name}
Version: 4.0.0
Release: 3%{?dist}
6 years ago
Summary: Functools like those found in stdlib
License: MIT
URL: https://github.com/jaraco/jaraco.functools
6 years ago
Source0: %{pypi_source %{pypi_name}}
6 years ago
BuildArch: noarch
%description
Functools like those found in stdlib
6 years ago
%package -n python3-%{pkg_name}
Summary: %{summary}
# python3-jaraco is an RPM-only namespace package for jaraco.*
# it does not exists on PyPI and does not provide python3dist(jaraco)
# DO NOT change this dependency to python3dist(jaraco) or similar
Requires: python3-jaraco
6 years ago
BuildRequires: python3-devel
BuildConflicts: python3dist(pytest) = 3.7.3
BuildRequires: python3dist(jaraco-classes)
BuildRequires: python3dist(pip) >= 3.4
BuildRequires: python3dist(pytest) >= 3.4
6 years ago
BuildRequires: python3dist(setuptools)
6 years ago
%{?python_provide:%python_provide python3-%{pkg_name}}
6 years ago
6 years ago
%description -n python3-%{pkg_name}
6 years ago
Functools like those found in stdlib
%if %{with docs}
6 years ago
%package -n python-%{pkg_name}-doc
6 years ago
Summary: jaraco-functools documentation
6 years ago
BuildRequires: python3dist(jaraco-packaging) >= 3.2
BuildRequires: python3dist(rst-linker) >= 1.9
6 years ago
BuildRequires: python3dist(sphinx)
%description -n python-%{pkg_name}-doc
6 years ago
Documentation for jaraco-functools
%endif
%prep
%autosetup -n jaraco.functools-%{version}
%generate_buildrequires
%pyproject_buildrequires
6 years ago
%build
%pyproject_wheel
6 years ago
%if %{with docs}
# generate html docs
6 years ago
PYTHONPATH=${PWD} sphinx-build docs html
6 years ago
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
%endif
%install
%pyproject_install
6 years ago
%check
%pytest
6 years ago
6 years ago
%files -n python3-%{pkg_name}
6 years ago
%license LICENSE
%doc README.rst
%{python3_sitelib}/jaraco/functools*
%{python3_sitelib}/jaraco.functools-%{version}.dist-info
6 years ago
%if %{with docs}
6 years ago
%files -n python-%{pkg_name}-doc
6 years ago
%doc html
%license LICENSE
%endif
%changelog
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Nov 07 2023 Dan Radez <dradez@redhat.com> - 4.0.0-1
- update to 4.0.0 rhbz#2248009
* Fri Sep 08 2023 Dan Radez <dradez@redhat.com> - 3.9.0-1
- update to 3.9.0 rhbz#2235141
* Tue Aug 08 2023 Dan Radez <dradez@redhat.com> - 3.8.1-1
- update to 3.8.1 rhbz#2229532
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 27 2023 Python Maint <python-maint@redhat.com> - 3.8.0-2
- Rebuilt for Python 3.12
* Tue Jun 27 2023 Dan Radez <dradez@redhat.com> - 3.8.0-1
- update to 3.8.0 rhbz#2217823
* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 3.7.0-2
- Rebuilt for Python 3.12
* Mon Jun 19 2023 Dan Radez <dradez@redhat.com> - 3.7.0-1
- update to 3.7.0 rhbz#2210935
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.6.0-2
- Rebuilt for Python 3.12
* Wed Feb 22 2023 Dan Radez <dradez@redhat.com> - 3.6.0
- update to 3.6.0 rhbz#2171917
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Oct 05 2022 Miro Hrončok <mhroncok@redhat.com> - 3.5.2-2
- Remove superfluous runtime dependency on python3-toml
* Wed Sep 28 2022 Dan Radez <dan@radez.net> - 3.5.2-1
- update to 3.5.1 - rhbz#2130355
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 20 2022 Dan Radez <dradez@redhat.com> - 3.5.1-1
- update to 3.5.1
- switched from py3 macros to pyproject macros
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.5.0-5
- Rebuilt for Python 3.11
* Thu Feb 10 2022 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-4
- Make the package installable again
- Fixes: rhbz#2053060
* Wed Feb 09 2022 Dan Radez <dradez@redhat.com> - 3.5.0-3
- Don't delete egginfo
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 04 2022 Dan Radez <dradez@redhat.com> - 3.5.0-1
- updating to 3.5.0
- Reenabled checks! Yay \o/
* Mon Dec 06 2021 Dan Radez <dradez@redhat.com> - 3.4.0-1
- updating to 3.4.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.3.0-2
- Rebuilt for Python 3.10
* Fri Apr 30 2021 Dan Radez <dradez@redhat.com> - 3.3.0-1
- updating to 3.3.0
* Tue Feb 23 2021 Dan Radez <dradez@redhat.com> - 3.2.1-1
- updating to 3.2.1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jan 05 2021 Dan Radez <dradez@redhat.com> - 3.1.0-1
- updating to 3.1.0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.1-2
- Rebuilt for Python 3.9
* Fri May 08 2020 Dan Radez <dradez@redhat.com> - 3.0.1-1
- updating to 3.0.1-1
- added toml dep
* Wed Feb 12 2020 Dan Radez <dradez@redhat.com> - 3.0.0-1
- updating to 3.0.0-1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Sep 27 2019 Dan Radez <dradez@redhat.com> - 2.0-4
- Rebuilding to resolve dep issues
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6 years ago
* Wed Apr 03 2019 Dan Radez <dradez@redhat.com> - 2.0-1
- Initial package.