Accepting request 582170 from devel:languages:python
- update to version 3.2.0 * no changelog available - remove check boundary condition - use %license macro - convert to singlespec and deactivate python2 - use fdupes - Initial version OBS-URL: https://build.opensuse.org/request/show/582170 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gsw?expand=0&rev=1
This commit is contained in:
commit
b89ff509e6
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
|
3
gsw-3.2.0.tar.gz
Normal file
3
gsw-3.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bab7b7ed0ebec73f8647f7c02e6c9e8754fc322264f4d271b1461da923f60033
|
||||||
|
size 4697891
|
72
gsw_licence.html
Normal file
72
gsw_licence.html
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html><head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<title>GSW Toolbox licence</title>
|
||||||
|
<style type="text/css">
|
||||||
|
body {
|
||||||
|
background-color: white;
|
||||||
|
margin:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #990000;
|
||||||
|
font-size: x-large;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #990000;
|
||||||
|
font-size: medium;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,h1,h2,div.content div {
|
||||||
|
max-width: 600px;
|
||||||
|
width: auto !important; width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.codeinput {
|
||||||
|
background: #EEEEEE;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
pre.codeinput {word-wrap:break-word; width:100%;}
|
||||||
|
}
|
||||||
|
|
||||||
|
span.keyword {color: #0000FF}
|
||||||
|
span.comment {color: #228B22}
|
||||||
|
span.string {color: #A020F0}
|
||||||
|
span.untermstring {color: #B20000}
|
||||||
|
span.syscmd {color: #B28C00}
|
||||||
|
|
||||||
|
pre.codeoutput {
|
||||||
|
color: #666666;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.error {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.footer {
|
||||||
|
text-align: right;
|
||||||
|
font-size: xx-small;
|
||||||
|
font-weight: lighter;
|
||||||
|
font-style: italic;
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style></head>
|
||||||
|
<body><div class="content">
|
||||||
|
<h1><font color="#000066">Licence for the use of the Gibbs SeaWater (GSW) Oceanographic Toolbox</font></h1>
|
||||||
|
<font face="Georgia" size="4"><p>
|
||||||
|
Copyright (c) 2011, SCOR/IAPSO WG127 (Scientific Committee on Oceanic Research/ International Association for the Physical Sciences of the Oceans, Working Group 127).</p>
|
||||||
|
<p>All rights reserved.</p>
|
||||||
|
<p>Redistribution and use, in source and binary forms, without modification, is permitted provided that the following conditions are met:</p>
|
||||||
|
<p>• Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</p>
|
||||||
|
<p>• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</p>
|
||||||
|
<p>• Neither the name of SCOR/IAPSO WG127 nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</p>
|
||||||
|
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
|
||||||
|
|
||||||
|
<p>The software is available from <a href="http://www.TEOS-10.org" title="TEOS-10 web site">http://www.TEOS-10.org</a></p>
|
||||||
|
</font></div></body></html>
|
14
python-gsw.changes
Normal file
14
python-gsw.changes
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 2 20:02:11 UTC 2018 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- update to version 3.2.0
|
||||||
|
* no changelog available
|
||||||
|
- remove check boundary condition
|
||||||
|
- use %license macro
|
||||||
|
- convert to singlespec and deactivate python2
|
||||||
|
- use fdupes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 12 15:25:08 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
68
python-gsw.spec
Normal file
68
python-gsw.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-gsw
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# Note: this package is python3-only. There is a python2-compatible
|
||||||
|
# version in the python2-gsw package.
|
||||||
|
|
||||||
|
# Tests are not included in the source tarball
|
||||||
|
%define skip_python2 1
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-gsw
|
||||||
|
Version: 3.2.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Gibbs Seawater Oceanographic Package of TEOS-10
|
||||||
|
# Note: Python code is MIT licensed
|
||||||
|
# C-code IS BSD-3-Clause licensed (see src/c_gsw/LICENSE)
|
||||||
|
# MATLAB function names and documentation are BSD-3-Clause licensed (see http://teos-10.org/pubs/gsw/html/gsw_licence.html)
|
||||||
|
License: MIT AND BSD-3-Clause
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: https://github.com/TEOS-10/GSW-python
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/g/gsw/gsw-%{version}.tar.gz
|
||||||
|
Source1: http://teos-10.org/pubs/gsw/html/gsw_licence.html
|
||||||
|
BuildRequires: %{python_module devel >= 3.5}
|
||||||
|
BuildRequires: %{python_module numpy-devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
# SECTION tests
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
|
Requires: python-numpy
|
||||||
|
%{python_subpackages}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Python implementation of the Thermodynamic Equation of
|
||||||
|
Seawater 2010 (TEOS-10).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n gsw-%{version}
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%{python_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{python_install}
|
||||||
|
%{python_expand %fdupes %{buildroot}%{$python_sitearch}}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%doc LICENSE src/c_gsw/LICENSE gsw_licence.html
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user