1
0

Accepting request 705189 from home:jayvdb:py-wheels

Update to v1.23

OBS-URL: https://build.opensuse.org/request/show/705189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numericalunits?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2019-05-24 11:53:58 +00:00 committed by Git OBS Bridge
parent a7133bb972
commit de5d8de72e
4 changed files with 19 additions and 7 deletions

View File

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

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri May 24 08:00:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Run dos2unix on source file which changed to DOS format
- Update to v1.23
* add a smoke test
* drop support except 2.7+ and 3.4+
* random initializations now span more orders of magnitude
* update to latest CODATA
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 20 01:13:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Mon May 20 01:13:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -18,15 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-numericalunits Name: python-numericalunits
Version: 1.22 Version: 1.23
Release: 0 Release: 0
Summary: Python module for defining quantities with units Summary: Python module for defining quantities with units
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/numericalunits Url: https://github.com/sbyrnes321/numericalunits
Source: https://github.com/sbyrnes321/numericalunits/archive/numericalunits-%{version}.tar.gz#/numericalunits-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/n/numericalunits/numericalunits-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/sbyrnes321/numericalunits/master/tests/tests.py Source1: https://raw.githubusercontent.com/sbyrnes321/numericalunits/master/tests/tests.py
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@ -44,7 +45,8 @@ way with unique advantages:
* Zero calculation overhead * Zero calculation overhead
%prep %prep
%setup -q -n numericalunits-numericalunits-%{version} %setup -q -n numericalunits-%{version}
dos2unix numericalunits.py
cp %{SOURCE1} . cp %{SOURCE1} .
%build %build