From 87fa551805870c7d8b9069465c6c02578ac63d5f898de63db19f25d765f57cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 09:53:19 +0000 Subject: [PATCH] - Update to 3.1.1: * No upstream changelog provided OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-uncertainties?expand=0&rev=8 --- python-uncertainties.changes | 6 ++++++ python-uncertainties.spec | 18 +++++++++++++++--- uncertainties-3.0.3.tar.gz | 3 --- uncertainties-3.1.1.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 uncertainties-3.0.3.tar.gz create mode 100644 uncertainties-3.1.1.tar.gz diff --git a/python-uncertainties.changes b/python-uncertainties.changes index 58aca92..d5976d7 100644 --- a/python-uncertainties.changes +++ b/python-uncertainties.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 3 09:24:16 UTC 2019 - Tomáš Chvátal + +- Update to 3.1.1: + * No upstream changelog provided + ------------------------------------------------------------------- Tue Oct 30 03:02:29 UTC 2018 - Arun Persaud diff --git a/python-uncertainties.spec b/python-uncertainties.spec index 30cb307..33e08a5 100644 --- a/python-uncertainties.spec +++ b/python-uncertainties.spec @@ -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 diff --git a/uncertainties-3.0.3.tar.gz b/uncertainties-3.0.3.tar.gz deleted file mode 100644 index 685715e..0000000 --- a/uncertainties-3.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a98e2d115ce3beacf9e6a33dd10e602b44c16d29a3a43884ec69606c204e0c2 -size 232249 diff --git a/uncertainties-3.1.1.tar.gz b/uncertainties-3.1.1.tar.gz new file mode 100644 index 0000000..1bb7fea --- /dev/null +++ b/uncertainties-3.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18b184110cbe31303d25a7bc7f73d51b9cb4e15563cb9aa25ccfbd0ebe07d448 +size 232231