[Python-modules-commits] r22474 - in packages/python-markdown/tags (13 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Sun Jul 29 10:41:48 UTC 2012


    Date: Sunday, July 29, 2012 @ 10:41:47
  Author: mitya57-guest
Revision: 22474

[svn-buildpackage] Tagging python-markdown 2.2.0-1

Added:
  packages/python-markdown/tags/2.2.0-1/
  packages/python-markdown/tags/2.2.0-1/debian/changelog
    (from rev 22473, packages/python-markdown/trunk/debian/changelog)
  packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_tests.patch
    (from rev 22472, packages/python-markdown/trunk/debian/patches/git_fix_tests.patch)
  packages/python-markdown/tags/2.2.0-1/debian/patches/series
    (from rev 22471, packages/python-markdown/trunk/debian/patches/series)
  packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base
    (from rev 22471, packages/python-markdown/trunk/debian/python-markdown-doc.doc-base)
  packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs
    (from rev 22471, packages/python-markdown/trunk/debian/python-markdown-doc.docs)
  packages/python-markdown/tags/2.2.0-1/debian/rules
    (from rev 22471, packages/python-markdown/trunk/debian/rules)
Deleted:
  packages/python-markdown/tags/2.2.0-1/debian/changelog
  packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_inline_html.patch
  packages/python-markdown/tags/2.2.0-1/debian/patches/series
  packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base
  packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs
  packages/python-markdown/tags/2.2.0-1/debian/rules

Deleted: packages/python-markdown/tags/2.2.0-1/debian/changelog
===================================================================
--- packages/python-markdown/trunk/debian/changelog	2012-07-28 19:15:43 UTC (rev 22470)
+++ packages/python-markdown/tags/2.2.0-1/debian/changelog	2012-07-29 10:41:47 UTC (rev 22474)
@@ -1,157 +0,0 @@
-python-markdown (2.1.1-4) UNRELEASED; urgency=low
-
-  * Recommend python[3]-pygments packages (needed for codehilite extension)
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 21 Jun 2012 15:09:08 +0400
-
-python-markdown (2.1.1-3) unstable; urgency=low
-
-  [ Dmitry Shachnev ]
-  * Bump Standards-Version to 3.9.3
-  * Make module packages suggest the doc package
-  * Add doc-base file
-  * Run tests during build
-  * Add debian/patches/git_fix_inline_html.patch to fix issues with
-    inline html handling (closes: #646552)
-
-  [ Bernd Zeimetz ]
-  * Setting DM-Upload-Allowed: yes 
-
- -- Bernd Zeimetz <bzed at debian.org>  Sat, 05 May 2012 22:31:31 +0200
-
-python-markdown (2.1.1-2) unstable; urgency=low
-
-  * Switch to debhelper 8
-  * Add python-markdown-doc package
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 16 Feb 2012 19:06:04 +0400
-
-python-markdown (2.1.1-1) unstable; urgency=low
-
-  * Add myself to Uploaders
-  * New upstream release
-  * Add debian/markdown_py.1 manpage
-  * Drop 01-fix-unusual-interpreter.patch, fixed upstream
-
- -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 25 Jan 2012 13:26:18 +0400
-
-python-markdown (2.1.0-1) unstable; urgency=low
-
-  [ Dmitry Shachnev ]
-  * New upstream release
-  * Use 3.0 (quilt) source format
-  * Port to dh_python*
-  * Build Python3 package (closes: #647094)
-  * debian/patches/01-fix-unusual-interpreter.patch:
-    - fix interpreter in def_list and tables extensions
-  * Bump Standards-Version to 3.9.2, no changes required
-
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Sun, 22 Jan 2012 15:24:30 +0400
-
-python-markdown (2.0.3-2) unstable; urgency=low
-
-  * Rename /usr/bin/markdown to /usr/bin/markdown_py for now. The Python
-    implementation is not compatible enough to be an alternative for the Perl
-    version yet. (Closes: #567378)
-  * Get rid of the new source format mess, we use the default.
-  * Add .PHONY to debian/rules. 
-  * Bump Standards-Version to 3.8.4 - no changes needed.
-  * Drop XB-Python-Version, not needed.
-
- -- Bernd Zeimetz <bzed at debian.org>  Wed, 24 Feb 2010 23:24:10 +0100
-
-python-markdown (2.0.3-1) unstable; urgency=low
-
-  [ Raphaël Hertzog ]
-  * New upstream release. Closes: #525563
-  * Remove myself from Uploaders.
-  * Update watch file to point to pypi.
-  * Switch to source format "3.0 (quilt)".
-  * Fix URL in README.Debian. Closes: #532416
-  * Switch to debhelper 7 tiny rules files and compat mode 7.
-  * Build-depends on python instead of python-dev.
-  * Update Standards-Version to 3.8.3.
-
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Wed, 27 Jan 2010 17:48:00 +0100
-
-python-markdown (1.7-2) unstable; urgency=low
-
-  [ Sandro Tosi ]
-  * debian/control
-    - switch Vcs-Browser field to viewsvn
-
-  [ Emilio Pozuelo Monfort ]
-  * debian/rules: Don't rely on python-support directory
-    structure. Thanks Josselin Mouette. Closes: #517061.
-  * Standards-Version is 3.8.0. No changes needed.
-
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Wed, 25 Feb 2009 23:35:20 +0100
-
-python-markdown (1.7-1) unstable; urgency=low
-
-  [ Bernd Zeimetz ]
-  * New upstream version.
-  * debian/control:
-    - Adding Homepage field, removing pseudo-field from description
-    - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
-    - Updating my email address
-    - Bumping Standards-Version to 3.7.3 - no changes needed.
-
-  [ Sandro Tosi ]
-  * debian/control
-    - uniforming Vcs-Browser field
-
- -- Bernd Zeimetz <bzed at debian.org>  Sun, 02 Mar 2008 23:43:50 +0100
-
-python-markdown (1.6b-1) unstable; urgency=low
-
-  * New upstream version
-
- -- Bernd Zeimetz <bernd at bzed.de>  Sun, 19 Aug 2007 01:41:04 +0200
-
-python-markdown (1.6a-1) unstable; urgency=low
-
-  * New upstream version (Closes: #398856)
-  * debian/control:
-    - Added XS-Vcs-Browser, XS-Vcs-Svn field
-    - Moved python-support to Build-Depends, fixing lintian
-      error clean-should-be-satisfied-by-build-depends
-  * debian/watch:
-    - Updating watch file - upstream ships a .zip file now
-  * debian/changelog.pointer:
-    - Removing file, upstream ships a changelog now
-  * debian/README.Debian:
-    - Updated, upstream ships a changelog now
-  * debian/copyright:
-    - Reflecting upstreams change in licensing, markdown is dual-licensed
-      under GPL-2 and BSD now
-  * debian/dirs:
-    - Removing file, not needed anymore
-  * debian/compat:
-    - Bumping to level 5
-
- -- Bernd Zeimetz <bernd at bzed.de>  Sat, 18 Aug 2007 14:36:15 +0200
-
-python-markdown (1.4-2) unstable; urgency=low
-
-  * Acknowledge previous NMU. Closes: #374865
-  * Update to new python policy. Closes: #373326
-  * Updated Standards-Version.
-  * Added myself to uploaders.
-
- -- Raphael Hertzog <hertzog at debian.org>  Fri, 23 Jun 2006 10:48:53 +0200
-
-python-markdown (1.4-1.1) unstable; urgency=high
-
-  * Non-maintainer upload.
-  * Build-depend on python-dev instead of python; fixes FTBFS, patch from
-    Andreas Jochens. (Closes: #373201)
-
- -- Steinar H. Gunderson <sesse at debian.org>  Tue, 20 Jun 2006 23:53:45 +0200
-
-python-markdown (1.4-1) unstable; urgency=low
-
-  * Initial release Closes: #364082
-
- -- Fredrik Steen <stone at debian.org>  Fri, 21 Apr 2006 13:18:31 +0200
-

Copied: packages/python-markdown/tags/2.2.0-1/debian/changelog (from rev 22473, packages/python-markdown/trunk/debian/changelog)
===================================================================
--- packages/python-markdown/tags/2.2.0-1/debian/changelog	                        (rev 0)
+++ packages/python-markdown/tags/2.2.0-1/debian/changelog	2012-07-29 10:41:47 UTC (rev 22474)
@@ -0,0 +1,162 @@
+python-markdown (2.2.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Recommend python[3]-pygments packages (needed for codehilite extension)
+  * Adjust to upstream documentation changes
+  * Don't compress text files that go with the documentation
+  * git_fix_inline_html.patch: dropped, applied in the new release
+  * git_fix_tests.patch: patch from upstream git to fix test suite failures
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Sun, 29 Jul 2012 14:20:06 +0400
+
+python-markdown (2.1.1-3) unstable; urgency=low
+
+  [ Dmitry Shachnev ]
+  * Bump Standards-Version to 3.9.3
+  * Make module packages suggest the doc package
+  * Add doc-base file
+  * Run tests during build
+  * Add debian/patches/git_fix_inline_html.patch to fix issues with
+    inline html handling (closes: #646552)
+
+  [ Bernd Zeimetz ]
+  * Setting DM-Upload-Allowed: yes 
+
+ -- Bernd Zeimetz <bzed at debian.org>  Sat, 05 May 2012 22:31:31 +0200
+
+python-markdown (2.1.1-2) unstable; urgency=low
+
+  * Switch to debhelper 8
+  * Add python-markdown-doc package
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 16 Feb 2012 19:06:04 +0400
+
+python-markdown (2.1.1-1) unstable; urgency=low
+
+  * Add myself to Uploaders
+  * New upstream release
+  * Add debian/markdown_py.1 manpage
+  * Drop 01-fix-unusual-interpreter.patch, fixed upstream
+
+ -- Dmitry Shachnev <mitya57 at gmail.com>  Wed, 25 Jan 2012 13:26:18 +0400
+
+python-markdown (2.1.0-1) unstable; urgency=low
+
+  [ Dmitry Shachnev ]
+  * New upstream release
+  * Use 3.0 (quilt) source format
+  * Port to dh_python*
+  * Build Python3 package (closes: #647094)
+  * debian/patches/01-fix-unusual-interpreter.patch:
+    - fix interpreter in def_list and tables extensions
+  * Bump Standards-Version to 3.9.2, no changes required
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Sun, 22 Jan 2012 15:24:30 +0400
+
+python-markdown (2.0.3-2) unstable; urgency=low
+
+  * Rename /usr/bin/markdown to /usr/bin/markdown_py for now. The Python
+    implementation is not compatible enough to be an alternative for the Perl
+    version yet. (Closes: #567378)
+  * Get rid of the new source format mess, we use the default.
+  * Add .PHONY to debian/rules. 
+  * Bump Standards-Version to 3.8.4 - no changes needed.
+  * Drop XB-Python-Version, not needed.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Wed, 24 Feb 2010 23:24:10 +0100
+
+python-markdown (2.0.3-1) unstable; urgency=low
+
+  [ Raphaël Hertzog ]
+  * New upstream release. Closes: #525563
+  * Remove myself from Uploaders.
+  * Update watch file to point to pypi.
+  * Switch to source format "3.0 (quilt)".
+  * Fix URL in README.Debian. Closes: #532416
+  * Switch to debhelper 7 tiny rules files and compat mode 7.
+  * Build-depends on python instead of python-dev.
+  * Update Standards-Version to 3.8.3.
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Wed, 27 Jan 2010 17:48:00 +0100
+
+python-markdown (1.7-2) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+  [ Emilio Pozuelo Monfort ]
+  * debian/rules: Don't rely on python-support directory
+    structure. Thanks Josselin Mouette. Closes: #517061.
+  * Standards-Version is 3.8.0. No changes needed.
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Wed, 25 Feb 2009 23:35:20 +0100
+
+python-markdown (1.7-1) unstable; urgency=low
+
+  [ Bernd Zeimetz ]
+  * New upstream version.
+  * debian/control:
+    - Adding Homepage field, removing pseudo-field from description
+    - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+    - Updating my email address
+    - Bumping Standards-Version to 3.7.3 - no changes needed.
+
+  [ Sandro Tosi ]
+  * debian/control
+    - uniforming Vcs-Browser field
+
+ -- Bernd Zeimetz <bzed at debian.org>  Sun, 02 Mar 2008 23:43:50 +0100
+
+python-markdown (1.6b-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Sun, 19 Aug 2007 01:41:04 +0200
+
+python-markdown (1.6a-1) unstable; urgency=low
+
+  * New upstream version (Closes: #398856)
+  * debian/control:
+    - Added XS-Vcs-Browser, XS-Vcs-Svn field
+    - Moved python-support to Build-Depends, fixing lintian
+      error clean-should-be-satisfied-by-build-depends
+  * debian/watch:
+    - Updating watch file - upstream ships a .zip file now
+  * debian/changelog.pointer:
+    - Removing file, upstream ships a changelog now
+  * debian/README.Debian:
+    - Updated, upstream ships a changelog now
+  * debian/copyright:
+    - Reflecting upstreams change in licensing, markdown is dual-licensed
+      under GPL-2 and BSD now
+  * debian/dirs:
+    - Removing file, not needed anymore
+  * debian/compat:
+    - Bumping to level 5
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Sat, 18 Aug 2007 14:36:15 +0200
+
+python-markdown (1.4-2) unstable; urgency=low
+
+  * Acknowledge previous NMU. Closes: #374865
+  * Update to new python policy. Closes: #373326
+  * Updated Standards-Version.
+  * Added myself to uploaders.
+
+ -- Raphael Hertzog <hertzog at debian.org>  Fri, 23 Jun 2006 10:48:53 +0200
+
+python-markdown (1.4-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Build-depend on python-dev instead of python; fixes FTBFS, patch from
+    Andreas Jochens. (Closes: #373201)
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Tue, 20 Jun 2006 23:53:45 +0200
+
+python-markdown (1.4-1) unstable; urgency=low
+
+  * Initial release Closes: #364082
+
+ -- Fredrik Steen <stone at debian.org>  Fri, 21 Apr 2006 13:18:31 +0200
+

Deleted: packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_inline_html.patch
===================================================================
--- packages/python-markdown/trunk/debian/patches/git_fix_inline_html.patch	2012-07-28 19:15:43 UTC (rev 22470)
+++ packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_inline_html.patch	2012-07-29 10:41:47 UTC (rev 22474)
@@ -1,18 +0,0 @@
-Description: Properly identify right tags in raw html
-Origin: https://github.com/waylan/Python-Markdown/commit/07f2057734
-Bug: https://github.com/waylan/Python-Markdown/issues/75
-Bug-Debian: http://bugs.debian.org/646552
-
-diff --git a/markdown/preprocessors.py b/markdown/preprocessors.py
-index c0f0034..f20f040 100644
---- a/markdown/preprocessors.py
-+++ b/markdown/preprocessors.py
-@@ -116,7 +116,7 @@ class HtmlBlockPreprocessor(Preprocessor):
-         if (right_tag == "--" and left_tag == "--"):
-             return True
-         elif left_tag == right_tag[1:] \
--            and right_tag[0] != "<":
-+            and right_tag[0] == "/":
-             return True
-         else:
-             return False

Copied: packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_tests.patch (from rev 22472, packages/python-markdown/trunk/debian/patches/git_fix_tests.patch)
===================================================================
--- packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_tests.patch	                        (rev 0)
+++ packages/python-markdown/tags/2.2.0-1/debian/patches/git_fix_tests.patch	2012-07-29 10:41:47 UTC (rev 22474)
@@ -0,0 +1,85 @@
+Description: Fix testsuite failures
+Origin: https://github.com/waylan/Python-Markdown/commit/5b3e724fb7
+Bug: https://github.com/waylan/Python-Markdown/issues/112
+
+diff --git a/markdown/__init__.py b/markdown/__init__.py
+index 64686c8..149ec30 100644
+--- a/markdown/__init__.py
++++ b/markdown/__init__.py
+@@ -37,6 +37,7 @@ import re
+ import codecs
+ import sys
+ import logging
++import warnings
+ import util
+ from preprocessors import build_preprocessors
+ from blockprocessors import build_block_parser
+@@ -163,10 +164,10 @@ class Markdown:
+             if isinstance(ext, basestring):
+                 ext = self.build_extension(ext, configs.get(ext, []))
+             if isinstance(ext, Extension):
+-                # might raise NotImplementedError, but that's the extension author's problem
+                 ext.extendMarkdown(self, globals())
+             elif ext is not None:
+-                raise ValueError('Extension "%s.%s" must be of type: "markdown.Extension".' \
++                raise TypeError(
++                    'Extension "%s.%s" must be of type: "markdown.Extension"'
+                     % (ext.__class__.__module__, ext.__class__.__name__))
+ 
+         return self
+@@ -200,19 +201,22 @@ class Markdown:
+             module_name_old_style = '_'.join(['mdx', ext_name])
+             try: # Old style (mdx_<extension>)
+                 module = __import__(module_name_old_style)
+-            except ImportError:
+-                logger.warn("Failed loading extension '%s' from '%s' or '%s'"
+-                    % (ext_name, module_name, module_name_old_style))
+-                # Return None so we don't try to initiate none-existant extension
+-                return None
++            except ImportError, e:
++                message = "Failed loading extension '%s' from '%s' or '%s'" \
++                    % (ext_name, module_name, module_name_old_style)
++                e.args = (message,) + e.args[1:]
++                raise
+ 
+         # If the module is loaded successfully, we expect it to define a
+         # function called makeExtension()
+         try:
+             return module.makeExtension(configs.items())
+         except AttributeError, e:
+-            logger.warn("Failed to initiate extension '%s': %s" % (ext_name, e))
+-            return None
++            message = e.args[0]
++            message = "Failed to initiate extension " \
++                      "'%s': %s" % (ext_name, message)
++            e.args = (message,) + e.args[1:]
++            raise
+ 
+     def registerExtension(self, extension):
+         """ This gets called by the extension """
+diff --git a/tests/test_apis.py b/tests/test_apis.py
+index 0296f27..31a60e1 100644
+--- a/tests/test_apis.py
++++ b/tests/test_apis.py
+@@ -245,18 +245,18 @@ class TestErrors(unittest.TestCase):
+ 
+     def testLoadExtensionFailure(self):
+         """ Test failure of an extension to load. """
+-        self.assertRaises(ValueError, 
++        self.assertRaises(ImportError, 
+                         markdown.Markdown, extensions=['non_existant_ext']) 
+ 
+     def testLoadBadExtension(self):
+         """ Test loading of an Extension with no makeExtension function. """
+         _create_fake_extension(name='fake', has_factory_func=False)
+-        self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
++        self.assertRaises(AttributeError, markdown.Markdown, extensions=['fake'])
+ 
+     def testNonExtension(self):
+         """ Test loading a non Extension object as an extension. """
+         _create_fake_extension(name='fake', is_wrong_type=True)
+-        self.assertRaises(ValueError, markdown.Markdown, extensions=['fake'])
++        self.assertRaises(TypeError, markdown.Markdown, extensions=['fake'])
+ 
+     def testBaseExtention(self):
+         """ Test that the base Extension class will raise NotImplemented. """

Deleted: packages/python-markdown/tags/2.2.0-1/debian/patches/series
===================================================================
--- packages/python-markdown/trunk/debian/patches/series	2012-07-28 19:15:43 UTC (rev 22470)
+++ packages/python-markdown/tags/2.2.0-1/debian/patches/series	2012-07-29 10:41:47 UTC (rev 22474)
@@ -1 +0,0 @@
-git_fix_inline_html.patch

Copied: packages/python-markdown/tags/2.2.0-1/debian/patches/series (from rev 22471, packages/python-markdown/trunk/debian/patches/series)
===================================================================
--- packages/python-markdown/tags/2.2.0-1/debian/patches/series	                        (rev 0)
+++ packages/python-markdown/tags/2.2.0-1/debian/patches/series	2012-07-29 10:41:47 UTC (rev 22474)
@@ -0,0 +1 @@
+git_fix_tests.patch

Deleted: packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base
===================================================================
--- packages/python-markdown/trunk/debian/python-markdown-doc.doc-base	2012-07-28 19:15:43 UTC (rev 22470)
+++ packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base	2012-07-29 10:41:47 UTC (rev 22474)
@@ -1,10 +0,0 @@
-Document: python-markdown
-Title: Markdown module for Python
-Author: Python Markdown Project
-Abstract: This is documentation of python-markdown module, which includes usage instructions,
- extensions documentation and API reference.
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-markdown-doc/index.html
-Files: /usr/share/doc/python-markdown-doc/*.html /usr/share/doc/python-markdown-doc/extensions/*.html

Copied: packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base (from rev 22471, packages/python-markdown/trunk/debian/python-markdown-doc.doc-base)
===================================================================
--- packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base	                        (rev 0)
+++ packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.doc-base	2012-07-29 10:41:47 UTC (rev 22474)
@@ -0,0 +1,10 @@
+Document: python-markdown
+Title: Markdown module for Python
+Author: Python Markdown Project
+Abstract: This is documentation of python-markdown module, which includes usage instructions,
+ extensions documentation and API reference.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-markdown-doc/docs/index.html
+Files: /usr/share/doc/python-markdown-doc/docs/*.html /usr/share/doc/python-markdown-doc/docs/extensions/*.html

Deleted: packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs
===================================================================
--- packages/python-markdown/trunk/debian/python-markdown-doc.docs	2012-07-28 19:15:43 UTC (rev 22470)
+++ packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs	2012-07-29 10:41:47 UTC (rev 22474)
@@ -1,4 +0,0 @@
-build/docs/AUTHORS
-build/docs/*.html
-build/docs/*.css
-build/docs/extensions

Copied: packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs (from rev 22471, packages/python-markdown/trunk/debian/python-markdown-doc.docs)
===================================================================
--- packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs	                        (rev 0)
+++ packages/python-markdown/tags/2.2.0-1/debian/python-markdown-doc.docs	2012-07-29 10:41:47 UTC (rev 22474)
@@ -0,0 +1 @@
+build/docs/

Deleted: packages/python-markdown/tags/2.2.0-1/debian/rules
===================================================================
--- packages/python-markdown/trunk/debian/rules	2012-07-28 19:15:43 UTC (rev 22470)
+++ packages/python-markdown/tags/2.2.0-1/debian/rules	2012-07-29 10:41:47 UTC (rev 22474)
@@ -1,47 +0,0 @@
-#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-
-PYTHON2=$(shell pyversions -r)
-PYTHON3=$(shell py3versions -r)
-
-%:
-	dh $@ --with python2,python3
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf build/
-
-override_dh_auto_install:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py install --install-layout=deb --root=debian/tmp; \
-	done
-	dh_auto_install
-
-override_dh_auto_build:
-	set -ex; for python in $(PYTHON3); do \
-		$$python setup.py build; \
-	done
-	dh_auto_build
-
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-override_dh_auto_test:
-	set -ex; for python in $(PYTHON2); do \
-		$$python run-tests.py; \
-	done
-	cp -a tests build/lib/tests
-	2to3 -w build/lib/tests
-	set -ex; for pyversion in $(shell py3versions -vr); do \
-		nosetests-$$pyversion -w $(CURDIR)/build/lib/tests; \
-	done
-	rm -r build/lib/test*
-	dh_auto_test
-endif
-
-override_dh_installdocs:
-	dh_installdocs -XCHANGELOG
-
-override_dh_installchangelogs:
-	dh_installchangelogs docs/CHANGE_LOG
-
-.PHONY: override_dh_auto_clean override_dh_auto_install override_dh_auto_test \
-override_dh_installdocs override_dh_installchangelogs

Copied: packages/python-markdown/tags/2.2.0-1/debian/rules (from rev 22471, packages/python-markdown/trunk/debian/rules)
===================================================================
--- packages/python-markdown/tags/2.2.0-1/debian/rules	                        (rev 0)
+++ packages/python-markdown/tags/2.2.0-1/debian/rules	2012-07-29 10:41:47 UTC (rev 22474)
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+PYTHON2=$(shell pyversions -r)
+PYTHON3=$(shell py3versions -r)
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build/
+
+override_dh_auto_install:
+	set -ex; for python in $(PYTHON3); do \
+		$$python setup.py install --install-layout=deb --root=debian/tmp; \
+	done
+	dh_auto_install
+
+override_dh_auto_build:
+	set -ex; for python in $(PYTHON3); do \
+		$$python setup.py build; \
+	done
+	dh_auto_build
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+	set -ex; for python in $(PYTHON2); do \
+		$$python run-tests.py; \
+	done
+	cp -a tests build/lib/tests
+	2to3 -w --no-diffs build/lib/tests
+	set -ex; for pyversion in $(shell py3versions -vr); do \
+		nosetests-$$pyversion -w $(CURDIR)/build/lib/tests; \
+	done
+	rm -r build/lib/test*
+	dh_auto_test
+endif
+
+override_dh_compress:
+	dh_compress -X.txt
+
+.PHONY: override_dh_auto_clean override_dh_auto_install override_dh_auto_test \
+override_dh_compress




More information about the Python-modules-commits mailing list