Accepting request 508204 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508204 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.itertools?expand=0&rev=2
This commit is contained in:
parent
22f50cb42b
commit
6f2c17dffa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf5c7bf22c930a0c5942e0850166b10c77bbb6286117ac2c619c78c86db97d7b
|
||||
size 10224
|
3
jaraco.itertools-2.0.1.tar.gz
Normal file
3
jaraco.itertools-2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a747ea689afdbd802740a0f9bfa737a04ca4479ecfa3e9a7c680ce84a0ae2c97
|
||||
size 11604
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 18:21:32 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Update to version 2.0.1
|
||||
* Refresh package.
|
||||
2.0:
|
||||
* In ``always_iterable``, mappings are now considered
|
||||
singletons. It seems that the way ``always_iterable``
|
||||
is generally used, one wouldn't expect to only iterate
|
||||
on a mapping, but there are cases where a dictionary
|
||||
should behave like a singleton object.
|
||||
1.8:
|
||||
* Deprecated ``infiniteCall`` and replaced it with
|
||||
``infinite_call`` which only takes a single argument
|
||||
(the function to call).
|
||||
|
||||
- Converted to single-spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 13:24:18 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jaraco.itertools
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,28 +16,31 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-jaraco.itertools
|
||||
Version: 1.7.1
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: jaraco.itertools Tools for working with iterables
|
||||
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}
|
||||
BuildRequires: %{python_module inflect}
|
||||
BuildRequires: %{python_module more-itertools}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-inflect
|
||||
BuildRequires: python-more-itertools
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-pytest-runner
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-setuptools_scm
|
||||
BuildRequires: python-six
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-inflect
|
||||
Requires: python-more-itertools
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
jaraco.itertools Tools for working with iterables.
|
||||
@ -46,18 +49,19 @@ Complements itertools and more_itertools.
|
||||
%prep
|
||||
%setup -q -n jaraco.itertools-%{version}
|
||||
sed -i -e "s/'pytest_runner'/'pytest-runner'/" setup.py
|
||||
rm -rf jaraco.itertools.egg-info
|
||||
|
||||
%build
|
||||
python2 setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
python2 setup.py test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc docs/*.rst README.rst CHANGES.rst
|
||||
%{python_sitelib}/*
|
||||
|
Loading…
Reference in New Issue
Block a user