[Python-modules-commits] r22965 - in packages/pygments/trunk/debian (7 files)
mitya57-guest at users.alioth.debian.org
mitya57-guest at users.alioth.debian.org
Mon Nov 12 09:34:05 UTC 2012
Date: Monday, November 12, 2012 @ 09:34:02
Author: mitya57-guest
Revision: 22965
Added DEP-8 tests (closes: #693028)
Added:
packages/pygments/trunk/debian/patches/disable_example_files_test.patch
packages/pygments/trunk/debian/tests/
packages/pygments/trunk/debian/tests/control
packages/pygments/trunk/debian/tests/python-pygments
packages/pygments/trunk/debian/tests/python3-pygments
Modified:
packages/pygments/trunk/debian/changelog
packages/pygments/trunk/debian/control
Modified: packages/pygments/trunk/debian/changelog
===================================================================
--- packages/pygments/trunk/debian/changelog 2012-11-11 23:08:47 UTC (rev 22964)
+++ packages/pygments/trunk/debian/changelog 2012-11-12 09:34:02 UTC (rev 22965)
@@ -1,3 +1,10 @@
+pygments (1.5+dfsg-2) UNRELEASED; urgency=low
+
+ * Team upload.
+ * Add DEP-8 tests (closes: #693028).
+
+ -- Dmitry Shachnev <mitya57 at gmail.com> Mon, 12 Nov 2012 13:30:20 +0400
+
pygments (1.5+dfsg-1) unstable; urgency=low
* New upstream release
Modified: packages/pygments/trunk/debian/control
===================================================================
--- packages/pygments/trunk/debian/control 2012-11-11 23:08:47 UTC (rev 22964)
+++ packages/pygments/trunk/debian/control 2012-11-12 09:34:02 UTC (rev 22965)
@@ -11,6 +11,7 @@
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pygments/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pygments/trunk/
X-Python-Version: >= 2.4
+XS-Testsuite: autopkgtest
Package: python-pygments
Architecture: all
Added: packages/pygments/trunk/debian/patches/disable_example_files_test.patch
===================================================================
--- packages/pygments/trunk/debian/patches/disable_example_files_test.patch (rev 0)
+++ packages/pygments/trunk/debian/patches/disable_example_files_test.patch 2012-11-12 09:34:02 UTC (rev 22965)
@@ -0,0 +1,20 @@
+=== modified file 'tests/test_examplefiles.py'
+--- a/tests/test_examplefiles.py 2012-03-11 18:22:42 +0000
++++ b/tests/test_examplefiles.py 2012-11-12 07:18:38 +0000
+@@ -8,6 +8,7 @@
+ """
+
+ import os
++import nose
+ import pprint
+ import difflib
+ import cPickle as pickle
+@@ -19,6 +20,7 @@
+ STORE_OUTPUT = False
+
+ # generate methods
++ at nose.SkipTest
+ def test_example_files():
+ testdir = os.path.dirname(__file__)
+ outdir = os.path.join(testdir, 'examplefiles', 'output')
+
Added: packages/pygments/trunk/debian/tests/control
===================================================================
--- packages/pygments/trunk/debian/tests/control (rev 0)
+++ packages/pygments/trunk/debian/tests/control 2012-11-12 09:34:02 UTC (rev 22965)
@@ -0,0 +1,5 @@
+Tests: python-pygments
+Depends: python-pygments, python-nose
+
+Tests: python3-pygments
+Depends: python3-pygments, python3-nose
Added: packages/pygments/trunk/debian/tests/python-pygments
===================================================================
--- packages/pygments/trunk/debian/tests/python-pygments (rev 0)
+++ packages/pygments/trunk/debian/tests/python-pygments 2012-11-12 09:34:02 UTC (rev 22965)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -eu
+
+cp -r tests "$ADTTMP"
+cat debian/patches/disable_example_files_test.patch | (cd "$ADTTMP/tests" && patch -p2)
+cd "$ADTTMP/tests"
+
+for python in $(pyversions -i); do
+ PYTHONWARNINGS=d $python ./run.py 2>&1
+done
Property changes on: packages/pygments/trunk/debian/tests/python-pygments
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pygments/trunk/debian/tests/python3-pygments
===================================================================
--- packages/pygments/trunk/debian/tests/python3-pygments (rev 0)
+++ packages/pygments/trunk/debian/tests/python3-pygments 2012-11-12 09:34:02 UTC (rev 22965)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -eu
+
+cp -r tests "$ADTTMP"
+cat debian/patches/disable_example_files_test.patch | (cd "$ADTTMP/tests" && patch -p2)
+cd "$ADTTMP/tests"
+
+for python in $(py3versions -i); do
+ PYTHONWARNINGS=d $python ./run.py 2>&1
+done
Property changes on: packages/pygments/trunk/debian/tests/python3-pygments
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-modules-commits
mailing list