forked from pool/python-pytools
Accepting request 786803 from home:pgajdos:python
- version update to 2020.1 + No upstream changelog available OBS-URL: https://build.opensuse.org/request/show/786803 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=24
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 20 09:59:31 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 2020.1
|
||||||
|
+ No upstream changelog available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 14 18:44:58 UTC 2019 - John Jolly <jjolly@suse.com>
|
Tue May 14 18:44:58 UTC 2019 - John Jolly <jjolly@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytools
|
# spec file for package python-pytools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,21 +18,26 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytools
|
Name: python-pytools
|
||||||
Version: 2019.1.1
|
Version: 2020.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A collection of tools for Python
|
Summary: A collection of tools for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pypi.python.org/pypi/pytools
|
URL: https://pypi.python.org/pypi/pytools
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pytools/pytools-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pytools/pytools-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module appdirs} >= 1.4.0
|
BuildRequires: %{python_module appdirs >= 1.4.0}
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module base}
|
||||||
BuildRequires: %{python_module decorator} >= 3.2.0
|
BuildRequires: %{python_module decorator >= 3.2.0}
|
||||||
BuildRequires: %{python_module numpy} >= 1.6.0
|
BuildRequires: %{python_module numpy >= 1.6.0}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six} >= 1.8.0
|
BuildRequires: %{python_module six >= 1.8.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-appdirs >= 1.4.0
|
||||||
|
BuildRequires: python-decorator >= 3.2.0
|
||||||
|
BuildRequires: python-numpy >= 1.6.0
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python-six >= 1.8.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -57,13 +62,13 @@ nonetheless, here's what's on offer:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# The tests are successful when run only with python2.
|
# The tests are successful when run only with python2.
|
||||||
# When run with python3, the tests require mpi4py and all the
|
# When run with python3, the tests require mpi4py and all the
|
||||||
# necessary libraries and configuration that comes with MPI.
|
# necessary libraries and configuration that comes with MPI.
|
||||||
python2 setup.py test
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ce2d702ae4ef10a70197b00b93141461140d00578f2a862fa946ca1446a300db
|
|
||||||
size 58352
|
|
3
pytools-2020.1.tar.gz
Normal file
3
pytools-2020.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c132d17855584ad61c6e00f3ff11146499755944afc400cce9eae0ecf03d04a6
|
||||||
|
size 60662
|
Reference in New Issue
Block a user