forked from pool/python-cftime
- Update to 1.0.3.4:
* fixes for python2.7 * Various flake fixes * More tests * python 3.8 support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cftime?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
7f7893ba75
commit
83b9fd2c1e
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-cftime
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -12,13 +12,13 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cftime
|
||||
Version: 1.0.0
|
||||
Version: 1.0.3.4
|
||||
Release: 0
|
||||
Summary: Time-handling functionality from netcdf4-python
|
||||
License: MIT
|
||||
@@ -36,12 +36,13 @@ Requires: python-numpy
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Time-handling functionality from netcdf4-python
|
||||
|
||||
Time-handling functionality from netcdf4-python.
|
||||
Was split out from netcfd4-python in 2016.
|
||||
|
||||
%prep
|
||||
%setup -q -n cftime-%{version}
|
||||
# do not require cov/xdist/etc
|
||||
rm setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,9 +52,11 @@ Was split out from netcfd4-python in 2016.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" py.test-%{$python_bin_suffix}
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" py.test-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user