[Python-modules-commits] r21458 - in packages/sphinx/trunk/debian (5 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Apr 30 11:38:33 UTC 2012


    Date: Monday, April 30, 2012 @ 11:38:31
  Author: jwilk
Revision: 21458

Add DEP-8 tests.

Added:
  packages/sphinx/trunk/debian/tests/
  packages/sphinx/trunk/debian/tests/control
  packages/sphinx/trunk/debian/tests/python-sphinx
  packages/sphinx/trunk/debian/tests/python3-sphinx
Modified:
  packages/sphinx/trunk/debian/changelog

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2012-04-30 10:04:29 UTC (rev 21457)
+++ packages/sphinx/trunk/debian/changelog	2012-04-30 11:38:31 UTC (rev 21458)
@@ -1,3 +1,9 @@
+sphinx (1.1.3+dfsg-4) UNRELEASED; urgency=low
+
+  * Add DEP-8 tests.
+
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 30 Apr 2012 13:38:15 +0200
+
 sphinx (1.1.3+dfsg-3) unstable; urgency=low
 
   * Validate *.po files at build time. Add gettext to Build-Depends.

Added: packages/sphinx/trunk/debian/tests/control
===================================================================
--- packages/sphinx/trunk/debian/tests/control	                        (rev 0)
+++ packages/sphinx/trunk/debian/tests/control	2012-04-30 11:38:31 UTC (rev 21458)
@@ -0,0 +1,7 @@
+Tests: python-sphinx
+Features: no-build-needed
+Depends: python-sphinx, python-nose
+
+Tests: python3-sphinx
+Features: no-build-needed
+Depends: python3-sphinx, python3-nose

Added: packages/sphinx/trunk/debian/tests/python-sphinx
===================================================================
--- packages/sphinx/trunk/debian/tests/python-sphinx	                        (rev 0)
+++ packages/sphinx/trunk/debian/tests/python-sphinx	2012-04-30 11:38:31 UTC (rev 21458)
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e -u
+tmpdir=$(mktemp -t -d sphinx.test.XXXXXXXX)
+cp -r tests "$tmpdir/"
+cd "$tmpdir"
+pyversions -i \
+| tr ' ' '\n' \
+| xargs -I {} env PYTHONWARNINGS=d {} \
+  /usr/bin/nosetests --verbose 2>&1
+cd /
+rm -rf "$tmpdir"
+
+# vim:ts=4 sw=4 et


Property changes on: packages/sphinx/trunk/debian/tests/python-sphinx
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/sphinx/trunk/debian/tests/python3-sphinx
===================================================================
--- packages/sphinx/trunk/debian/tests/python3-sphinx	                        (rev 0)
+++ packages/sphinx/trunk/debian/tests/python3-sphinx	2012-04-30 11:38:31 UTC (rev 21458)
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e -u
+tmpdir=$(mktemp -t -d sphinx.test.XXXXXXXX)
+cp -r tests "$tmpdir/"
+2to3-$(py3versions -vd) --no-diffs -w -n "$tmpdir/tests/" 2>&1
+cd "$tmpdir"
+py3versions -i \
+| tr ' ' '\n' \
+| xargs -I {} env PYTHONWARNINGS=d {} \
+  /usr/bin/nosetests3 --verbose 2>&1
+cd /
+rm -rf "$tmpdir"
+
+# vim:ts=4 sw=4 et
+


Property changes on: packages/sphinx/trunk/debian/tests/python3-sphinx
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list