Bug#796481: seqdiag: diff for NMU version 0.9.3-4.1

2015-09-09 Thread Andrew Starr-Bochicchio
On Tue, Sep 8, 2015 at 8:32 AM, Stein Magnus Jodal
 wrote:
> I've prepared an NMU for seqdiag (versioned as 0.9.3-4.1) which I'll
> have a...@debian.org review and potentially upload. Please feel free to
> tell me if we should delay the upload.

Uploaded to DELAYED-2.

Thanks!



Bug#796481: seqdiag: diff for NMU version 0.9.3-4.1

2015-09-08 Thread Stein Magnus Jodal
Control: tags 796481 + patch
Control: tags 796481 + pending

Dear maintainer,

I've prepared an NMU for seqdiag (versioned as 0.9.3-4.1) which I'll
have a...@debian.org review and potentially upload. Please feel free to
tell me if we should delay the upload.

Regards,
Stein Magnus Jodal
diff -Nru seqdiag-0.9.3/debian/changelog seqdiag-0.9.3/debian/changelog
--- seqdiag-0.9.3/debian/changelog	2014-10-16 14:53:40.0 +0200
+++ seqdiag-0.9.3/debian/changelog	2015-09-08 14:21:51.0 +0200
@@ -1,3 +1,10 @@
+seqdiag (0.9.3-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove failing test_pep8.py. It is removed upstream too. (Closes: #796481)
+
+ -- Stein Magnus Jodal   Tue, 08 Sep 2015 14:20:15 +0200
+
 seqdiag (0.9.3-4) unstable; urgency=medium
 
   * debian/watch
diff -Nru seqdiag-0.9.3/debian/patches/0001-Remove-failing-test_pep8.py.patch seqdiag-0.9.3/debian/patches/0001-Remove-failing-test_pep8.py.patch
--- seqdiag-0.9.3/debian/patches/0001-Remove-failing-test_pep8.py.patch	1970-01-01 01:00:00.0 +0100
+++ seqdiag-0.9.3/debian/patches/0001-Remove-failing-test_pep8.py.patch	2015-09-08 14:23:14.0 +0200
@@ -0,0 +1,68 @@
+From: Stein Magnus Jodal 
+Date: Tue, 8 Sep 2015 14:22:55 +0200
+Subject: Remove failing test_pep8.py
+
+---
+ src/seqdiag/tests/test_pep8.py | 53 --
+ 1 file changed, 53 deletions(-)
+ delete mode 100644 src/seqdiag/tests/test_pep8.py
+
+diff --git a/src/seqdiag/tests/test_pep8.py b/src/seqdiag/tests/test_pep8.py
+deleted file mode 100644
+index 3d74cbf..000
+--- a/src/seqdiag/tests/test_pep8.py
 /dev/null
+@@ -1,53 +0,0 @@
+-# -*- coding: utf-8 -*-
+-
+-from __future__ import print_function
+-import os
+-import sys
+-import pep8
+-
+-CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
+-BASE_DIR = os.path.dirname(CURRENT_DIR)
+-
+-
+-def test_pep8():
+-arglist = [['statistics', True],
+-   ['show-source', True],
+-   ['repeat', True],
+-   ['paths', [BASE_DIR]]]
+-
+-pep8style = pep8.StyleGuide(arglist, parse_argv=False, config_file=True)
+-options = pep8style.options
+-if options.doctest:
+-import doctest
+-fail_d, done_d = doctest.testmod(report=False, verbose=options.verbose)
+-fail_s, done_s = pep8.selftest(options)
+-count_failed = fail_s + fail_d
+-if not options.quiet:
+-count_passed = done_d + done_s - count_failed
+-print("%d passed and %d failed." % (count_passed, count_failed))
+-if count_failed:
+-print("Test failed.")
+-else:
+-print("Test passed.")
+-if count_failed:
+-sys.exit(1)
+-if options.testsuite:
+-pep8.init_tests(pep8style)
+-report = pep8style.check_files()
+-if options.statistics:
+-report.print_statistics()
+-if options.benchmark:
+-report.print_benchmark()
+-if options.testsuite and not options.quiet:
+-report.print_results()
+-if report.total_errors:
+-if options.count:
+-sys.stderr.write(str(report.total_errors) + '\n')
+-# sys.exit(1)
+-
+-# reporting errors (additional summary)
+-errors = report.get_count('E')
+-warnings = report.get_count('W')
+-message = 'pep8: %d errors / %d warnings' % (errors, warnings)
+-print(message)
+-assert report.total_errors == 0, message
diff -Nru seqdiag-0.9.3/debian/patches/series seqdiag-0.9.3/debian/patches/series
--- seqdiag-0.9.3/debian/patches/series	2014-10-15 02:36:41.0 +0200
+++ seqdiag-0.9.3/debian/patches/series	2015-09-08 14:23:14.0 +0200
@@ -0,0 +1 @@
+0001-Remove-failing-test_pep8.py.patch


signature.asc
Description: Digital signature