forked from pool/python-more-itertools
Accepting request 982463 from home:bnavigator:branches:devel:languages:python
- Clean up specfile, only requires flit-core (flit not in Ring1) OBS-URL: https://build.opensuse.org/request/show/982463 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=39
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 13 13:15:41 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Clean up specfile, only requires flit-core (flit not in Ring1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 14:27:12 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-more-itertools
|
||||
Version: 8.13.0
|
||||
@@ -26,11 +26,9 @@ 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 flit}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -42,7 +40,7 @@ Python iterables.
|
||||
|
||||
%prep
|
||||
%setup -q -n more-itertools-%{version}
|
||||
rm -rf more_itertools.egg-info
|
||||
chmod -x more_itertools/more.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -52,12 +50,12 @@ rm -rf more_itertools.egg-info
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pyunittest discover -v
|
||||
%pyunittest -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/more_itertools/
|
||||
%{python_sitelib}/more_itertools-%{version}.dist-info/
|
||||
%{python_sitelib}/more_itertools-%{version}*-info/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user