Blob Blame History Raw
%bcond_without tests

Name:           python-more-itertools
Version:        10.1.0
Release:        %autorelease
Summary:        More routines for operating on Python iterables, beyond itertools
License:        MIT
Source0:        %{pypi_source more-itertools}
BuildArch:      noarch

BuildRequires:  python3-devel

%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-more-itertools
Summary:        %{summary}

%description -n python3-more-itertools %_description

%autosetup -p1 -n more-itertools-%{version}

%pyproject_buildrequires -r %{?with_tests: -t}


%pyproject_save_files more_itertools

%if %{with tests}

%files -n python3-more-itertools -f %pyproject_files
%doc README.rst