1
0

Accepting request 752673 from home:apersaud:branches:devel:languages:python:numeric

update to latest version

OBS-URL: https://build.opensuse.org/request/show/752673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numericalunits?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2019-12-02 07:39:05 +00:00 committed by Git OBS Bridge
parent de5d8de72e
commit 5853f6424f
5 changed files with 20 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Dec 1 03:32:39 UTC 2019 - Arun Persaud <arun@gmx.de>
- specfile:
- disable python2
- update to version 1.24:
* drop support for python 2
* update to latest CODATA
* add more acceleration-related units.
-------------------------------------------------------------------
Fri May 24 08:00:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-numericalunits
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-numericalunits
Version: 1.23
Version: 1.24
Release: 0
Summary: Python module for defining quantities with units
License: MIT
Group: Development/Languages/Python
Url: https://github.com/sbyrnes321/numericalunits
URL: https://github.com/sbyrnes321/numericalunits
Source: https://files.pythonhosted.org/packages/source/n/numericalunits/numericalunits-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/sbyrnes321/numericalunits/master/tests/tests.py
BuildRequires: %{python_module setuptools}
@ -31,13 +32,12 @@ BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Units and dimensional analysis compatible with everything
This package implements units and dimensional analysis in an unconventional
This package implements units and dimensional analysis in an unconventional
way with unique advantages:
* Compatible with everything

View File

@ -17,7 +17,7 @@ class TestStuff(unittest.TestCase):
def test_everything(self):
"""just some very basic smoke tests"""
# example from README
# example from README
x = 5 * nu.mL
self.assert_almost_equal(x, 5e21 * nu.nm**3, rtol=1e-9)