1
0

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:
Dominique Leuenberger 2020-06-27 21:22:40 +00:00 committed by Git OBS Bridge
commit 29b5d82361
4 changed files with 15 additions and 10 deletions

View File

@ -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>

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -18,21 +18,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-uncertainties
Version: 3.1.2
Version: 3.1.4
Release: 0
Summary: Uncertainties on the Quantities Involved (aka "Error Propagation")
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/lebigot/uncertainties/
Source: https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
BuildRequires: %{python_module future}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module tools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
BuildRequires: python3-tools
BuildArch: noarch
Requires: python-future
%if 0%{?suse_version}
Recommends: python-numpy
%endif
@ -45,9 +47,6 @@ 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
sed -i -e '/^#!\//, 1d' uncertainties/1to2.py
sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba07c17a8a78cb58a47cd373079c7ea459f8b26cd474e29163b6ba0d72856a1e
size 232577

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63548a94899f2a51eeb89b640f6ac311f481a8016b37dce157186e44619bc968
size 148897