diff --git a/LICENSE.mit b/LICENSE.mit deleted file mode 100644 index 174b947..0000000 --- a/LICENSE.mit +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Andreas Kloeckner - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/python-pytools.changes b/python-pytools.changes index 21ff344..9e714b1 100644 --- a/python-pytools.changes +++ b/python-pytools.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Jun 11 10:26:02 UTC 2017 - mpluskal@suse.com + +- Update to version 2017.3 + * No changelog available + +------------------------------------------------------------------- +Sat Mar 4 10:20:56 UTC 2017 - mpluskal@suse.com + +- Update to version 2016.2.6 + * No changelog available +- Convert to python singlespec + ------------------------------------------------------------------- Thu Feb 4 14:01:28 UTC 2016 - mpluskal@suse.com diff --git a/python-pytools.spec b/python-pytools.spec index 047dcb8..caf26b7 100644 --- a/python-pytools.spec +++ b/python-pytools.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytools # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,31 +16,25 @@ # -%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 Name: python-pytools -Version: 2016.1 +Version: 2017.3 Release: 0 Summary: A collection of tools for Python License: MIT Group: Development/Languages/Python -Url: http://pypi.python.org/pypi/pytools -Source0: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz -Source1: LICENSE.mit -BuildRequires: python-appdirs >= 1.4.0 -BuildRequires: python-decorator >= 3.2.0 -BuildRequires: python-devel -BuildRequires: python-numpy >= 1.6.0 -BuildRequires: python-setuptools -BuildRequires: python-six >= 1.8.0 -Requires: python-appdirs >= 1.4.0 -Requires: python-decorator >= 3.2.0 -Requires: python-numpy >= 1.6.0 -Requires: python-six >= 1.8.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: https://pypi.python.org/pypi/pytools +Source0: https://files.pythonhosted.org/packages/source/p/pytools/pytools-%{version}.tar.gz +BuildRequires: %{python_module appdirs} +BuildRequires: %{python_module base} +BuildRequires: %{python_module decorator} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages %description Pytools is a big bag of things that are "missing" from the Python standard library. @@ -57,20 +51,20 @@ nonetheless, here's what's on offer: %prep %setup -q -n pytools-%{version} -cp %{SOURCE1} . %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%fdupes %{buildroot} %check -python setup.py test +python2 setup.py test -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README LICENSE.mit +%doc README LICENSE %{python_sitelib}/* %changelog diff --git a/pytools-2016.1.tar.gz b/pytools-2016.1.tar.gz deleted file mode 100644 index 6ddab1e..0000000 --- a/pytools-2016.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:084feeb68171fc36ddb40f27c4ad5b60d3596716a5f3ad3523257a0d27a351cc -size 47498 diff --git a/pytools-2017.3.tar.gz b/pytools-2017.3.tar.gz new file mode 100644 index 0000000..e27f093 --- /dev/null +++ b/pytools-2017.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fdb3f4564c3b89401975eed886f8f8ac87c46fe20c21b69ae830711719ecaca +size 50600