|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
%bcond_with docs
|
|
|
|
|
|
|
|
|
|
Name: python-%{pkg_name}
|
|
|
|
|
Version: 3.5.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 3.5.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Functools like those found in stdlib
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -30,12 +30,10 @@ Requires: python3dist(toml)
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildConflicts: python3dist(pytest) = 3.7.3
|
|
|
|
|
BuildRequires: python3dist(jaraco-classes)
|
|
|
|
|
BuildRequires: python3dist(more-itertools)
|
|
|
|
|
BuildRequires: python3dist(pip) >= 3.4
|
|
|
|
|
BuildRequires: python3dist(pytest) >= 3.4
|
|
|
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
|
BuildRequires: python3dist(setuptools-scm) >= 1.15
|
|
|
|
|
BuildRequires: python3dist(six)
|
|
|
|
|
BuildRequires: python3dist(toml)
|
|
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pkg_name}}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pkg_name}
|
|
|
|
@ -55,9 +53,11 @@ Documentation for jaraco-functools
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n jaraco.functools-%{version}
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
# generate html docs
|
|
|
|
@ -67,20 +67,17 @@ rm -rf html/.{doctrees,buildinfo}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
LANG=C.utf-8 %{__python3} -m pytest --ignore=build
|
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pkg_name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
# These excludes are provided by python3-jaraco
|
|
|
|
|
%exclude %{python3_sitelib}/jaraco/__init__*
|
|
|
|
|
%exclude %{python3_sitelib}/jaraco/__pycache__/__init__*
|
|
|
|
|
%{python3_sitelib}/jaraco/functools*
|
|
|
|
|
%{python3_sitelib}/jaraco/__pycache__/functools*
|
|
|
|
|
%{python3_sitelib}/jaraco.functools-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
%{python3_sitelib}/jaraco.functools-%{version}.dist-info
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
%files -n python-%{pkg_name}-doc
|
|
|
|
@ -89,6 +86,10 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|