2013-10-21 13:54:37 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-toolz
|
|
|
|
#
|
2015-03-03 19:09:41 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-10-21 13:54:37 +02:00
|
|
|
#
|
|
|
|
# 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-toolz
|
2015-08-31 13:56:30 +02:00
|
|
|
Version: 0.7.4
|
2013-10-21 13:54:37 +02:00
|
|
|
Release: 0
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Summary: List processing tools and functional utilities for python
|
|
|
|
Url: http://github.com/pytoolz/toolz/
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
Source: https://pypi.python.org/packages/source/t/toolz/toolz-%{version}.tar.gz
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
%else
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
A set of python utility functions for iterators, functions, and dictionaries.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n toolz-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitelib}/toolz/
|
|
|
|
%{python_sitelib}/toolz-%{version}-py*.egg-info/
|
|
|
|
|
|
|
|
%changelog
|