[Python-modules-commits] r22875 - in packages/python-docutils/trunk/debian (2 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sat Nov 3 16:17:03 UTC 2012


    Date: Saturday, November 3, 2012 @ 16:17:01
  Author: jwilk
Revision: 22875

Adapt DEP-8 Python 3 tests to the new way 2->3 conversion is being done on upstream tests.

Modified:
  packages/python-docutils/trunk/debian/changelog
  packages/python-docutils/trunk/debian/tests/python3-docutils

Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog	2012-11-03 15:52:38 UTC (rev 22874)
+++ packages/python-docutils/trunk/debian/changelog	2012-11-03 16:17:01 UTC (rev 22875)
@@ -4,8 +4,10 @@
   * Fix DEP-8 tests:
     + Drop dep8.diff; it's no longer needed (closes: #692127). Thanks to
       Dmitry Shachnev for the bug report.
+    + Adapt Python 3 tests to the new way 2->3 conversion is being done on
+      upstream tests.
 
- -- Jakub Wilk <jwilk at debian.org>  Sat, 03 Nov 2012 16:37:11 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Sat, 03 Nov 2012 17:14:52 +0100
 
 python-docutils (0.9.1-1) experimental; urgency=low
 

Modified: packages/python-docutils/trunk/debian/tests/python3-docutils
===================================================================
--- packages/python-docutils/trunk/debian/tests/python3-docutils	2012-11-03 15:52:38 UTC (rev 22874)
+++ packages/python-docutils/trunk/debian/tests/python3-docutils	2012-11-03 16:17:01 UTC (rev 22875)
@@ -1,9 +1,8 @@
 #!/bin/sh
 set -e -u
-python3 setup.py build -b "$ADTTMP"
-cd "$ADTTMP/lib/"
-rm -rf docutils* roman* tools
-cd test/
+cp -r docs/ test/ "$ADTTMP"
+cd "$ADTTMP/test/"
+2to3-$(py3versions -vd) --no-diffs -j $(nproc) -w .
 py3versions -i \
 | tr ' ' '\n' \
 | xargs -I {} env PYTHONWARNINGS=d {} \




More information about the Python-modules-commits mailing list