forked from pool/python-uncertainties
Accepting request 817313 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/817313 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uncertainties?expand=0&rev=8
This commit is contained in:
commit
29b5d82361
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 24 17:13:28 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
- Update to 3.1.4
|
||||||
|
* There is now a single code base for Python 2 and Python 3.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 16 15:57:12 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
Fri Aug 16 15:57:12 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-uncertainties
|
# spec file for package python-uncertainties
|
||||||
#
|
#
|
||||||
# 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,23 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-uncertainties
|
Name: python-uncertainties
|
||||||
Version: 3.1.2
|
Version: 3.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Uncertainties on the Quantities Involved (aka "Error Propagation")
|
Summary: Uncertainties on the Quantities Involved (aka "Error Propagation")
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/lebigot/uncertainties/
|
URL: https://github.com/lebigot/uncertainties/
|
||||||
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module future}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module numpy}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module testsuite}
|
||||||
|
BuildRequires: %{python_module tools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-testsuite
|
|
||||||
BuildRequires: python3-tools
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Requires: python-future
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Recommends: python-numpy
|
Recommends: python-numpy
|
||||||
%endif
|
%endif
|
||||||
@ -45,9 +47,6 @@ involving numbers with uncertainties can also be evaluated directly.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n uncertainties-%{version}
|
%setup -q -n uncertainties-%{version}
|
||||||
# crazy directory layout
|
|
||||||
rm -r uncertainties-py23
|
|
||||||
mv uncertainties-py27 uncertainties
|
|
||||||
sed -i -e '/^#!\//, 1d' uncertainties/1to2.py
|
sed -i -e '/^#!\//, 1d' uncertainties/1to2.py
|
||||||
sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
|
sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ba07c17a8a78cb58a47cd373079c7ea459f8b26cd474e29163b6ba0d72856a1e
|
|
||||||
size 232577
|
|
3
uncertainties-3.1.4.tar.gz
Normal file
3
uncertainties-3.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63548a94899f2a51eeb89b640f6ac311f481a8016b37dce157186e44619bc968
|
||||||
|
size 148897
|
Loading…
Reference in New Issue
Block a user