debian/0000755000000000000000000000000012135210574007166 5ustar debian/rules0000755000000000000000000000031112135210464010237 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --with python2 override_dh_auto_test: set -ex; for python in $(shell pyversions -s); do\ $$python test.py; \ done .PHONY: override_dh_auto_test debian/compat0000644000000000000000000000000212135210464010362 0ustar 9 debian/control0000644000000000000000000000230212135210464010564 0ustar Source: python-hiredis Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Apollon Oikonomopoulos Build-Depends: debhelper (>= 9), python-all-dev, libhiredis-dev, python-setuptools Standards-Version: 3.9.4 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-hiredis/trunk Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-hiredis/trunk Homepage: http://github.com/pietern/hiredis-py Package: python-hiredis Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: python-redis Suggests: redis-server, python-gevent Description: redis protocol reader for Python using hiredis python-hiredis provides a Python extension that wraps the protocol parsing code in Hiredis. It is targeted at speeding up parsing multi bulk replies from redis-server. . Hiredis is a minimalistic C client library for the Redis database, a persistent key-value database with support for atomically manipulating and querying data structures such as lists and sets. . python-hiredis is not a stand-alone redis client library and requires other code to perform low-level I/O with redis. debian/watch0000644000000000000000000000011412135210464010211 0ustar version=3 https://github.com/pietern/hiredis-py/tags .*/v(\d[\d\.]+).tar.gz debian/copyright0000644000000000000000000000337012135210464011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: hiredis-py Source: http://github.com/pietern/hiredis-py Files: * Copyright: 2011-2012, Pieter Noordhuis License: BSD-3-clause Files: debian/* Copyright: 2013 Apollon Oikonomopoulos License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Redis nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/python-hiredis.docs0000644000000000000000000000001212135210464012775 0ustar README.md debian/patches/0000755000000000000000000000000012135210574010615 5ustar debian/patches/series0000644000000000000000000000004112135210464012023 0ustar 0001-Use-system-libhiredis.patch debian/patches/0001-Use-system-libhiredis.patch0000644000000000000000000000176712135210464016417 0ustar From: Apollon Oikonomopoulos Date: Mon, 22 Apr 2013 10:51:27 +0300 Subject: Use system libhiredis Patch setup.py to not build hiredis in vendor/ Forwarded: no Last-Updated: 2013-04-22 --- setup.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/setup.py b/setup.py index cb6bd26..f22628d 100755 --- a/setup.py +++ b/setup.py @@ -20,13 +20,9 @@ class install_lib(_install_lib.install_lib): if self.distribution.has_ext_modules(): self.run_command('build_ext') -lib = ("hiredis", { - "sources": ["vendor/hiredis/%s.c" % src for src in ("hiredis", "net", "sds")], - "include_dirs": ["vendor/hiredis"]}) - ext = Extension("hiredis.hiredis", sources=glob.glob("src/*.c"), - include_dirs=["src", "vendor"], + include_dirs=["src"], libraries=["hiredis"]) setup( @@ -39,7 +35,6 @@ setup( keywords=["Redis"], license="BSD", packages=["hiredis"], - libraries=[lib], ext_modules=[ext], # Override "install_lib" command debian/changelog0000644000000000000000000000024712135210464011041 0ustar python-hiredis (0.1.1-1) unstable; urgency=low * Initial release (Closes: #705915) -- Apollon Oikonomopoulos Mon, 22 Apr 2013 10:38:35 +0300 debian/source/0000755000000000000000000000000012135210574010466 5ustar debian/source/format0000644000000000000000000000001412135210464011672 0ustar 3.0 (quilt)