Accepting request 679744 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/679744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.itertools?expand=0&rev=2
This commit is contained in:
commit
6dcea6271e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a747ea689afdbd802740a0f9bfa737a04ca4479ecfa3e9a7c680ce84a0ae2c97
|
|
||||||
size 11604
|
|
3
jaraco.itertools-4.4.1.tar.gz
Normal file
3
jaraco.itertools-4.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d1380ed961c9a4724f0bcca85d2bffebaa2507adfde535d5ee717441c9105fae
|
||||||
|
size 18955
|
@ -1,3 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 09:32:46 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove bcond_with test, allowing tests suite to run
|
||||||
|
- Add LICENSE
|
||||||
|
- Compile manually due to switch to pkgutil namespace technique
|
||||||
|
- Set minimum version more-itertools >= 4.0.0
|
||||||
|
- Update to v4.4.1
|
||||||
|
* Fixed issue in ``collate_revs`` when objects being merged were non-True
|
||||||
|
- from 4.4
|
||||||
|
* Add ``collate_revs`` and ``partition_dict``
|
||||||
|
- from 4.3
|
||||||
|
* Nicer error message in ``assert_ordered`` when the assertion fails.
|
||||||
|
Now reports the full supplied items and not just the keys in the errors.
|
||||||
|
When ``<`` or ``>`` are used, the error message renders more directly.
|
||||||
|
- from 4.2
|
||||||
|
* The ``duplicates`` function now takes an arbitrary number of iterables
|
||||||
|
* Added ``assert_ordered`` function
|
||||||
|
- from 4.1
|
||||||
|
* Added ``duplicates`` function
|
||||||
|
- from 4.0.0
|
||||||
|
* Switch to pkgutil namespace technique for the ``jaraco`` namespace
|
||||||
|
- from 3.0.0
|
||||||
|
* Refreshed project metadata, now built using declarative config.
|
||||||
|
Installation from sdist now requires setuptools 34.4.
|
||||||
|
- from 2.5.2
|
||||||
|
* Fix deprecation warning in ``always_iterable``
|
||||||
|
* Leverage base_type parameter in ``more_itertools.always_iterable``
|
||||||
|
- from 2.5.1
|
||||||
|
* Set stacklevel in deprecated functions for better visibility of the call.
|
||||||
|
- from 2.5
|
||||||
|
* Added new ``maybe_single`` function
|
||||||
|
* Deprecated ``list_or_iterable`` in favor of ``maybe_single``
|
||||||
|
- from 2.4
|
||||||
|
* Deprecated ``flatten`` and ``iflatten`` in favor of
|
||||||
|
``more_itertools.collapse``. Deprecated ``iterable_test``,
|
||||||
|
only used by deprecated functions.
|
||||||
|
* Bump dependency on more_itertools 4.0.0.
|
||||||
|
- from 2.3
|
||||||
|
* Added ``self_product``.
|
||||||
|
- from 2.2
|
||||||
|
* ``first`` now accepts a default value, same as ``next``.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 13 18:26:17 UTC 2017 - toddrme2178@gmail.com
|
Mon Nov 13 18:26:17 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jaraco.itertools
|
# spec file for package python-jaraco.itertools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,36 +12,31 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_with test
|
|
||||||
Name: python-jaraco.itertools
|
Name: python-jaraco.itertools
|
||||||
Version: 2.0.1
|
Version: 4.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools to work with iterables
|
Summary: Tools to work with iterables
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/jaraco/jaraco.itertools
|
Url: https://github.com/jaraco/jaraco.itertools
|
||||||
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.itertools/jaraco.itertools-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.itertools/jaraco.itertools-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module inflect}
|
||||||
BuildRequires: %{python_module jaraco.base}
|
BuildRequires: %{python_module jaraco.base >= 6.1}
|
||||||
|
BuildRequires: %{python_module more-itertools >= 4.0.0}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module inflect}
|
|
||||||
BuildRequires: %{python_module more-itertools}
|
|
||||||
BuildRequires: %{python_module pytest-runner}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
%endif
|
|
||||||
Requires: python-jaraco.base
|
|
||||||
Requires: python-inflect
|
Requires: python-inflect
|
||||||
Requires: python-more-itertools
|
Requires: python-jaraco.base >= 6.1
|
||||||
|
Requires: python-more-itertools >= 4.0.0
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -53,26 +48,28 @@ Complements itertools and more_itertools.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jaraco.itertools-%{version}
|
%setup -q -n jaraco.itertools-%{version}
|
||||||
sed -i -e "s/'pytest_runner'/'pytest-runner'/" setup.py
|
sed -i 's/--flake8//' pytest.ini
|
||||||
rm -rf jaraco.itertools.egg-info
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
# We aren't using the nspkg approach anymore
|
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/jaraco.itertools-%{version}-py*-nspkg.pth
|
%{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}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_expand py.test-%{$python_bin_suffix}
|
%{python_expand py.test-%{$python_bin_suffix} \
|
||||||
%endif
|
--ignore=_build.python2 --ignore=_build.python3
|
||||||
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc docs/*.rst README.rst CHANGES.rst
|
%doc docs/*.rst README.rst CHANGES.rst
|
||||||
%{python_sitelib}/jaraco.itertools-%{version}-py*.egg-info
|
%{python_sitelib}/jaraco.itertools-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/jaraco/itertools.py*
|
%{python_sitelib}/jaraco/itertools.py*
|
||||||
|
Loading…
Reference in New Issue
Block a user