Updating to 3.5.1

- switched from py3 macros to pyproject macros
epel10
Dan Radez 3 years ago
parent 59ee4932f8
commit dfeb89ca30

2
.gitignore vendored

@ -1 +1 @@
/jaraco.functools-3.5.0.tar.gz
/jaraco.functools-3.5.1.tar.gz

@ -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

@ -1 +1 @@
SHA512 (jaraco.functools-3.5.0.tar.gz) = 7257f41506f90ca2fda1bd12fed58fa4d4ff5738547f8cdae8ccad1901e0c818afb701dd8e9050fc77ca1271bc2466d5a542990138bc3db2cf9b04d12850844c
SHA512 (jaraco.functools-3.5.1.tar.gz) = 4496c80eae72834e5bc214f40de91a6aa603ce296b3866e0b363014c2919843f515efe9b314f18667e6b09d183a0985760e47f3340aed42dfbdba01884896df5

Loading…
Cancel
Save