[gsw] 05/08: Latest upstream drops python2 support

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed May 3 10:36:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository gsw.

commit 3eccc1ba99be04e9485a63f5c3eea3ace1d16009
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue May 2 16:57:06 2017 +0100

    Latest upstream drops python2 support
---
 debian/changelog |  1 +
 debian/control   | 14 --------------
 debian/rules     |  6 +-----
 3 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3da7a2e..7a93531 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ gsw (3.1.1-1) UNRELEASED; urgency=medium
 
   * New upstream release
     - python3 changes now uptream
+  * Latest upstream drops python2 support
 
  -- Alastair McKinstry <mckinstry at debian.org>  Tue, 02 May 2017 16:53:43 +0100
 
diff --git a/debian/control b/debian/control
index ddbc822..0c6a23d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,20 +10,6 @@ X-Python3-Version: >= 3.3
 Homepage:  http://pypi.python.org/pypi/gsw/
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/gsw.git
 
-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
diff --git a/debian/rules b/debian/rules
index ba83f4c..59f4870 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,13 +5,9 @@
 
 # magic debhelper rule
 %:
-	dh $@ --with python2,python3
+	dh $@ --with 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; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gsw.git



More information about the debian-science-commits mailing list