14
0
Files
python-more-itertools/python-more-itertools.spec
Dirk Mueller 123ddf76ae - update to 8.10.0:
* The type stub for :func:`iter_except` was improved (thanks to  MarcinKonowalczyk)
    *  Type stubs now ship with the source release (thanks to saaketp)
    *  The Sphinx docs were improved (thanks to MarcinKonowalczyk)
    * New functions
      * :func:`interleave_evenly` (thanks to mbugert)
      * :func:`repeat_each` (thanks to FinalSh4re)
      * :func:`chunked_even` (thanks to valtron)
      * :func:`map_if` (thanks to sassbalint)
      * :func:`zip_broadcast` (thanks to kalekundert)
    * Changes to existing functions
      * The type stub for :func:`chunked` was improved (thanks to  PhilMacKay)
      * The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo)
      * Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=34
2021-10-16 19:11:00 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package python-more-itertools
#
# Copyright (c) 2021 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.10.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
%pyunittest discover -v
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/more_itertools/
%{python_sitelib}/more_itertools-%{version}-py%{python_version}.egg-info
%changelog