commit 22f50cb42bff76f8af9a74f6ed0e3d8688e7c2ae3e49d4261a737ad128de3109 Author: Dirk Mueller Date: Sun Aug 7 12:17:06 2016 +0000 Accepting request 416583 from home:XRevan86 OBS-URL: https://build.opensuse.org/request/show/416583 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.itertools?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jaraco.itertools-1.7.1.tar.gz b/jaraco.itertools-1.7.1.tar.gz new file mode 100644 index 0000000..f1781de --- /dev/null +++ b/jaraco.itertools-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf5c7bf22c930a0c5942e0850166b10c77bbb6286117ac2c619c78c86db97d7b +size 10224 diff --git a/python-jaraco.itertools.changes b/python-jaraco.itertools.changes new file mode 100644 index 0000000..fc81935 --- /dev/null +++ b/python-jaraco.itertools.changes @@ -0,0 +1,91 @@ +------------------------------------------------------------------- +Tue Aug 2 13:24:18 UTC 2016 - sor.alexei@meowr.ru + +- Switch to Python2. + +------------------------------------------------------------------- +Thu Jun 9 16:53:48 UTC 2016 - toddrme2178@gmail.com + +- Remove unneeded python3-Sphinx dependency. + +------------------------------------------------------------------- +Sun May 8 07:09:12 UTC 2016 - arun@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + +------------------------------------------------------------------- +Tue Dec 29 19:52:19 UTC 2015 - arun@gmx.de + +- specfile: + * replace hgtools with setuptools_scm + * update requiremenst according to setup.py + * .txt -> *.rst in %doc + +- update to version 1.7.1: + * Fix failing tests on Python 2. + +------------------------------------------------------------------- +Sun Nov 22 00:59:28 UTC 2015 - arun@gmx.de + +- specfile: + * fix typo in setup.py via sed command + +- update to version 1.7: + * Moved hosting to github. + +- changes from version 1.6: + * Releases now include wheels. + +------------------------------------------------------------------- +Mon Nov 2 11:32:41 UTC 2015 - toddrme2178@gmail.com + +- Fix conflicts with other jaraco packages. + +------------------------------------------------------------------- +Mon Nov 2 10:02:57 UTC 2015 - toddrme2178@gmail.com + +- Enable unit tests. + +------------------------------------------------------------------- +Mon Nov 2 09:56:06 UTC 2015 - toddrme2178@gmail.com + +- Fix spec file name. + +------------------------------------------------------------------- +Thu Oct 29 15:47:16 UTC 2015 - arun@gmx.de + +- update to version 1.5.1: + * Peekable also accepts an iterable. + * Fix test failure on Python 2 + * Added some doctests for bisect and corrected docstring to match + implementation. + +- change from version 1.5.0: + * Add takewhile_peek function. + +------------------------------------------------------------------- +Sat Aug 1 20:49:10 UTC 2015 - arun@gmx.de + +- specfile: + * moved from zip to tar.gz + +- update to version 1.4: + * Add list_or_single function. + +------------------------------------------------------------------- +Sun Mar 8 17:24:02 UTC 2015 - arun@gmx.de + +- update to version 1.3: + * Add apply to apply a function to an iterable, but yield the original items. + +------------------------------------------------------------------- +Sun Feb 22 20:46:06 UTC 2015 - arun@gmx.de + +- update to version 1.2: + * Make pytest_runner and sphinx optionally required. + +------------------------------------------------------------------- +Sat Feb 14 21:01:37 UTC 2015 - arun@gmx.de + +- initial version diff --git a/python-jaraco.itertools.spec b/python-jaraco.itertools.spec new file mode 100644 index 0000000..e18bc86 --- /dev/null +++ b/python-jaraco.itertools.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-jaraco.itertools +# +# Copyright (c) 2016 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-jaraco.itertools +Version: 1.7.1 +Release: 0 +Summary: jaraco.itertools Tools for working 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: 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 +Requires: python-inflect +Requires: python-more-itertools +Requires: python-six +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +jaraco.itertools Tools for working with iterables. +Complements itertools and more_itertools. + +%prep +%setup -q -n jaraco.itertools-%{version} +sed -i -e "s/'pytest_runner'/'pytest-runner'/" setup.py + +%build +python2 setup.py build + +%install +python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot} + +%check +python2 setup.py test + +%files +%defattr(-,root,root) +%doc docs/*.rst README.rst CHANGES.rst +%{python_sitelib}/* + +%changelog