[Python-modules-commits] [pyvisa] 02/02: Using set -ex notation..

Ruben Undheim rubund-guest at moszumanska.debian.org
Sun Mar 15 22:22:09 UTC 2015


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

rubund-guest pushed a commit to branch master
in repository pyvisa.

commit ab44630f5bf7b0ebda9d4dd67496d5bc6144d8f1
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Mar 15 23:21:45 2015 +0100

    Using set -ex notation..
---
 debian/rules | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7e7a427..f2157ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,16 @@ override_dh_auto_clean:
 
 override_dh_auto_build:
 	dh_auto_build
-	python3 setup.py build
+	set -ex; for python in $(shell py3versions -r); do \
+		$$python setup.py build; \
+	done
 
 override_dh_auto_install:
 	dh_auto_install
-	python3 setup.py install --install-layout=deb \
-	   --root $(CURDIR)/debian/tmp
+	set -ex; for python in $(shell py3versions -r); do \
+		$$python setup.py install --install-layout=deb \
+		--root $(CURDIR)/debian/tmp; \
+	done;
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k CHANGES

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyvisa.git



More information about the Python-modules-commits mailing list