[Python-modules-commits] r20654 - in packages/python-simpy/trunk/debian (rules)
dandrimont-guest at users.alioth.debian.org
dandrimont-guest at users.alioth.debian.org
Fri Mar 2 17:52:38 UTC 2012
Date: Friday, March 2, 2012 @ 17:52:35
Author: dandrimont-guest
Revision: 20654
Update d/rules for less forks and less verbosity
Modified:
packages/python-simpy/trunk/debian/rules
Modified: packages/python-simpy/trunk/debian/rules
===================================================================
--- packages/python-simpy/trunk/debian/rules 2012-03-02 17:37:55 UTC (rev 20653)
+++ packages/python-simpy/trunk/debian/rules 2012-03-02 17:52:35 UTC (rev 20654)
@@ -3,8 +3,8 @@
#export DH_VERBOSE=1
-VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
-PY3VERSIONS := $(shell py3versions -vr)
+VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+PY3VERSIONS = $(shell py3versions -vr)
%:
dh $@ --with python2,python3,sphinxdoc
@@ -12,7 +12,7 @@
override_dh_auto_build:
dh_auto_build
- set -ex; for version in $(PY3VERSIONS); do \
+ set -e; for version in $(PY3VERSIONS); do \
python$$version setup.py build; \
done
@@ -35,7 +35,7 @@
dh_auto_install
- set -ex; for version in $(PY3VERSIONS); do \
+ set -e; for version in $(PY3VERSIONS); do \
python$$version setup.py install --no-compile -O0 --install-layout=deb --root $(CURDIR)/debian/tmp; \
done
More information about the Python-modules-commits
mailing list