forked from pool/python-uncertainties
Accepting request 707107 from devel:languages:python:numeric
- Update to 3.1.1: * No upstream changelog provided OBS-URL: https://build.opensuse.org/request/show/707107 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uncertainties?expand=0&rev=5
This commit is contained in:
commit
23575491e1
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 09:24:16 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 3.1.1:
|
||||
* No upstream changelog provided
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 30 03:02:29 UTC 2018 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-uncertainties
|
||||
#
|
||||
# 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
|
||||
@ -18,16 +18,21 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-uncertainties
|
||||
Version: 3.0.3
|
||||
Version: 3.1.1
|
||||
Release: 0
|
||||
Summary: Uncertainties on the Quantities Involved (aka "Error Propagation")
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://pythonhosted.org/uncertainties/
|
||||
URL: https://github.com/lebigot/uncertainties/
|
||||
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Package uses 2to3 to generate python3 compatible code
|
||||
BuildRequires: python3-testsuite
|
||||
BuildRequires: python3-tools
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version}
|
||||
Recommends: python-numpy
|
||||
@ -41,12 +46,19 @@ involving numbers with uncertainties can also be evaluated directly.
|
||||
|
||||
%prep
|
||||
%setup -q -n uncertainties-%{version}
|
||||
# crazy directory layout
|
||||
rm -r uncertainties-py23
|
||||
mv uncertainties-py27 uncertainties
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py nosetests -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a98e2d115ce3beacf9e6a33dd10e602b44c16d29a3a43884ec69606c204e0c2
|
||||
size 232249
|
3
uncertainties-3.1.1.tar.gz
Normal file
3
uncertainties-3.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18b184110cbe31303d25a7bc7f73d51b9cb4e15563cb9aa25ccfbd0ebe07d448
|
||||
size 232231
|
Loading…
Reference in New Issue
Block a user