14
0
Files
python-more-itertools/python-more-itertools.spec
Dirk Mueller 2b4391a96f - update to 8.2.0:
* The .pyi files for typing were updated. (thanks to blueyed and ilai-deutel)
   * :func:`numeric_range` now behaves more like the built-in :func:`range`. (thanks to jferard)
   * :func:`bucket` now allows for enumerating keys. (thanks to alexchandel)
   * :func:`sliced` now should now work for numpy arrays. (thanks to sswingle)
   * :func:`seekable` now has a ``maxlen`` parameter.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=19
2020-02-28 21:38:05 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package python-more-itertools
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-more-itertools
Version: 8.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
Source: https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Additional building blocks, recipes, and routines for working with
Python iterables.
%prep
%setup -q -n more-itertools-%{version}
rm -rf more_itertools.egg-info
%build
%python_build
%install
%python_install
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/more_itertools/
%{python_sitelib}/more_itertools-%{version}-py%{python_version}.egg-info
%changelog