forked from pool/python-numericalunits
Accepting request 616815 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/616815 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numericalunits?expand=0&rev=1
This commit is contained in:
commit
3e9514362b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
7
LICENSE.txt
Normal file
7
LICENSE.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Copyright © 2012 Steven Byrnes
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
3
numericalunits-1.21-py2.py3-none-any.whl
Normal file
3
numericalunits-1.21-py2.py3-none-any.whl
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6e519e534ae37daf9db8c81075f40e0e1f1bbf6786768fdda35fd7d25a837be
|
||||
size 18095
|
32
python-numericalunits.changes
Normal file
32
python-numericalunits.changes
Normal file
@ -0,0 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 10 23:50:31 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Use noun phrase in summary.
|
||||
- Trim long description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 7 18:02:04 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Fix source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 17:35:56 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 1.21
|
||||
* add easier-to-read unicode aliases for ohms (Ω, mΩ, kΩ, etc.)
|
||||
and a few more constants (μ0, ε0, σSB, αFS).
|
||||
(note that unicode identifiers only work in Python 3)
|
||||
* add rtHz, rpm, rpm·2π
|
||||
- Spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 16:45:07 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version
|
||||
- Update to version 1.17
|
||||
* See changelog at https://github.com/sbyrnes321/numericalunits/blob/8a6d263c80db726989eaf7b67a1661456746d6db/Changes.txt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 13:29:08 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
- Initial version (1.13)
|
65
python-numericalunits.spec
Normal file
65
python-numericalunits.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package python-numericalunits
|
||||
#
|
||||
# Copyright (c) 2018 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-numericalunits
|
||||
Version: 1.21
|
||||
Release: 0
|
||||
Summary: Python module for defining quantities with units
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/numericalunits
|
||||
Source: https://files.pythonhosted.org/packages/3.6/n/numericalunits/numericalunits-%{version}-py2.py3-none-any.whl
|
||||
Source10: https://raw.githubusercontent.com/sbyrnes321/numericalunits/8a6d263c80db726989eaf7b67a1661456746d6db/LICENSE.txt
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
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
|
||||
way with unique advantages:
|
||||
|
||||
* Compatible with everything
|
||||
* Zero storage overhead
|
||||
* Zero calculation overhead
|
||||
|
||||
%prep
|
||||
%setup -T -c -n numericalunits-%{version}
|
||||
cp %{SOURCE10} .
|
||||
|
||||
%build
|
||||
# Not needed
|
||||
|
||||
%install
|
||||
%python_expand pip%{$python_bin_suffix} install --root %{buildroot} %{SOURCE0}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# todo
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user