#6 [untested] Update to 8.4.0 and modernize a bit
Merged 3 years ago by churchyard. Opened 3 years ago by churchyard.
rpms/ churchyard/python-more-itertools 8.4.0  into  master

file modified
+18 -16
@@ -1,29 +1,27 @@ 

- # spec file for package python-more-itertools

- # https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec

  %global srcname more-itertools

- %global _description \

- Opensource python library wrapping around itertools. Package also includes \

- implementations of the recipes from the itertools documentation.\

- \

- See https://pythonhosted.org/more-itertools/index.html for documentation.\

- %global sum Python library for efficient use of itertools utility

- 

  Name:           python-%{srcname}

- Version:        7.2.0

- Release:        6%{?dist}

- Summary:        %{sum} 

+ Version:        8.4.0

+ Release:        1%{?dist}

+ Summary:        More routines for operating on Python iterables, beyond itertools

  License:        MIT

  URL:            https://github.com/erikrose/more-itertools

- Source0:        https://pypi.io/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz

+ Source0:        %{pypi_source}

  BuildArch:      noarch

+ 

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

  BuildRequires:  python3-six

  

+ %global _description %{expand:

+ Python's itertools library is a gem - you can compose elegant solutions for

+ a variety of problems with the functions it provides. In more-itertools we

+ collect additional building blocks, recipes, and routines for working with

+ Python iterables.}

+ 

  %description %_description

  

  %package -n python3-%{srcname}

- Summary:        %{sum}

+ Summary:        %{summary}

  %{?python_provide:%python_provide python3-%{srcname}}

  

  %description -n python3-%{srcname} %_description
@@ -38,16 +36,20 @@ 

  %py3_install

  

  %check

- %{__python3} ./setup.py test

+ %{python3} setup.py test

  

  %files -n python3-%{srcname}

  %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

+ %{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info/

  

  %changelog

+ * Wed Jul 29 2020 Miro Hrončok <mhroncok@redhat.com> - 8.4.0-1

+ - Update to 8.4.0

+ - Fixes rhbz#1778332

+ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.0-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (more-itertools-7.2.0.tar.gz) = 840b535bf5f2fc3cf9c4c0106f977f0b178049b95e5ccb6cf51b5e68d0a6afd77a577bb0d0af25ea8cdf4b7dd2ce9691754ba6c773a196f8b10dba5d7683c6b0

+ SHA512 (more-itertools-8.4.0.tar.gz) = 70bf72594cb92b165f1bdc5050bcd3d7d37eeee65db6c631b636222005f8d7707d0c6ab09a229e9f1a23fdcf2be948e96d0882f9fa033f29b7a472ec8441a4d0

I'm building directly depending packages in https://copr.fedorainfracloud.org/coprs/churchyard/python-more-itertools-8.4.0/monitor/ -- since pytest depends on this, I've decided not to build recursive depndencies.

Pull-Request has been merged by churchyard

3 years ago