From bfd0df47772ed025d5e599f639908ba9d16a39764abe1577f50cfb6386c0dc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 29 Aug 2022 19:37:28 +0000 Subject: [PATCH] Accepting request 1000018 from home:bnavigator:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/1000018 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.itertools?expand=0&rev=12 --- jaraco.itertools-5.0.0.tar.gz | 3 --- jaraco.itertools-6.2.1.tar.gz | 3 +++ python-jaraco.itertools.changes | 14 ++++++++++++ python-jaraco.itertools.spec | 39 ++++++++++++++------------------- 4 files changed, 34 insertions(+), 25 deletions(-) delete mode 100644 jaraco.itertools-5.0.0.tar.gz create mode 100644 jaraco.itertools-6.2.1.tar.gz diff --git a/jaraco.itertools-5.0.0.tar.gz b/jaraco.itertools-5.0.0.tar.gz deleted file mode 100644 index eeb7942..0000000 --- a/jaraco.itertools-5.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6447d567f57efe5efea386265c7864652e9530830a1b80f43e60b4f222b9ab84 -size 19517 diff --git a/jaraco.itertools-6.2.1.tar.gz b/jaraco.itertools-6.2.1.tar.gz new file mode 100644 index 0000000..a402bf0 --- /dev/null +++ b/jaraco.itertools-6.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6098edb37c6b8023f3794d42588a13bf75b2ca02b40ff9795c846bcbe0c1b46c +size 16813 diff --git a/python-jaraco.itertools.changes b/python-jaraco.itertools.changes index f8c595f..635697c 100644 --- a/python-jaraco.itertools.changes +++ b/python-jaraco.itertools.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Aug 29 11:56:23 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-jaraco.itertools.spec b/python-jaraco.itertools.spec index dcfc45b..a3a786b 100644 --- a/python-jaraco.itertools.spec +++ b/python-jaraco.itertools.spec @@ -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