commit fae0476cd1e6e6c6cf0c90c4fd586e86b8a1faf0dec626068712ef6d7b791a8b Author: Todd R Date: Thu May 3 06:28:21 2018 +0000 Accepting request 603500 from devel:languages:python:misc An optimized version of python-toolz that many packages that depend on python-toolz will use if it is available. OBS-URL: https://build.opensuse.org/request/show/603500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cytoolz?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/cytoolz-0.9.0.1.tar.gz b/cytoolz-0.9.0.1.tar.gz new file mode 100644 index 0000000..b05c4c5 --- /dev/null +++ b/cytoolz-0.9.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84cc06fa40aa310f2df79dd440fc5f84c3e20f01f9f7783fc9c38d0a11ba00e5 +size 443434 diff --git a/python-cytoolz.changes b/python-cytoolz.changes new file mode 100644 index 0000000..60d940c --- /dev/null +++ b/python-cytoolz.changes @@ -0,0 +1,87 @@ +------------------------------------------------------------------- +Thu May 3 06:22:28 UTC 2018 - toddrme2178@gmail.com + +- Update to version 0.9.0.1 + * do not worry abount having good introspection on breakpoint + * Backport fix to a test from cytoolz. + * A slightly faster interposed. + * Don't import or reference `toolz.curried.exceptions`. + +------------------------------------------------------------------- +Tue Jan 30 10:08:54 UTC 2018 - guigo.lourenco@hotmail.com + +- Add missing requires. + +------------------------------------------------------------------- +Sat Apr 15 11:55:43 UTC 2017 - toddrme2178@gmail.com + +- Update to 0.8.2 + * No upstream changelog +- Implement single-spec version + +------------------------------------------------------------------- +Mon Aug 31 09:44:10 UTC 2015 - toddrme2178@gmail.com + +- update to version 0.7.3 (taken from git log): + * Add factory keyword functionality to dicttoolz. + * Add diff and prepare for "factory" keyword argument in dictoolz. + * Merge pull request #64 from eriknw/fix/pluck_memleak + * Fix memory leak in curry. + * This is one way to fix the memory leak in #63. + * Merge pull request #59 from eriknw/topk + * Merge pull request #58 from eriknw/stricter_dev_tests + * Add topk. + * Don't require nose to run tests (including dev tests). + * Make running dev tests comparing toolz to cytoolz more strict. + +------------------------------------------------------------------- +Wed May 20 13:55:37 UTC 2015 - toddrme2178@gmail.com + +- specfile: + * added toolz requirement + (only needed for testing, which is currently not enabled) + +- update to version 0.7.2 (taken from git log): + * ship tests with code + * clean up build + * relative import + * Use absolute imports in pyx files to support Cython 0.17 and later. + * Fix merge_sorted with key function (see #55). + * better support for 3.4 + + +------------------------------------------------------------------- +Tue Mar 3 18:00:39 UTC 2015 - toddrme2178@gmail.com + +- Update to 0.7.1 + * Test `nth` with negative index on sequence and iterator. + * Add itemmap, itemfilter to api doc. + * Add `itemmap` and `itemfilter` to `dicttoolz`. + * binstar: add more platforms/versions + * add tail to itertoolz.__all__ + * take, drop, tail refer to each other in docstrings + * test tail in lazy setting + * fix tail doctest + * last is a recipe of tail + * add tail operation + * pep8 space error fix + * Identity doc string + * add dissoc function to dictoolz + * Describe the ideal contribution + * reduceby takes callable init keyword argument + * Add pypy3 to build matrix + * getter works in empty index case + * simpler check on index in get + * get([], seq) returns () + +------------------------------------------------------------------- +Thu Sep 11 13:45:15 UTC 2014 - toddrme2178@gmail.com + +- Update to 0.7.0 + * No upstream changelog + +------------------------------------------------------------------- +Fri May 30 14:18:58 UTC 2014 - toddrme2178@gmail.com + +- initial version + diff --git a/python-cytoolz.spec b/python-cytoolz.spec new file mode 100644 index 0000000..a0eed54 --- /dev/null +++ b/python-cytoolz.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-cytoolz +# +# Copyright (c) 2018 SUSE LINUX Products 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-cytoolz +Version: 0.9.0.1 +Release: 0 +Summary: High performance python functional utilities in Cython +License: BSD-3-Clause +Group: Development/Languages/Python +Url: https://github.com/pytoolz/cytoolz +Source: https://files.pythonhosted.org/packages/source/c/cytoolz/cytoolz-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module toolz} +Requires: python-toolz +%python_subpackages + +%description +Cython implementation of the toolz package, which provides high +performance utility functions for iterables, functions, and +dictionaries. + +%prep +%setup -q -n cytoolz-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%license LICENSE.txt +%{python_sitearch}/cytoolz/ +%{python_sitearch}/cytoolz-%{version}-py*.egg-info/ + +%changelog