[gsw] 08/08: Need to override some dh_* rules because they call python, not python3.

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 9e7e80d6b65f372d8c0551023e0262db94b796a2
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed May 3 11:28:14 2017 +0100

    Need to override some dh_* rules because they call python, not python3.
---
 debian/changelog | 5 +++--
 debian/rules     | 7 ++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 98febc1..c120c11 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,12 @@
-gsw (3.1.1-1) UNRELEASED; urgency=medium
+gsw (3.1.1-1) experimental; urgency=medium
 
   * New upstream release
     - python3 changes now uptream
   * Latest upstream drops python2 support
   * pythion3-gsw is now arch:any as it contains compiled code
+  * Need to override some dh_* rules because they call python, not python3.
 
- -- Alastair McKinstry <mckinstry at debian.org>  Tue, 02 May 2017 16:53:43 +0100
+ -- Alastair McKinstry <mckinstry at debian.org>  Wed, 03 May 2017 11:21:21 +0100
 
 gsw (3.0.6-1) experimental; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 59f4870..47d46b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ override_dh_auto_install:
         done
 
 override_dh_auto_clean:
-	dh_auto_clean
+	# dh_auto_clean avoid bug where this calls python, not python3
+	python3 setup.py clean 
 	rm -fr gsw.egg-info
 	rm -fr build
+
+override_dh_auto_build:
+	# ditto.
+	python3 setup.py build --force

-- 
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