14
0
Files
python-more-itertools/python-more-itertools.spec
Dirk Mueller ae7c1c18ba - update to 10.5.0:
* Optimize all_equal recipe
  * Reduce groupby.__next__ calls in all_equal
  * Fix types.UnionType
- update to 10.4.0:
  * Issue 854: sample improvements
  * Issue 858: Use chain and starmap in run_length.decode
  * Issue 859: Update totient recipe
  * Distinct permutations of incomparable items
  * Clarify seekable.relative_seek behavior
  * Issue 864: Improve _sample_unweighted
  * Use log1p for _sample_unweighted
  * Issue 862: change relative_seek() behaviour
  * Issue 876: is_sorted clarifications
  * Issue 870: counts parameter for sample
  * Issue 869: Add a steps argument to circular_shifts
  * Issue 871: Add a fast path for sliding_window
  * type annotation of `windowed_complete` corrected
  * [Docs] Fix strictly_n missing the n parameter
  * Standardize type hints for isinstance's second argument
  * Issue 883: change type hint
  * Add type overloads for `zip_broadcast`
  * Issue 889: Optimize triplewise
  * Add option `strict` to `sort_together`
  * Updates for version 10.4.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=55
2024-10-23 20:58:04 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package python-more-itertools
#
# Copyright (c) 2024 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/
#
%{?sle15_python_module_pythons}
Name: python-more-itertools
Version: 10.5.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 >= 3.7}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
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}
chmod -x more_itertools/more.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/more_itertools/
%{python_sitelib}/more_itertools-%{version}*-info/
%changelog