15
0

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
This commit is contained in:
Todd R
2018-05-03 06:28:21 +00:00
committed by Git OBS Bridge
commit fae0476cd1
5 changed files with 173 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
cytoolz-0.9.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84cc06fa40aa310f2df79dd440fc5f84c3e20f01f9f7783fc9c38d0a11ba00e5
size 443434

87
python-cytoolz.changes Normal file
View File

@@ -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

59
python-cytoolz.spec Normal file
View File

@@ -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