Update to 8.5.0 (#1873653) & switch to pyproject macros
This commit is contained in:
parent
162ee17cf6
commit
caa76f8108
@ -1,6 +1,8 @@
|
||||
%bcond_without tests
|
||||
%global srcname more-itertools
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 8.4.0
|
||||
Version: 8.5.0
|
||||
Release: 1%{?dist}
|
||||
Summary: More routines for operating on Python iterables, beyond itertools
|
||||
License: MIT
|
||||
@ -9,8 +11,7 @@ Source0: %{pypi_source}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
%global _description %{expand:
|
||||
Python's itertools library is a gem - you can compose elegant solutions for
|
||||
@ -29,23 +30,29 @@ Summary: %{summary}
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires %{?with_tests:-r -t}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
%pyproject_save_files more_itertools
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%{python3} setup.py test
|
||||
%tox
|
||||
%endif
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%files -n python3-%{srcname} -f %pyproject_files
|
||||
%license LICENSE
|
||||
%doc README.rst PKG-INFO
|
||||
%{python3_sitelib}/more_itertools/
|
||||
%exclude %{python3_sitelib}/more_itertools/tests
|
||||
%{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%changelog
|
||||
* Wed Sep 09 2020 Lumír Balhar <lbalhar@redhat.com> - 8.5.0-1
|
||||
- Update to 8.5.0 (#1873653)
|
||||
|
||||
* Wed Jul 29 2020 Miro Hrončok <mhroncok@redhat.com> - 8.4.0-1
|
||||
- Update to 8.4.0
|
||||
- Fixes rhbz#1778332
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (more-itertools-8.4.0.tar.gz) = 70bf72594cb92b165f1bdc5050bcd3d7d37eeee65db6c631b636222005f8d7707d0c6ab09a229e9f1a23fdcf2be948e96d0882f9fa033f29b7a472ec8441a4d0
|
||||
SHA512 (more-itertools-8.5.0.tar.gz) = f11a4443d4d5e79fe241fc6e170ae51b08cfb1f1093dddad036e1ba043c30d03c53ab9fccbfb4de97279862c6cfe44759ae88ce6027d871515b032e7d9e435e7
|
||||
|
Loading…
Reference in New Issue
Block a user