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

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Thu Jan 22 22:48:56 UTC 2015


    Date: Thursday, January 22, 2015 @ 22:48:55
  Author: danstender-guest
Revision: 31681

* New upstream release (Closes: #767769).
* deb/control: bumped standards to 3.9.6 (no changes needed).
* deb/copyright: expanded copyright spans.
* deb/rules:
  + hardened test calls by unset of LANGUAGE (Closes: #695049).
  + dropped Vim setup line.
* Docs package:
  + added sphinx-modules-path.diff (needed to prevent build break
    of new upstream tarball but also fixes inheritance diagrams).
  + deb/control: added build-deps needed for sphinx.ext.math extension.
  + deb/rules: moved dh_sphinxdoc to dh sequencer options.
* Added DEP-8 test suite.

Added:
  packages/python-djvulibre/trunk/debian/patches/
  packages/python-djvulibre/trunk/debian/patches/series
  packages/python-djvulibre/trunk/debian/patches/sphinx-modules-path.diff
  packages/python-djvulibre/trunk/debian/tests/
  packages/python-djvulibre/trunk/debian/tests/control
  packages/python-djvulibre/trunk/debian/tests/python-djvu
  packages/python-djvulibre/trunk/debian/tests/python3-djvu
Modified:
  packages/python-djvulibre/trunk/debian/changelog
  packages/python-djvulibre/trunk/debian/control
  packages/python-djvulibre/trunk/debian/copyright
  packages/python-djvulibre/trunk/debian/rules

Modified: packages/python-djvulibre/trunk/debian/changelog
===================================================================
--- packages/python-djvulibre/trunk/debian/changelog	2015-01-21 18:58:31 UTC (rev 31680)
+++ packages/python-djvulibre/trunk/debian/changelog	2015-01-22 22:48:55 UTC (rev 31681)
@@ -1,8 +1,20 @@
-python-djvulibre (0.3.9-4) UNRELEASED; urgency=low
+python-djvulibre (0.3.10-1) UNRELEASED; urgency=medium
 
-  * Added examples to docs package.
+  * New upstream release (Closes: #767769).
+  * deb/control: bumped standards to 3.9.6 (no changes needed).
+  * deb/copyright: expanded copyright spans.
+  * deb/rules:
+    + hardened test calls by unset of LANGUAGE (Closes: #695049).
+    + dropped Vim setup line.
+  * Docs package:
+    + added sphinx-modules-path.diff (needed to prevent build break
+      of new upstream tarball but also fixes inheritance diagrams).
+    + deb/control: added build-deps needed for sphinx.ext.math extension.
+    + deb/rules: moved dh_sphinxdoc to dh sequencer options.
+    + added examples/ to deb/python-djvu-doc.docs.
+  * Added DEP-8 test suite.
 
- -- Daniel Stender <debian at danielstender.com>  Thu, 21 Aug 2014 12:39:13 +0200
+ -- Daniel Stender <debian at danielstender.com>  Thu, 22 Jan 2015 23:47:25 +0100
 
 python-djvulibre (0.3.9-3) unstable; urgency=low
 

Modified: packages/python-djvulibre/trunk/debian/control
===================================================================
--- packages/python-djvulibre/trunk/debian/control	2015-01-21 18:58:31 UTC (rev 31680)
+++ packages/python-djvulibre/trunk/debian/control	2015-01-22 22:48:55 UTC (rev 31681)
@@ -9,6 +9,7 @@
  debhelper (>= 9),
  dh-python,
  djvulibre-bin,
+ dvipng,
  graphviz,
  libdjvulibre-dev,
  pkg-config,
@@ -20,11 +21,13 @@
  python-sphinx,
  python3-all-dbg,
  python3-all-dev,
- python3-nose
-Standards-Version: 3.9.5
+ python3-nose,
+ texlive-latex-extra
+Standards-Version: 3.9.6
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-djvulibre/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-djvulibre/trunk/
 Homepage: http://jwilk.net/software/python-djvulibre
+Testsuite: autopkgtest
 
 Package: python-djvu
 Architecture: any

Modified: packages/python-djvulibre/trunk/debian/copyright
===================================================================
--- packages/python-djvulibre/trunk/debian/copyright	2015-01-21 18:58:31 UTC (rev 31680)
+++ packages/python-djvulibre/trunk/debian/copyright	2015-01-22 22:48:55 UTC (rev 31681)
@@ -4,12 +4,12 @@
 Source: https://bitbucket.org/jwilk/python-djvulibre/
 
 Files: *
-Copyright: 2007-2012 Jakub Wilk <jwilk at jwilk.net>
+Copyright: 2007-2014 Jakub Wilk <jwilk at jwilk.net>
 License: GPL-2
 
 Files: debian/*
 Copyright: 2009-2010 Jakub Wilk <jwilk at debian.org>
-           2011-2014 Daniel Stender <debian at danielstender.com>
+           2011-2015 Daniel Stender <debian at danielstender.com>
 License: GPL-2
 
 License: GPL-2

Added: packages/python-djvulibre/trunk/debian/patches/series
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/patches/series	2015-01-22 22:48:55 UTC (rev 31681)
@@ -0,0 +1 @@
+sphinx-modules-path.diff

Added: packages/python-djvulibre/trunk/debian/patches/sphinx-modules-path.diff
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/sphinx-modules-path.diff	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/patches/sphinx-modules-path.diff	2015-01-22 22:48:55 UTC (rev 31681)
@@ -0,0 +1,16 @@
+Description: fix module import path for sphinx_build
+Author: Daniel Stender <debian at danielstender.com>
+Forwarded: not-needed
+Last-Update: 2015-01-22
+
+--- a/setup.py
++++ b/setup.py
+@@ -212,7 +212,7 @@
+             # 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]
++            sys.path[:0] = ['debian/python-djvu/usr/lib/python2.7/dist-packages']
+             for ext in ext_modules:
+                 __import__('djvu.' + ext)
+             del sys.path[0]

Modified: packages/python-djvulibre/trunk/debian/rules
===================================================================
--- packages/python-djvulibre/trunk/debian/rules	2015-01-21 18:58:31 UTC (rev 31680)
+++ packages/python-djvulibre/trunk/debian/rules	2015-01-22 22:48:55 UTC (rev 31681)
@@ -4,11 +4,11 @@
 export PYBUILD_NAME=djvu
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="cd {dir}/tests; ln -sf {build_dir}/djvu djvu; {interpreter} -m nose --verbose --no-skip; rm djvu" \
+	PYBUILD_TEST_ARGS="unset LANGUAGE; cd {dir}/tests; ln -sf {build_dir}/djvu djvu; {interpreter} -m nose --verbose --no-skip; rm djvu" \
 	dh_auto_test
 
 override_dh_install:
@@ -17,6 +17,3 @@
 override_dh_installdocs:
 	python setup.py build_sphinx
 	dh_installdocs -Xobjects.inv -A doc/credits.txt
-	dh_sphinxdoc
-
-vim:ts=4 sw=4 noet

Added: packages/python-djvulibre/trunk/debian/tests/control
===================================================================
--- packages/python-djvulibre/trunk/debian/tests/control	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/tests/control	2015-01-22 22:48:55 UTC (rev 31681)
@@ -0,0 +1,5 @@
+Tests: python-djvu
+Depends: python-djvu, python-nose
+
+Tests: python3-djvu
+Depends: python3-djvu, python3-nose

Added: packages/python-djvulibre/trunk/debian/tests/python-djvu
===================================================================
--- packages/python-djvulibre/trunk/debian/tests/python-djvu	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/tests/python-djvu	2015-01-22 22:48:55 UTC (rev 31681)
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e -u
+export PYTHONWARNINGS=d
+cp -a tests/ "$ADTTMP"
+cd "$ADTTMP/tests/"
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -m nose --verbose --no-skip 2>&1
\ No newline at end of file


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

Added: packages/python-djvulibre/trunk/debian/tests/python3-djvu
===================================================================
--- packages/python-djvulibre/trunk/debian/tests/python3-djvu	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/tests/python3-djvu	2015-01-22 22:48:55 UTC (rev 31681)
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e -u
+export PYTHONWARNINGS=d
+cp -a tests/ "$ADTTMP"
+cd "$ADTTMP/tests/"
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -m nose --verbose --no-skip 2>&1


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




More information about the Python-modules-commits mailing list