Accepting request 489200 from home:TheBlackCat:branches:devel:languages:python

- Update to 0.8.2
- Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/489200
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=9
This commit is contained in:
Todd R 2017-04-19 02:34:06 +00:00 committed by Git OBS Bridge
parent 19f70cf3e8
commit 19e2a436c5
4 changed files with 25 additions and 15 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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 11:55:39 UTC 2015 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-toolz
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -15,22 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-toolz
Version: 0.7.4
Version: 0.8.2
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
Source: https://files.pythonhosted.org/packages/source/t/toolz/toolz-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module 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
%python_subpackages
%description
A set of python utility functions for iterators, functions, and dictionaries.
@ -39,14 +39,17 @@ A set of python utility functions for iterators, functions, and dictionaries.
%setup -q -n toolz-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%{python_sitelib}/toolz/
%{python_sitelib}/tlz/
%{python_sitelib}/toolz-%{version}-py*.egg-info/
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd
size 29155

3
toolz-0.8.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a13c90c426001d6299c5568cf5b98e095df9c985df194008a67f84ef4fc6c50
size 45486