1
0

Accepting request 1000108 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1000108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.itertools?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-08-31 16:08:28 +00:00 committed by Git OBS Bridge
commit 885ee6341d
4 changed files with 34 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6447d567f57efe5efea386265c7864652e9530830a1b80f43e60b4f222b9ab84
size 19517

BIN
jaraco.itertools-6.2.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Aug 29 11:56:23 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 6.2.1:
#15: Fixed broken test in ensure_unique.
- v6.2.0: Added accumulate function.
- v6.1.1: Fixed typo in ensure_unique doctest.
- v6.1.0: Add ensure_unique function.
- v6.0.3: #13: Fixed doc build errors.
- v6.0.2: Minor fixes.
- v6.0.1: Switch to PEP 420 for namespace package.
- v6.0.0: Remove Counter.GetCount. Remove flatten and iflatten.
- Switch to PEP517 and remove obsolete jaraco.base requirement
-------------------------------------------------------------------
Mon Nov 8 11:05:23 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jaraco.itertools
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,27 +16,25 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jaraco.itertools
Version: 5.0.0
Version: 6.2.1
Release: 0
Summary: Tools to work with iterables
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/jaraco.itertools
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.itertools/jaraco.itertools-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module inflect}
BuildRequires: %{python_module jaraco.base >= 6.1}
BuildRequires: %{python_module more-itertools >= 4.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-inflect
Requires: python-jaraco.base >= 6.1
Requires: python-more-itertools >= 4.0.0
BuildArch: noarch
%python_subpackages
@ -47,30 +45,27 @@ Complements itertools and more_itertools.
%prep
%setup -q -n jaraco.itertools-%{version}
sed -i 's/--flake8//' pytest.ini
sed -i 's/--black --cov//' pytest.ini
rm -r jaraco.itertools.egg-info
%build
%python_build
%pyproject_wheel
%install
%python_install
%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
%{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/
%fdupes %{buildroot}%{$python_sitelib}
}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# work around for gh#pytest-dev/pytest#3396 until gh#pytest-dev/pytest#10088 lands in a pytest release
touch jaraco/__init__.py
%pytest --doctest-modules
%files %{python_files}
%license LICENSE
%doc docs/*.rst README.rst CHANGES.rst
%{python_sitelib}/jaraco.itertools-%{version}-py*.egg-info
%dir %{python_sitelib}/jaraco
%{python_sitelib}/jaraco.itertools-%{version}*-info
%{python_sitelib}/jaraco/itertools.py*
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__
%pycache_only %{python_sitelib}/jaraco/__pycache__/itertools*.py*
%changelog