From 19e2a436c53dacbe8745c1e64da180d7747bcaa46bbf7737ec28243fc4210f0d Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 19 Apr 2017 02:34:06 +0000 Subject: [PATCH] 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 --- python-toolz.changes | 7 +++++++ python-toolz.spec | 27 +++++++++++++++------------ toolz-0.7.4.tar.gz | 3 --- toolz-0.8.2.tar.gz | 3 +++ 4 files changed, 25 insertions(+), 15 deletions(-) delete mode 100644 toolz-0.7.4.tar.gz create mode 100644 toolz-0.8.2.tar.gz diff --git a/python-toolz.changes b/python-toolz.changes index a498c90..5282908 100644 --- a/python-toolz.changes +++ b/python-toolz.changes @@ -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 diff --git a/python-toolz.spec b/python-toolz.spec index 90bb012..323fe2c 100644 --- a/python-toolz.spec +++ b/python-toolz.spec @@ -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 diff --git a/toolz-0.7.4.tar.gz b/toolz-0.7.4.tar.gz deleted file mode 100644 index 040a7b5..0000000 --- a/toolz-0.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd -size 29155 diff --git a/toolz-0.8.2.tar.gz b/toolz-0.8.2.tar.gz new file mode 100644 index 0000000..3cd13a7 --- /dev/null +++ b/toolz-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a13c90c426001d6299c5568cf5b98e095df9c985df194008a67f84ef4fc6c50 +size 45486