[Python-modules-commits] r18249 - in packages/python-docutils/trunk/debian (changelog rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Mon Aug 22 15:54:05 UTC 2011
Date: Monday, August 22, 2011 @ 15:54:04
Author: jwilk
Revision: 18249
Use ?\226?\128?\152set -x?\226?\128?\153 for all the for loops in debian/rules.
Modified:
packages/python-docutils/trunk/debian/changelog
packages/python-docutils/trunk/debian/rules
Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog 2011-08-22 15:33:12 UTC (rev 18248)
+++ packages/python-docutils/trunk/debian/changelog 2011-08-22 15:54:04 UTC (rev 18249)
@@ -25,8 +25,9 @@
* Move python(3)-all from Build-Depends to Build-Depends-Indep, as they are
not needed in the clean target.
* Run the test suite before building documentation.
+ * Use âset -xâ for all the for loops in debian/rules.
- -- Jakub Wilk <jwilk at debian.org> Mon, 22 Aug 2011 17:28:07 +0200
+ -- Jakub Wilk <jwilk at debian.org> Mon, 22 Aug 2011 17:53:01 +0200
python-docutils (0.7-4) unstable; urgency=low
Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules 2011-08-22 15:33:12 UTC (rev 18248)
+++ packages/python-docutils/trunk/debian/rules 2011-08-22 15:54:04 UTC (rev 18249)
@@ -45,23 +45,23 @@
cd py3k && python3 setup.py build
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
# Run test suite for Python 2.X:
- set -e && cd build/lib*/ && \
+ set -ex && cd build/lib*/ && \
for python in $(shell pyversions -r); do \
$$python ../../test/alltests.py; \
done
# Run test suite for Python 3.X:
- set -e && cd py3k/build/lib*/ && \
+ set -ex && cd py3k/build/lib*/ && \
for python in $(shell py3versions -r); do \
$$python test/alltests.py; \
done
endif
# Build documentation:
- set -e && for dir in $(BUILDHTML_DIRS); do \
+ set -ex && for dir in $(BUILDHTML_DIRS); do \
PYTHONPATH=.:extras $(PYTHON) tools/buildhtml.py \
--local --config=tools/docutils.conf $$dir \
--traceback; \
done
- set -e && for dir in $(BUILDHTML_RECURSE_DIRS); do \
+ set -ex && for dir in $(BUILDHTML_RECURSE_DIRS); do \
PYTHONPATH=.:extras $(PYTHON) tools/buildhtml.py \
--config=tools/docutils.conf $$dir --traceback; \
done
@@ -99,7 +99,7 @@
sed -i -e 's/^\(_debian_package\) = /\1 = 1/' debian/tmp/usr/lib/python[23]*/*-packages/docutils/__init__.py
# Give scripts canonical names
mkdir -p debian/tmp/usr/share/docutils/scripts/python2/
- set -e && for python in python2 python3; do \
+ set -ex && for python in python2 python3; do \
dir=debian/tmp/usr/share/docutils/scripts/$$python/; \
for exe in $(filter-out rst-buildhtml,$(scripts)); do \
mv $$dir/$$exe.py $$dir/$$exe; \
@@ -109,7 +109,7 @@
: # Make the man pages (we want to do this *after* renaming all the
: # tools, because their executable name goes into the --help output)
mkdir -p debian/tmp/man/
- set -e && for exe in $(filter-out rst2odt_prepstyles,$(scripts)); do \
+ set -ex && for exe in $(filter-out rst2odt_prepstyles,$(scripts)); do \
PYTHONPATH=.:extras; \
export PYTHONPATH; \
cp debian/$$exe.txt debian/tmp/man/$$exe.txt; \
More information about the Python-modules-commits
mailing list