[Python-modules-commits] r21416 - in packages/python-djvulibre/trunk/debian (6 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Tue Apr 24 15:33:54 UTC 2012


    Date: Tuesday, April 24, 2012 @ 15:33:53
  Author: jwilk
Revision: 21416

Release 0.3.9-1.

Modified:
  packages/python-djvulibre/trunk/debian/changelog
  packages/python-djvulibre/trunk/debian/patches/series
  packages/python-djvulibre/trunk/debian/rules
Deleted:
  packages/python-djvulibre/trunk/debian/patches/build_sphinx.diff
  packages/python-djvulibre/trunk/debian/patches/lizardtech_link.diff
  packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff

Modified: packages/python-djvulibre/trunk/debian/changelog
===================================================================
--- packages/python-djvulibre/trunk/debian/changelog	2012-04-24 14:14:18 UTC (rev 21415)
+++ packages/python-djvulibre/trunk/debian/changelog	2012-04-24 15:33:53 UTC (rev 21416)
@@ -1,3 +1,12 @@
+python-djvulibre (0.3.9-1) unstable; urgency=low
+
+  * Team upload.
+  * New upstream release.
+    + Drop all patches, applied upstream.
+  * Run nosetests with --no-skip.
+
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 23 Apr 2012 22:49:03 +0200
+
 python-djvulibre (0.3.3-1.1) unstable; urgency=low
 
   * Non-maintainer upload.

Deleted: packages/python-djvulibre/trunk/debian/patches/build_sphinx.diff
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/build_sphinx.diff	2012-04-24 14:14:18 UTC (rev 21415)
+++ packages/python-djvulibre/trunk/debian/patches/build_sphinx.diff	2012-04-24 15:33:53 UTC (rev 21416)
@@ -1,43 +0,0 @@
-Description: make build_sphinx available even without setuptools.
-Origin: https://bitbucket.org/jwilk/python-djvulibre/changeset/55cfd0f79af0
-Last-Update: 2011-05-21 
-
---- a/setup.py
-+++ b/setup.py
-@@ -188,6 +188,24 @@ class clean(distutils.command.clean.clea
-                     os.remove(filename)
-         return distutils.command.clean.clean.run(self)
- 
-+if sphinx_setup_command:
-+    class build_sphinx(sphinx_setup_command.BuildDoc):
-+        def run(self):
-+            # Make sure that djvu module is imported from the correct
-+            # directory.
-+            #
-+            # The current directory (which is normally in sys.path[0]) is
-+            # typically a wrong choice: it contains djvu/__init__.py but the
-+            # extension modules. Prepend the directory that build_ext would
-+            # use instead.
-+            build_ext = self.get_finalized_command('build_ext')
-+            sys.path[:0] = [build_ext.build_lib]
-+            import djvu
-+            del sys.path[0]
-+            sphinx_setup_command.BuildDoc.run(self)
-+else:
-+    build_sphinx = None
-+
- setup_params = dict(
-     name = 'python-djvulibre',
-     version = __version__,
-@@ -210,8 +228,9 @@ setup_params = dict(
-     ],
-     py_modules = ['djvu.const'],
-     cmdclass = dict(
--        build_ext=build_ext,
--        clean=clean,
-+        (cmd.__name__, cmd)
-+        for cmd in (build_ext, clean, build_sphinx)
-+        if cmd is not None
-     )
- )
-

Deleted: packages/python-djvulibre/trunk/debian/patches/lizardtech_link.diff
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/lizardtech_link.diff	2012-04-24 14:14:18 UTC (rev 21415)
+++ packages/python-djvulibre/trunk/debian/patches/lizardtech_link.diff	2012-04-24 15:33:53 UTC (rev 21416)
@@ -1,15 +0,0 @@
-Description: doc: update link to Lizardtech DjVu Reference.
-Origin: https://bitbucket.org/jwilk/python-djvulibre/changeset/bd925e3ca460
-Last-Update: 2011-05-23
-
---- a/doc/source/conf.py
-+++ b/doc/source/conf.py
-@@ -43,7 +43,7 @@ intersphinx_mapping = {'http://docs.pyth
- 
- rst_epilog = '''
- .. |djvu3ref| replace:: Lizardtech DjVu Reference
--.. _djvu3ref: http://www.lizardtech.com/files/doc/techinfo/DjVu3Spec.djvu
-+.. _djvu3ref: http://djvu.org/docs/DjVu3Spec.djvu
- 
- .. |djvused| replace:: djvused manual
- .. _djvused: http://djvu.sourceforge.net/doc/man/djvused.html

Modified: packages/python-djvulibre/trunk/debian/patches/series
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/series	2012-04-24 14:14:18 UTC (rev 21415)
+++ packages/python-djvulibre/trunk/debian/patches/series	2012-04-24 15:33:53 UTC (rev 21416)
@@ -1,3 +0,0 @@
-build_sphinx.diff
-lizardtech_link.diff
-test_export_ps_normalize_whitespace.diff

Deleted: packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff	2012-04-24 14:14:18 UTC (rev 21415)
+++ packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff	2012-04-24 15:33:53 UTC (rev 21416)
@@ -1,31 +0,0 @@
-# HG changeset patch
-# User Jakub Wilk <jwilk at jwilk.net>
-# Date 1319235301 -7200
-# Node ID 5bee6af2b1d1cd3bc0d24ce0f0d9563984f4535c
-# Parent  b17e4a09e09938ba6b3402cf035b5c1932af8394
-test_export_ps: normalize whitespace.
-
-diff -r b17e4a09e09938ba6b3402cf035b5c1932af8394 -r 5bee6af2b1d1cd3bc0d24ce0f0d9563984f4535c tests/test_decode.py
---- a/tests/test_decode.py	Sat Oct 22 00:14:07 2011 +0200
-+++ b/tests/test_decode.py	Sat Oct 22 00:15:01 2011 +0200
-@@ -304,15 +304,16 @@
-             stdout, stderr = ipc.Popen(['ps2ascii', tmp.name], stdout=ipc.PIPE, stderr=ipc.PIPE, env={}).communicate()
-             assert_equal(stderr, b(''))
-             stdout = stdout.split(b('\n'))
-+            stdout = [b(' ').join(line.split()) for line in stdout]
-             assert_equal(stdout, [
-                 b(''),
-                 b(''),
--                b(' 3C'),
--                b(' red green blue cyan magenta yellow'),
-+                b('3C'),
-+                b('red green blue cyan magenta yellow'),
-                 b(''),
--                b(' red green blue cyan magenta yellow'),
-+                b('red green blue cyan magenta yellow'),
-                 b(''),
--                b(' 3\x0c'),
-+                b('3'),
-             ])
-         finally:
-             del tmp

Modified: packages/python-djvulibre/trunk/debian/rules
===================================================================
--- packages/python-djvulibre/trunk/debian/rules	2012-04-24 14:14:18 UTC (rev 21415)
+++ packages/python-djvulibre/trunk/debian/rules	2012-04-24 15:33:53 UTC (rev 21416)
@@ -5,7 +5,7 @@
 PYX_FILES = $(wildcard djvu/*.pyx)
 C_FILES = $(PYX_FILES:.pyx=.c)
 
-nosetests = /usr/bin/nosetests --verbose
+nosetests = /usr/bin/nosetests --verbose --no-skip
 
 pythonpath = $$(_py_=$(strip $(1)); _py_=$${_py_\#python}; ls -d $(CURDIR)/build/lib.*-$${_py_})
 pythonpath_dbg = $$(_py_=$(strip $(1)); _py_=$${_py_\#python}; ls -d $(CURDIR)/build/lib_d.*-$${_py_} 2>/dev/null || ls -d $(CURDIR)/build/lib.*-$${_py_}-pydebug)




More information about the Python-modules-commits mailing list