python-more-itertools/python-more-itertools.spec
2023-06-07 10:16:23 +08:00

60 lines
1.9 KiB
RPMSpec

Name: python-more-itertools
Version: 9.1.0
Release: 1
Summary: An opensource python library wrapping around itertools
License: MIT
URL: https://github.com/erikrose/more-itertools
Source0: https://pypi.io/packages/source/m/more-itertools/more-itertools-%{version}.tar.gz
BuildArch: noarch
%description
This is a python library for efficient use of itertools utility, which also \
includes implementations of the recipes from the itertools documentation.\
See https://pythonhosted.org/more-itertools/index.html for more information.
%package -n python3-more-itertools
Summary: An opensource python library wrapping around itertools
BuildRequires: python3-devel python3-six
BuildRequires: python3-pip python3-wheel
BuildRequires: python3-flit-core
%{?python_provide:%python_provide python3-more-itertools}
%description -n python3-more-itertools
This is a python library for efficient use of itertools utility, which also \
includes implementations of the recipes from the itertools documentation.\
See https://pythonhosted.org/more-itertools/index.html for more information.
%prep
%autosetup -n more-itertools-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%check
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} -m unittest -v
%files -n python3-more-itertools
%doc README.rst LICENSE
%{python3_sitelib}/more_itertools/
%{python3_sitelib}/more_itertools-%{version}*-info
%changelog
* Wed Jun 07 2023 yaoxin <yao_xin001@hoperun.com> - 9.1.0-1
- Update to 9.1.0
* Thu Jul 7 2022 wulei <wulei80@h-partners.com> - 8.12.0-1
- Upgrade to 8.12.0
* Thu Jul 15 2021 huangtianhua <huangtianhua@huawei.com> -8.5.0-1
- Upgrade to 8.5.0 to support OpenStack-W
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 4.1.0-6
- remove python2
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 4.1.0-5
- Package init