forked from pool/python-more-itertools
Accepting request 726483 from home:mcalabkova:branches:devel:languages:python
- update to version 7.2.0
* new itertools: distinct_combinations, set_partitions, filter_except,
map_except, ichunked, only, time_limited, partitions, substrings_indexes
* Python 2.7 is no longer supported. All future releases will target
the active versions of Python 3.
* The six library is no longer a dependency.
* collapse now treats bytes objects the same as str objects.
* numeric_range now supports ranges specified by datetime.datetime
and datetime.timedelta objects
OBS-URL: https://build.opensuse.org/request/show/726483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
85d233d5b1
commit
03a0df1f12
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-more-itertools
|
||||
Version: 5.0.0
|
||||
Version: 7.2.0
|
||||
Release: 0
|
||||
Summary: More routines for operating on iterables, beyond itertools
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/erikrose/more-itertools
|
||||
URL: https://github.com/erikrose/more-itertools
|
||||
Source: https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -52,7 +53,7 @@ rm -rf more_itertools.egg-info
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_exec %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
Reference in New Issue
Block a user