debian/0000755000000000000000000000000012313576700007172 5ustar debian/copyright0000644000000000000000000000364312307524011011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: py-leveldb Upstream-Contact: Arni Mar Jonsson Source: http://py-leveldb.googlecode.com/svn/trunk/ License: BSD-3-clause Copyright: 2011 Arni Mar Jonsson Files: * Copyright: 2011 Arni Mar Jonsson License: BSD-3-clause Files: debian/* Copyright: 2011-2012 Alessio Treglia 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 Arni Mar Jonsson 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 Arni Mar Jonsson 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/get-svn-source.sh0000755000000000000000000000134512307524011012404 0ustar #!/bin/sh BASE_REL=$(dpkg-parsechangelog 2>/dev/null | sed -ne 's/Version: \([0-9]\)~.*/\1/p') OLDDIR=${PWD} GOS_DIR=${OLDDIR}/get-orig-source SVN_COMMIT='svn log http://py-leveldb.googlecode.com/svn/trunk/ -l 1 | sed -ne "s/r\([0-9]\+\).*/\1/p"' if [ -z ${BASE_REL} ]; then echo 'Please run this script from the sources root directory.' exit 1 fi rm -rf ${GOS_DIR} mkdir ${GOS_DIR} && cd ${GOS_DIR} PY_LEVELDB_SVN_COMMIT=$(eval "${SVN_COMMIT}") svn export --ignore-externals -r ${PY_LEVELDB_SVN_COMMIT} \ http://py-leveldb.googlecode.com/svn/trunk/ python-leveldb cd python-leveldb/ cd .. && tar cjf \ ${OLDDIR}/python-leveldb_${BASE_REL}~svn${PY_LEVELDB_SVN_COMMIT}.orig.tar.bz2 \ python-leveldb --exclude-vcs rm -rf ${GOS_DIR} debian/python-leveldb.install0000644000000000000000000000002112307524011013476 0ustar usr/lib/python2* debian/changelog0000644000000000000000000000327012313576700011046 0ustar python-leveldb (0~svn68-2build1) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:29:04 +0000 python-leveldb (0~svn68-2) unstable; urgency=medium * Upload with Alessio's permission. * debian/tests/python3-leveldb: Actually run the tests with python3. (Closes: #740167) * Bump Standards-Version to 3.9.5, no changes necessary. -- Martin Pitt Tue, 11 Mar 2014 07:06:03 +0100 python-leveldb (0~svn68-1) unstable; urgency=low * Upload to unstable. * New upstream snapshot. * Use new googlecode's uscan syntax. * Introduce autopkgtest support. * Bump Standards. -- Alessio Treglia Tue, 07 May 2013 09:27:12 +0200 python-leveldb (0~svn67-1) experimental; urgency=low * New upstream snapshot: - Compatible with Python 3.3.0. - Fix for potential locking bug. - Fix SIGSEGV with leveldb.RepairDB() call (upstream bug#23). - Add custom comparators (upstream bug#24). - Add support for CompactRange (upstream bug#25). -- Alessio Treglia Tue, 23 Oct 2012 17:31:48 +0100 python-leveldb (0~svn51-1) unstable; urgency=low * New upstream snapshot: - Add support for Python 3. * Build with Python 3 support. * Bump debhelper to 9. -- Alessio Treglia Thu, 14 Jun 2012 10:42:18 +0200 python-leveldb (0~svn44-1) unstable; urgency=low * New upsream snapshot. -- Alessio Treglia Tue, 15 May 2012 20:35:22 +0200 python-leveldb (0~svn39-1) unstable; urgency=low * Initial release. (Closes: #637204) -- Alessio Treglia Sat, 14 Apr 2012 00:57:45 +0200 debian/python3-leveldb.install0000644000000000000000000000002012307524011013560 0ustar usr/lib/python3 debian/compat0000644000000000000000000000000212307524011010357 0ustar 9 debian/control0000644000000000000000000000256312307524011010572 0ustar Source: python-leveldb Section: database Priority: optional Maintainer: Alessio Treglia Build-Depends: debhelper (>= 9), libleveldb-dev, libsnappy-dev, python-all-dev, python3-all-dev Standards-Version: 3.9.5 X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 XS-Testsuite: autopkgtest Homepage: http://code.google.com/p/py-leveldb/ Vcs-Git: git://anonscm.debian.org/collab-maint/python-leveldb.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-leveldb.git Package: python-leveldb Section: python Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Description: Python wrapper for LevelDB (Python 2) LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. . This package provides a Python wrapper for LevelDB. . This is the Python 2 version of the package. Package: python3-leveldb Section: python Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Provides: ${python3:Provides} Description: Python wrapper for LevelDB (Python 3) LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. . This package provides a Python wrapper for LevelDB. . This is the Python 3 version of the package. debian/tests/0000755000000000000000000000000012307524011010323 5ustar debian/tests/python3-leveldb0000644000000000000000000000032712307524011013267 0ustar #!/bin/sh set -eu WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cp -r test "$WORKDIR/" cd $WORKDIR for python in $(py3versions -i); do PYTHONWARNINGS=d $python test/test.py 2>&1 done debian/tests/python-leveldb0000644000000000000000000000032612307524011013203 0ustar #!/bin/sh set -eu WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cp -r test "$WORKDIR/" cd $WORKDIR for python in $(pyversions -i); do PYTHONWARNINGS=d $python test/test.py 2>&1 done debian/tests/control0000644000000000000000000000013712307524011011727 0ustar Tests: python-leveldb Depends: python-leveldb Tests: python3-leveldb Depends: python3-leveldb debian/rules0000755000000000000000000000077712307524011010254 0ustar #!/usr/bin/make -f PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) %: dh $@ --with python2,python3 build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info get-orig-source: debian/get-svn-source.sh debian/source/0000755000000000000000000000000012307524011010461 5ustar debian/source/format0000644000000000000000000000001412307524011011667 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000006212307524011010576 0ustar [DEFAULT] pristine-tar = True compression = bzip2 debian/watch0000644000000000000000000000014312307524011010210 0ustar version=3 http://code.google.com/p/py-leveldb/downloads/list?can=1 .*/py-leveldb-(\d+.*)\.tar\.bz2