python-more-itertools/python-more-itertools.spec
2021-07-15 02:48:35 +00:00

52 lines
1.7 KiB
RPMSpec

Name: python-more-itertools
Version: 8.5.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
%{?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
%py3_build
%install
%py3_install
%check
%{__python3} ./setup.py test
%files -n python3-more-itertools
%doc README.rst PKG-INFO LICENSE
%{python3_sitelib}/more_itertools/
%exclude %{python3_sitelib}/more_itertools/tests
%{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info
%changelog
* 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