[Python-modules-commits] r20313 - in packages/sphinx/branches/1.1/debian (changelog rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sat Feb 4 22:41:31 UTC 2012


    Date: Saturday, February 4, 2012 @ 22:41:30
  Author: jwilk
Revision: 20313

Use xargs to iterate over all Python versions.

Modified:
  packages/sphinx/branches/1.1/debian/changelog
  packages/sphinx/branches/1.1/debian/rules

Modified: packages/sphinx/branches/1.1/debian/changelog
===================================================================
--- packages/sphinx/branches/1.1/debian/changelog	2012-02-04 22:36:10 UTC (rev 20312)
+++ packages/sphinx/branches/1.1/debian/changelog	2012-02-04 22:41:30 UTC (rev 20313)
@@ -1,3 +1,9 @@
+sphinx (1.1.2+dfsg-3) UNRELEASED; urgency=low
+
+  * Use xargs to iterate over all Python versions.
+
+ -- Jakub Wilk <jwilk at debian.org>  Sat, 04 Feb 2012 23:18:34 +0100
+
 sphinx (1.1.2+dfsg-2) experimental; urgency=low
 
   * Add sphinxcontrib_namespace.diff: create namespace package

Modified: packages/sphinx/branches/1.1/debian/rules
===================================================================
--- packages/sphinx/branches/1.1/debian/rules	2012-02-04 22:36:10 UTC (rev 20312)
+++ packages/sphinx/branches/1.1/debian/rules	2012-02-04 22:41:30 UTC (rev 20313)
@@ -18,6 +18,8 @@
 py3_site_packages = $(call py_libdir,$(shell py3versions -d))
 javascript_path = /usr/share/javascript/sphinxdoc/1.0/
 
+python_all = pyversions -r | tr ' ' '\n' | xargs -t -I {} env {}
+
 build-arch:
 
 build-indep build: build-stamp
@@ -31,10 +33,7 @@
 	cp -rl build/html build/man
 	python ./sphinx-build.py -b man doc build/man
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e -x; \
-	for python in $(shell pyversions -r); do \
-		$$python tests/run.py --verbose --no-skip; \
-	done
+	$(python_all) tests/run.py --verbose --no-skip
 	xvfb-run ./debian/jstest/run-tests
 endif
 	python setup.py build --build-lib build/py2/




More information about the Python-modules-commits mailing list