[med-svn] [openmolar] 01/01: Try forcing Python3 - build system insists on using Python 2 tools

Andreas Tille tille at debian.org
Sat Dec 17 19:09:28 UTC 2016


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

tille pushed a commit to branch master
in repository openmolar.

commit 880c3ccf8f5c396270760095cd5573622663b9aa
Author: Andreas Tille <tille at debian.org>
Date:   Sat Dec 17 20:08:52 2016 +0100

    Try forcing Python3 - build system insists on using Python 2 tools
---
 debian/patches/force_python3.patch | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 debian/rules                       |  2 +-
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/debian/patches/force_python3.patch b/debian/patches/force_python3.patch
new file mode 100644
index 0000000..eee88b8
--- /dev/null
+++ b/debian/patches/force_python3.patch
@@ -0,0 +1,16 @@
+--- a/openmolar
++++ b/openmolar
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python
++#!/usr/bin/python3
+ 
+ # ########################################################################### #
+ # #                                                                         # #
+--- a/setup.py
++++ b/setup.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python
++#!/usr/bin/python3
+ 
+ # ########################################################################### #
+ # #                                                                         # #
diff --git a/debian/patches/series b/debian/patches/series
index b13c0ac..8bd4308 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 private-libs.patch
+force_python3.patch
diff --git a/debian/rules b/debian/rules
index 846ad96..24667c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
 PKG  = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
 
 %:
-	dh $@ --with python3
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	# No idea why this would call

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/openmolar.git



More information about the debian-med-commit mailing list