debian/0000755000000000000000000000000012175247756007206 5ustar debian/control0000644000000000000000000000331112175247745010605 0ustar Source: gsw Section: python Priority: extra Maintainer: Alastair McKinstry Build-Depends: debhelper (>= 9), python-all, python3-all, python-numpy, python3-numpy Standards-Version: 3.9.4.0 X-Python-Version: >= 2.7 X-Python3-Version: >= 3.0 Homepage: http://pypi.python.org/pypi/gsw/ Package: python-gsw Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-numpy Description: Python implementation of the Thermodynamic Equation of Seawater This package implements the TEOS-10 Equation of State for seawater. TEOS-10 is based on a Gibbs function formulation from which all thermodynamic properties of seawater (density, enthalpy, entropy sound speed, etc.) can be derived in a thermodynamically consistent manner. TEOS-10 was adopted by the Intergovernmental Oceanographic Commission at its 25th Assembly in June 2009 to replace EOS-80 as the official description of seawater and ice properties in marine science. . For further information, see http://www.teos-10.org/ Package: python3-gsw Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3-numpy Description: Python 3 implementation of the Thermodynamic Equation of Seawater This package implements the TEOS-10 Equation of State for seawater. TEOS-10 is based on a Gibbs function formulation from which all thermodynamic properties of seawater (density, enthalpy, entropy sound speed, etc.) can be derived in a thermodynamically consistent manner. TEOS-10 was adopted by the Intergovernmental Oceanographic Commission at its 25th Assembly in June 2009 to replace EOS-80 as the official description of seawater and ice properties in marine science. . For further information, see http://www.teos-10.org/ debian/watch0000644000000000000000000000010712172030772010216 0ustar version=3 http://pypi.python.org/packages/source/g/gsw/gsw-(.+).tar.gz debian/source/0000755000000000000000000000000012172030772010467 5ustar debian/source/format0000644000000000000000000000001412172030772011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012172050062010610 5ustar debian/patches/remove-setuptools.patch0000644000000000000000000000163012172030772015353 0ustar Author: Alastair McKinstry Bug-Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709959 Description: Ensure setuptools are not used, only distutils. Forwarded: not-needed Last-Updated: 2013-05-29 Index: gsw-3.0.1/setup.py =================================================================== --- gsw-3.0.1.orig/setup.py 2013-05-23 13:18:18.000000000 +0100 +++ gsw-3.0.1/setup.py 2013-05-29 13:39:15.000000000 +0100 @@ -4,14 +4,9 @@ import os import codecs -try: - from setuptools import setup - from setuptools.command.sdist import sdist -except ImportError: - from distutils.core import setup - from distutils.command.sdist import sdist +from distutils.core import setup +from distutils.command.sdist import sdist -# TODO: find setuptools equivalent. try: # Python 3 from distutils.command.build_py import build_py_2to3 as build_py except ImportError: # Python 2 debian/patches/series0000644000000000000000000000005012172030772012026 0ustar # remove-setuptools.patch python3.patch debian/patches/python3.patch0000644000000000000000000004016412172050062013242 0ustar Author: Alastair McKinstry Description: Python3 support. Code is python2,3 neutral. Last-Updated: 2013-07-13 Forwarded: no Index: gsw-3.0.2/gsw/__init__.py =================================================================== --- gsw-3.0.2.orig/gsw/__init__.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/__init__.py 2013-07-18 21:27:50.000000000 +0100 @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -__authors__ = 'Eric Firing', u'Bjørn Ådlandsvik', 'Filipe Fernandes' +__authors__ = 'Eric Firing', 'Bjørn Ådlandsvik', 'Filipe Fernandes' __license__ = "MIT" __version__ = "3.0.2" __maintainer__ = "Filipe Fernandes" @@ -10,5 +10,5 @@ __modified__ = "07-March-2013" __all__ = 'gibbs', 'utilities' -from gibbs import * -from utilities import * +from .gibbs import * +from .utilities import * Index: gsw-3.0.2/gsw/gibbs/__init__.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/__init__.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/__init__.py 2013-07-18 21:27:23.000000000 +0100 @@ -1,20 +1,22 @@ # -*- coding: utf-8 -*- -from absolute_salinity_sstar_ct import * -from basic_thermodynamic_t import * -from constants import * -from conversions import * -from density_enthalpy_48 import * -from density_enthalpy_48_ct import * -from density_enthalpy_ct_exact import * -from derivatives import * -from earth import * -from freezing import * -from geostrophic import * -from geostrophic_48 import * -from isobaric import * -from library import * -from neutral_nonlinear_48 import * -from practical_salinity import * -from steric import * -from water_column_48 import * +from __future__ import absolute_import + +from .absolute_salinity_sstar_ct import * +from .basic_thermodynamic_t import * +from .constants import * +from .conversions import * +from .density_enthalpy_48 import * +from .density_enthalpy_48_ct import * +from .density_enthalpy_ct_exact import * +from .derivatives import * +from .earth import * +from .freezing import * +from .geostrophic import * +from .geostrophic_48 import * +from .isobaric import * +from .library import * +from .neutral_nonlinear_48 import * +from .practical_salinity import * +from .steric import * +from .water_column_48 import * Index: gsw-3.0.2/gsw/gibbs/absolute_salinity_sstar_ct.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/absolute_salinity_sstar_ct.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/absolute_salinity_sstar_ct.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,14 +4,14 @@ import numpy as np -from constants import SSO, r1 -from gsw.utilities import match_args_return -from conversions import pt0_from_t, CT_from_pt -import library as lib +from .constants import SSO, r1 +from ..utilities import match_args_return +from .conversions import pt0_from_t, CT_from_pt +from . import library __all__ = [ - 'SA_from_SP', # FIXME: Incomplete and untested. (need lib.SAAR) - 'Sstar_from_SP', # FIXME: Incomplete and untested. (need lib.SAAR) + 'SA_from_SP', # FIXME: Incomplete and untested. (need library.SAAR) + 'Sstar_from_SP', # FIXME: Incomplete and untested. (need library.SAAR) 'CT_from_t' ] @@ -28,11 +28,11 @@ # FIXME: Test these exceptions, they are probably broken! # The original also checks for 9999s, not sure why. if ((p < -1.5) | (p > 12000)).any(): - raise(Exception, 'Sstar_from_SP: pressure is out of range') + raise Exception('Sstar_from_SP: pressure is out of range') if ((lon < 0) | (lon > 360)).any(): - raise(Exception, 'Sstar_from_SP: longitude is out of range') + raise Exception('Sstar_from_SP: longitude is out of range') if (np.abs(lat) > 90).any(): - raise(Exception, 'Sstar_from_SP: latitude is out of range') + raise Exception('Sstar_from_SP: latitude is out of range') SP = np.maximum(SP, 0) @@ -102,11 +102,11 @@ SP, p, lon, lat = check_input(SP, p, lon, lat) - SAAR = lib.SAAR(p, lon, lat) - #SAAR = lib.delta_SA(p, lon, lat) + SAAR = library.SAAR(p, lon, lat) + #SAAR = library.delta_SA(p, lon, lat) SA = (SSO / 35) * SP + (1 + SAAR) - SA_baltic = lib.SA_from_SP_Baltic(SP, lon, lat) + SA_baltic = library.SA_from_SP_Baltic(SP, lon, lat) # The following function (SAAR) finds SAAR in the non-Baltic parts of # the world ocean. (Actually, this SAAR look-up table returns values @@ -180,12 +180,12 @@ SP, p, lon, lat = check_input(SP, p, lon, lat) - SAAR = lib.SAAR(p, lon, lat) - #SAAR = lib.delta_SA(p, lon, lat) + SAAR = library.SAAR(p, lon, lat) + #SAAR = library.delta_SA(p, lon, lat) Sstar = (SSO / 35.) * SP - r1 * SAAR # In the Baltic Sea, Sstar==SA. - Sstar_baltic = lib.SA_from_SP_Baltic(SP, lon, lat) + Sstar_baltic = library.SA_from_SP_Baltic(SP, lon, lat) # TODO: Create Baltic and non-Baltic test cases. if Sstar_baltic is not None: Index: gsw-3.0.2/gsw/gibbs/basic_thermodynamic_t.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/basic_thermodynamic_t.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/basic_thermodynamic_t.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,11 +4,11 @@ import numpy as np -from library import gibbs -from absolute_salinity_sstar_ct import CT_from_t -from gsw.utilities import match_args_return, strip_mask -from conversions import pt_from_CT, pt_from_t, pt0_from_t -from constants import Kelvin, db2Pascal, P0, SSO, cp0, R, sfac, M_S +from .library import gibbs +from .absolute_salinity_sstar_ct import CT_from_t +from ..utilities import match_args_return, strip_mask +from .conversions import pt_from_CT, pt_from_t, pt0_from_t +from .constants import Kelvin, db2Pascal, P0, SSO, cp0, R, sfac, M_S __all__ = [ 'rho_t_exact', Index: gsw-3.0.2/gsw/gibbs/conversions.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/conversions.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/conversions.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,11 +4,11 @@ import numpy as np -from constants import SSO, cp0, Kelvin, sfac, uPS -from constants import db2Pascal, gamma, P0, M_S, valence_factor -from library import entropy_part, entropy_part_zerop, gibbs -from library import gibbs_pt0_pt0, enthalpy_SSO_0_p, specvol_SSO_0_p -from gsw.utilities import match_args_return, strip_mask +from .constants import SSO, cp0, Kelvin, sfac, uPS +from .constants import db2Pascal, gamma, P0, M_S, valence_factor +from .library import entropy_part, entropy_part_zerop, gibbs +from .library import gibbs_pt0_pt0, enthalpy_SSO_0_p, specvol_SSO_0_p +from ..utilities import match_args_return, strip_mask __all__ = [ #'deltaSA_from_SP', TODO Index: gsw-3.0.2/gsw/gibbs/density_enthalpy_ct_exact.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/density_enthalpy_ct_exact.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/density_enthalpy_ct_exact.py 2013-07-18 21:27:23.000000000 +0100 @@ -1,19 +1,19 @@ # -*- coding: utf-8 -*- -from __future__ import division +from __future__ import division, absolute_import import numpy as np -from library import match_args_return -from constants import cp0 -from conversions import t_from_CT, pt_from_CT -from absolute_salinity_sstar_ct import CT_from_t -from basic_thermodynamic_t import rho_t_exact, alpha_wrt_CT_t_exact -from basic_thermodynamic_t import beta_const_CT_t_exact, specvol_t_exact -from basic_thermodynamic_t import specvol_anom_t_exact, sound_speed_t_exact -from basic_thermodynamic_t import t_maxdensity_exact, enthalpy_t_exact -from basic_thermodynamic_t import internal_energy_t_exact, sigma0_pt0_exact -from basic_thermodynamic_t import t_from_rho_exact +from .library import match_args_return +from .constants import cp0 +from .conversions import t_from_CT, pt_from_CT +from .absolute_salinity_sstar_ct import CT_from_t +from .basic_thermodynamic_t import rho_t_exact, alpha_wrt_CT_t_exact +from .basic_thermodynamic_t import beta_const_CT_t_exact, specvol_t_exact +from .basic_thermodynamic_t import specvol_anom_t_exact, sound_speed_t_exact +from .basic_thermodynamic_t import t_maxdensity_exact, enthalpy_t_exact +from .basic_thermodynamic_t import internal_energy_t_exact, sigma0_pt0_exact +from .basic_thermodynamic_t import t_from_rho_exact __all__ = [ 'rho_CT_exact', Index: gsw-3.0.2/gsw/gibbs/derivatives.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/derivatives.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/derivatives.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,10 +4,10 @@ import numpy as np -from library import gibbs -from constants import Kelvin, cp0, sfac -from gsw.utilities import match_args_return -from conversions import pt_from_CT, pt_from_t +from .library import gibbs +from .constants import Kelvin, cp0, sfac +from ..utilities import match_args_return +from .conversions import pt_from_CT, pt_from_t __all__ = [ 'CT_first_derivatives', Index: gsw-3.0.2/gsw/gibbs/earth.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/earth.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/earth.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,9 +4,9 @@ import numpy as np -from constants import gamma, earth_radius, OMEGA -from gsw.utilities import match_args_return -from conversions import z_from_p +from .constants import gamma, earth_radius, OMEGA +from ..utilities import match_args_return +from .conversions import z_from_p __all__ = ['f', Index: gsw-3.0.2/gsw/gibbs/freezing.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/freezing.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/freezing.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,10 +4,10 @@ import numpy as np -from constants import SSO -from conversions import t_from_CT -from gsw.utilities import match_args_return -from absolute_salinity_sstar_ct import CT_from_t +from .constants import SSO +from .conversions import t_from_CT +from ..utilities import match_args_return +from .absolute_salinity_sstar_ct import CT_from_t __all__ = [ 'CT_freezing', Index: gsw-3.0.2/gsw/gibbs/library.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/library.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/library.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,8 +4,8 @@ import numpy as np -from constants import sfac, SSO, db2Pascal -from gsw.utilities import match_args_return, strip_mask, read_data +from .constants import sfac, SSO, db2Pascal +from ..utilities import match_args_return, strip_mask, read_data __all__ = [ 'gibbs', @@ -979,7 +979,7 @@ Modifications: 2010-07-23. David Jackett, Trevor McDougall & Paul Barker """ - SA, lon, lat = map(np.ma.masked_invalid, (SA, lon, lat)) + SA, lon, lat = list(map(np.ma.masked_invalid, (SA, lon, lat))) lon, lat, SA = np.broadcast_arrays(lon, lat, SA) inds_baltic = in_Baltic(lon, lat) @@ -1057,7 +1057,7 @@ Modifications: 2010-07-23. David Jackett, Trevor McDougall & Paul Barker """ - SA, lon, lat = map(np.ma.masked_invalid, (SA, lon, lat)) + SA, lon, lat = list(map(np.ma.masked_invalid, (SA, lon, lat))) lon, lat, SA = np.broadcast_arrays(lon, lat, SA) xb1, xb2, xb3 = 12.6, 7., 26. @@ -1112,7 +1112,7 @@ if np.ma.is_masked(lat): input_mask = input_mask | lat.mask - SP, lon, lat = map(np.atleast_1d, (SP, lon, lat)) + SP, lon, lat = list(map(np.atleast_1d, (SP, lon, lat))) SP, lon, lat = np.broadcast_arrays(SP, lon, lat) inds_baltic = in_Baltic(lon, lat) @@ -1269,7 +1269,7 @@ p, lon, lat = np.broadcast_arrays(p, lon, lat) if p.ndim > 1: shape_in = p.shape - p, lon, lat = map(np.ravel, (p, lon, lat)) + p, lon, lat = list(map(np.ravel, (p, lon, lat))) reshaped = True else: reshaped = False Index: gsw-3.0.2/gsw/gibbs/practical_salinity.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/practical_salinity.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/practical_salinity.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,8 +4,8 @@ import numpy as np -from library import Hill_ratio_at_SP2 -from gsw.utilities import match_args_return +from .library import Hill_ratio_at_SP2 +from ..utilities import match_args_return __all__ = [ 'SP_from_C', @@ -62,7 +62,7 @@ k = 0.0162 -a, b, c, d, e, P, q, r, u, k = map(np.asarray, (a, b, c, d, e, P, q, r, u, k)) +a, b, c, d, e, P, q, r, u, k = list(map(np.asarray, (a, b, c, d, e, P, q, r, u, k))) @match_args_return Index: gsw-3.0.2/gsw/gibbs/water_column_48.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/water_column_48.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/water_column_48.py 2013-07-18 21:27:23.000000000 +0100 @@ -4,11 +4,11 @@ import numpy as np -from constants import db2Pascal -from earth import grav -from density_enthalpy_48 import rho -from gsw.utilities import match_args_return -from density_enthalpy_48 import rho_alpha_beta +from .constants import db2Pascal +from .earth import grav +from .density_enthalpy_48 import rho +from ..utilities import match_args_return +from .density_enthalpy_48 import rho_alpha_beta __all__ = [ 'Nsquared', Index: gsw-3.0.2/gsw/test/test_profiles.py =================================================================== --- gsw-3.0.2.orig/gsw/test/test_profiles.py 2013-07-18 21:27:23.000000000 +0100 +++ gsw-3.0.2/gsw/test/test_profiles.py 2013-07-18 21:27:23.000000000 +0100 @@ -312,7 +312,7 @@ maxdiff = np.nanmax(abs(out - getattr(cv, func))) try: self.assertTrue(maxdiff < getattr(cv, func + '_ca')) - except AssertionError, e: + except AssertionError as e: raise AssertionError("Error in %s %s" % (func, e.args)) Index: gsw-3.0.2/setup.py =================================================================== --- gsw-3.0.2.orig/setup.py 2013-07-18 19:20:42.000000000 +0100 +++ gsw-3.0.2/setup.py 2013-07-18 21:28:00.000000000 +0100 @@ -31,7 +31,7 @@ license=open('LICENSE.txt').read(), description='Gibbs SeaWater Oceanographic Package of TEOS-10', long_description=readme.read(), - author=u'Filipe Fernandes, Eric Firing, Ådlandsvik Bjørn', + author='Filipe Fernandes, Eric Firing, Ådlandsvik Bjørn', author_email='ocefpaf@gmail.com', maintainer='Filipe Fernandes', maintainer_email='ocefpaf@gmail.com', Index: gsw-3.0.2/gsw/gibbs/density_enthalpy_48.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/density_enthalpy_48.py 2013-07-18 19:20:42.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/density_enthalpy_48.py 2013-07-18 21:29:26.000000000 +0100 @@ -4,8 +4,8 @@ import numpy as np -from library import specvol_SSO_0_p -from constants import P0, db2Pascal, cp0 +from .library import specvol_SSO_0_p +from .constants import P0, db2Pascal, cp0 from gsw.utilities import match_args_return __all__ = [ Index: gsw-3.0.2/gsw/gibbs/isobaric.py =================================================================== --- gsw-3.0.2.orig/gsw/gibbs/isobaric.py 2013-07-18 19:20:42.000000000 +0100 +++ gsw-3.0.2/gsw/gibbs/isobaric.py 2013-07-18 21:29:00.000000000 +0100 @@ -3,7 +3,7 @@ from __future__ import division from gsw.utilities import match_args_return -from conversions import CT_from_pt +from .conversions import CT_from_pt __all__ = [ Index: gsw-3.0.2/gsw/utilities/__init__.py =================================================================== --- gsw-3.0.2.orig/gsw/utilities/__init__.py 2013-07-18 19:20:42.000000000 +0100 +++ gsw-3.0.2/gsw/utilities/__init__.py 2013-07-18 21:28:42.000000000 +0100 @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -from utilities import * \ No newline at end of file +from .utilities import * debian/rules0000755000000000000000000000111212172030772010242 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # magic debhelper rule %: dh $@ --with python2,python3 override_dh_auto_install: set -e && for pyvers in $(shell pyversions -sv); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-gsw; \ done set -e && for py3vers in $(shell py3versions -sv); do \ python$$py3vers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-gsw; \ done override_dh_auto_clean: dh_auto_clean rm -fr gsw.egg-info rm -fr build debian/compat0000644000000000000000000000000212172030772010365 0ustar 9 debian/gsw.docs0000644000000000000000000000001312172030772010633 0ustar README.rst debian/changelog0000644000000000000000000000263112175247745011060 0ustar gsw (3.0.2-2) unstable; urgency=low * Need to B-D on python-numpy, python3-numpy. Closes: #718136. -- Alastair McKinstry Sun, 28 Jul 2013 18:05:08 +0100 gsw (3.0.2-1) unstable; urgency=low * New upstream release. * Move to DH 9. -- Alastair McKinstry Fri, 18 Jul 2013 07:26:49 +0100 gsw (3.0.1-3) unstable; urgency=low * Setuptools/distuils causes dpkg to break on upgrade; - patch to remove setuptools from setup.py - Delete a symlink in python-gsw.preinst to allow upgrades. Closes: #709959. * Add X-Python-Version, X-Python3-Version to debian/control. -- Alastair McKinstry Wed, 29 May 2013 13:39:32 +0100 gsw (3.0.1-2) unstable; urgency=low [ Scott Kitterman ] * Add python3-gsw package and adjust debian/rules to actually build for both python and python3 as intended. Closes: #709381. * Change from arch any to arch all since there is no arch specific content * Drop unneeded python:Provides * Add missing depends on python-numpy * Update dh_auto_clean override so gsw will build twice in a row [ Alastair McKinstry ] * Add watch file from Bart Martens. -- Alastair McKinstry Thu, 23 May 2013 08:07:51 -0400 gsw (3.0.1-1) unstable; urgency=low * Initial release. (Closes: #696238) -- Alastair McKinstry Mon, 17 Dec 2012 19:12:21 +0000 debian/copyright0000644000000000000000000000224412172030772011124 0ustar Copyright 2012 Filipe Fernandez AUTHORS: Filipe Fernandes Eric Firing Ådlandsvik Bjørn Copyright Notice and Statement for the gsw project: 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. debian/python-gsw.preinst0000644000000000000000000000033512172030772012715 0ustar #!/bin/sh set -e # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709959 [ -h /usr/lib/python2.7/dist-packages/gsw-3.0.1.egg-info ] && rm /usr/lib/python2.7/dist-packages/gsw-3.0.1.egg-info #DEBHELPER# exit 0