debian/0000775000000000000000000000000011752036660007176 5ustar debian/compat0000664000000000000000000000000211750330254010366 0ustar 7 debian/control0000664000000000000000000000147611751703570010611 0ustar Source: python-lzo Maintainer: Mehdi Abaakouk Section: python Priority: optional Build-Depends: python-all-dev (>= 2.6.6-3), debhelper (>= 7.0.50~), liblzo2-dev Standards-Version: 3.9.3 Homepage: http://www.oberhumer.com/opensource/lzo/ Package: python-lzo Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: Python bindings for the LZO data compression library This module provides Python bindings for the LZO data compression library. . LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and *very* fast decompression. Decompression requires no memory. . In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed. debian/patches/0000775000000000000000000000000011752036652010626 5ustar debian/patches/02-fix-exception-handling-in-test.patch0000664000000000000000000000064511752036652020020 0ustar Description: fix the incorrect return status of a test Index: python-lzo/tests/test.py =================================================================== --- python-lzo.orig/tests/test.py 2012-05-07 13:52:28.000000000 +0200 +++ python-lzo/tests/test.py 2012-05-07 19:05:01.000000000 +0200 @@ -95,6 +95,7 @@ pass else: print "Exception handling does NOT work !" + return 1 return 0 debian/patches/01-use-lzo2-insteadof-lzo.patch0000664000000000000000000000125511750526555016330 0ustar commit 4a98ad92d8e5ca3d954bf2270706c8c624a685a5 Author: Joshua Boyd Date: Thu Sep 15 11:19:52 2011 -0400 Adjust setup.py to work with lzo2. diff --git a/setup.py b/setup.py index 5a9b535..39e4c56 100644 --- a/setup.py +++ b/setup.py @@ -24,8 +24,8 @@ if sys.platform == "win32": include_dirs.append(os.path.join(CURL_DIR, "include")) extra_objects.append(os.path.join(CURL_DIR, "lzo.lib")) else: - libraries = ["lzo"] - ##include_dirs.append("/usr/local/include") + libraries = ["lzo2"] + include_dirs.append("/usr/include/lzo") ##library_dirs.append("/usr/local/lib") ##runtime_library_dirs.append("/usr/local/lib") debian/patches/series0000664000000000000000000000011011752001225012017 0ustar 01-use-lzo2-insteadof-lzo.patch 02-fix-exception-handling-in-test.patch debian/copyright0000664000000000000000000000226611751703234011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: python-lzo Source: http://www.oberhumer.com/opensource/lzo/ Files: * Copyright: Copyright (c) 1996-2002 Markus F.X.J. Oberhumer License: GPL-2+ Files: debian/* Copyright: Copyright 2012 Mehdi Abaakouk License: GPL-2+ License: GPL-2+ This program 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; either version 2 of the License, or (at your option) any later version. . This program 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. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/watch0000664000000000000000000000013611750561236010227 0ustar version=3 http://www.oberhumer.com/opensource/lzo/download/LZO-v1/python-lzo-([^-]+)\.tar\.gz debian/changelog0000664000000000000000000000043511752035612011046 0ustar python-lzo (1.08-1) unstable; urgency=low * Initial import (Closes: #671375) * add patches/01-use-lzo2-insteadof-lzo.patch to use lzo2 instead of lzo * add patches/02-fix-exception-handling-in-test.patch -- Mehdi Abaakouk Mon, 07 May 2012 19:31:01 +0200 debian/source/0000775000000000000000000000000011750330254010470 5ustar debian/source/format0000664000000000000000000000001411750330254011676 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000053711752001225010250 0ustar #!/usr/bin/make -f # Force use setup.py build system instead of broken Makefile # to build against multiple python version %: dh $@ --with python2 --buildsystem=python_distutils override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -ex ; \ for python in $(shell pyversions -s); do \ $$python tests/test.py ; \ done endif