debian/0000775000000000000000000000000011745340211007166 5ustar debian/python-djvu-doc.doc-base0000664000000000000000000000052211252456106013622 0ustar Document: python-djvu-doc Title: python-djvulibre documentation Author: Jakub Wilk Section: Programming Format: HTML Index: /usr/share/doc/python-djvu-doc/html/index.html Files: /usr/share/doc/python-djvu-doc/html/*.html Format: Text Index: /usr/share/doc/python-djvu-doc/rst/index.txt Files: /usr/share/doc/python-djvu-doc/rst/*.txt debian/python-djvu.install0000664000000000000000000000016311365127302013047 0ustar usr/lib/python*/*-packages/*/*[!_][!_].so usr/lib/python*/*-packages/*/*.py usr/lib/python*/*-packages/*.egg-info/ debian/compat0000664000000000000000000000000211241007051010355 0ustar 7 debian/python-djvu.examples0000664000000000000000000000001311335036323013210 0ustar examples/* debian/control0000664000000000000000000000464611601164135010603 0ustar Source: python-djvulibre Section: python Priority: optional Maintainer: Daniel Stender Uploaders: Debian Python Modules Team Build-Depends: cython, debhelper (>= 7.3.5), djvulibre-bin, ghostscript, libdjvulibre-dev, locales, pkg-config, python-all-dbg, python-all-dev, python-nose, python-setuptools, python-support (>= 0.90) Build-Depends-Indep: graphviz, python-pygments, python-sphinx Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-djvulibre/trunk Vcs-Browser: http://svn.debian.org/viewvc/python-modules/packages/python-djvulibre/trunk Homepage: http://jwilk.net/software/python-djvulibre Package: python-djvu Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Suggests: python-djvu-doc Description: Python support for the DjVu image format python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu. This image format is designed primarily for scanned documents, it includes advanced techniques like image layer separation and arithmetic coding compression. . This package contains the Python bindings, please see python-djvu-doc for its documentation and python-djvu-dbg for debugging symbols. Package: python-djvu-dbg Section: debug Priority: extra Architecture: any Depends: python-djvu (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: Python support for the DjVu image format (debug extension) python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu. This image format is designed primarily for scanned documents, it includes advanced techniques like image layer separation and arithmetic coding compression. . This package contains the detached debugging symbols and the extensions built for the Python debug interpreter. Package: python-djvu-doc Section: doc Architecture: all Depends: libjs-jquery, ${misc:Depends} Recommends: python-djvu Description: Python support for the DjVu image format (documentation) python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu. This image format is designed primarily for scanned documents, it includes advanced techniques like image layer separation and arithmetic coding compression. . This package contains technical documentation. debian/patches/0000775000000000000000000000000011745340105010617 5ustar debian/patches/series0000664000000000000000000000000011745337600012030 0ustar debian/copyright0000664000000000000000000000200311566763761011140 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: python-djvulibre Upstream-Contact: Jakub Wilk Source: http://jwilk.net/software/python-djvulibre Files: * Copyright: 2007-2011 Jakub Wilk License: GPL-2 Files: debian/* Copyright: 2009-2010 Jakub Wilk 2011 Daniel Stender License: GPL-2 License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in the /usr/share/common-licenses/GPL-2 file. debian/watch0000664000000000000000000000014611241007051010211 0ustar version=3 http://pypi.python.org/packages/source/p/python-djvulibre/python-djvulibre-([0-9.]+).tar.gz debian/python-djvu-doc.links0000664000000000000000000000045711241211672013267 0ustar usr/share/doc/python-djvu-doc/html usr/share/doc/python-djvu/html usr/share/doc/python-djvu-doc/rst usr/share/doc/python-djvu/rst usr/share/doc/python-djvu-doc/html/_sources usr/share/doc/python-djvu-doc/rst usr/share/javascript/jquery/jquery.min.js usr/share/doc/python-djvu-doc/html/_static/jquery.js debian/python-djvu-dbg.install0000664000000000000000000000004411365125674013611 0ustar usr/lib/python*/*-packages/*/*_d.so debian/changelog0000664000000000000000000001175111745340102011044 0ustar 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 Mon, 23 Apr 2012 22:49:03 +0200 python-djvulibre (0.3.3-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: FAIL: test_decode.test_documents.test_export_ps": new patch test_export_ps_normalize_whitespace.diff from upstream repo. (Closes: #646177) -- gregor herrmann Mon, 19 Mar 2012 18:39:54 +0100 python-djvulibre (0.3.3-1) unstable; urgency=low * New maintainer (Closes: #598157). * New upstream release (Closes: #604036). + Fixes FTBFS with Python 2.7 (Closes: #606681). * Removed patches disable-memory-test.diff, max-cachesize-64bit.diff (fixed with 0.3.0), setup-disable-auto-cython.diff (workaround no longer needed). * Made build_sphinx available even without setuptools [build_sphinx.diff]. * Updated Lizardtech Djvu Reference link [lizardtech_link.diff] (Closes: #627290). * debian/control: + wrapped and sorted. + added build-dep locales. + bumped Standards-Version to 3.9.2 (no changes needed). + removed Replaces, Conflicts and Provides for python-djvulibre (a binary package name pre-dating publication in Debian archive). + extended package descriptions. * debian/rules: + removed building with cython from rules (no longer needed). + removal of dllpath.py after dh_install (not useful on Debian systems). + changed building of html docs to be processed with setup build_sphinx (doc/Makefile removed from upstream). + clean: added removal of .egg-info/ and of djvu/config.pxi. + tests: passing of explicit module names not needed anymore (test modules have been renamed for that) and doctests option dropped (no doctests anymore). + added generating of needed locales at build time to avoid build-dep on locales-all, added export LC_ALL=C. + added override for dh_installchangelogs instead of listing uptstream changelog in debian/*.doc. + added override for dh_compress to drop python-djvu-doc.compress (deprecated). * debian/copyright: + bumped DEP-5 revision to CANDIDATE. + changed maintainer. + expanded copyrights to cover also 2011. -- Daniel Stender Sun, 26 Jun 2011 23:41:15 +0200 python-djvulibre (0.1.18-2) unstable; urgency=low * Disable memory test that is likely to fail on 64-bit architectures. [disable-memory-test.diff] * Fix test for maximum cache size on 64-bit architectures. [max-cachesize-64bit.diff] -- Jakub Wilk Sat, 26 Jun 2010 01:50:10 +0200 python-djvulibre (0.1.18-1) unstable; urgency=low * New upstream release. * Update homepage URL. * Fix FTBFS with nostrip build option. * Run tests at build time: + Build-depend on python-nose, djvulibre-bin, ghostscript. -- Jakub Wilk Sat, 26 Jun 2010 00:39:07 +0200 python-djvulibre (0.1.17-2) unstable; urgency=low * Install example programs. * Switch to source format 3.0 (quilt). * Build python-djvu-dbg (debug extension + detached debug symbols): + Build-depend on python-all-dbg. + In order to work around bug #541314, disable automatic cythoning sources with setup.py. [setup-disable-auto-cython.diff] + Cython sources manually in debian/rules. * Rewrite debian/rules using overrides. * Don't install Sphinx artifacts (.buildinfo, objects.inv) into the binary package. -- Jakub Wilk Sun, 25 Apr 2010 22:54:18 +0200 python-djvulibre (0.1.17-1) unstable; urgency=low * New upstream release. * Update my e-mail addresses. * Let dh_installdocs install the upstream changelog. * Bump standards version to 3.8.4 (no changes needed). -- Jakub Wilk Thu, 11 Feb 2010 18:01:05 +0100 python-djvulibre (0.1.16-1) unstable; urgency=low * New upstream release. * Update debian/copyright. -- Jakub Wilk Sun, 03 Jan 2010 13:57:57 +0100 python-djvulibre (0.1.15-1) unstable; urgency=low * New upstream release. * Update homepage URI in debian/copyright. -- Jakub Wilk Wed, 04 Nov 2009 20:04:26 +0100 python-djvulibre (0.1.14-1) unstable; urgency=low * New upstream release (closes: #544950). * Use unversioned dependency on python-setuptools, as the required version is available even in oldstable. * Register documentation with doc-base. -- Jakub Wilk Fri, 11 Sep 2009 15:50:40 +0200 python-djvulibre (0.1.13-2) unstable; urgency=low * Make debian/rules safe for parallel builds. * Don't assume that the build target will be called with Build-Depends-Indep satisfied (does not close #544781). -- Jakub Wilk Thu, 03 Sep 2009 13:55:02 +0200 python-djvulibre (0.1.13-1) unstable; urgency=low * Initial release (closes: #540324). -- Jakub Wilk Sun, 16 Aug 2009 11:56:38 +0200 debian/python-djvu-doc.docs0000664000000000000000000000002311600415321013060 0ustar build/sphinx/html/ debian/source/0000775000000000000000000000000011745340105010470 5ustar debian/source/format0000664000000000000000000000001411353227617011705 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000401311745337650010261 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export LC_ALL=C PYX_FILES = $(wildcard djvu/*.pyx) C_FILES = $(PYX_FILES:.pyx=.c) 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) :PHONY: override_dh_install override_dh_install: dh_install rm -f $(CURDIR)/debian/python-djvu/usr/lib/python*/dist-packages/djvu/dllpath.py .PHONY: override_dh_installdocs override_dh_installdocs: ifneq ($(shell dh_listpackages | grep -x -F python-djvu-doc),) python setup.py build_sphinx endif dh_installdocs -X.buildinfo -Xobjects.inv .PHONY: override_dh_auto_clean override_dh_auto_clean: rm -Rf doc/build/ doc/stamp rm -Rf build/ find . -type f \( -name '*.py[co]' -or -name '*.so' -or -name '*.c' \) -delete rm -Rf *.egg-info/ rm -f djvu/config.pxi .PHONY: override_dh_strip override_dh_strip: ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) dh_strip --dbg-package=python-djvu-dbg cd debian/*-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules endif .PHONY: override_dh_auto_test override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) mkdir -p debian/tmp/locale/ localedef -f UTF-8 -i ja_JP ./debian/tmp/locale/ja_JP.UTF-8/ export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \ cd tests && \ set -x -e; \ for python in $(shell pyversions -r); do \ ln -sf $(call pythonpath,$$python)/djvu djvu; $$python $(nosetests); rm djvu; \ ln -sf $(call pythonpath_dbg,$$python)/djvu djvu; $$python-dbg $(nosetests); rm djvu; \ done endif .PHONY: override_dh_installchangelogs override_dh_installchangelogs: dh_installchangelogs doc/changelog .PHONY: override_dh_compress override_dh_compress: dh_compress -X.txt .PHONY: build build-arch build-indep binary binary-arch binary-indep clean build build-arch build-indep binary binary-arch binary-indep clean: dh $(@) # vim:ts=4 sw=4 noet