debian/0000755000000000000000000000000012313576676007206 5ustar debian/copyright0000644000000000000000000000171512007630563011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Mikio Hirabayashi Source: http://fallabs.com/kyotocabinet/ Files: * Copyright: © 2009-2011 FAL Labs License: GPL-3+ Files: debian/* Copyright: © 2012 Shawn Landden License: GPL-3+ License: GPL-3+ 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 3 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. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000000157612313576676011071 0ustar python-kyotocabinet (1.22-2build2) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:29:02 +0000 python-kyotocabinet (1.22-2build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:32:28 +0000 python-kyotocabinet (1.22-2) unstable; urgency=low * Team upload. * Update debian/rules to build for all supported python3 versions (Closes: #686871) - Remove python-kyotocabinet.install, no longer needed * Drop unneeded X-Python-Version field from debian/control -- Scott Kitterman Sun, 19 May 2013 17:38:55 -0400 python-kyotocabinet (1.22-1) unstable; urgency=low * Initial release. (Closes: #676682) -- Shawn Landden Sun, 05 Aug 2012 18:31:57 -0700 debian/python3-kyotocabinet.docs0000644000000000000000000000001312007630603014124 0ustar doc README debian/python3-kyotocabinet.examples0000644000000000000000000000001212007630603015011 0ustar example/* debian/compat0000644000000000000000000000000212007630563010366 0ustar 9 debian/patches/0000755000000000000000000000000012007630563010617 5ustar debian/patches/0002-inherit-PYTHON-in-kctest.py.patch0000644000000000000000000000120212007630563017221 0ustar From 1de064a8eddaee67a844605d715a9836e5fc509f Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Fri, 8 Jun 2012 10:41:56 -0700 Subject: [PATCH 2/2] inherit $PYTHON in kctest.py --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c7d94b0..bde9cfd 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,10 @@ VERSION = 1.22 PACKAGEDIR = $(PACKAGE)-$(VERSION) PACKAGETGZ = $(PACKAGE)-$(VERSION).tar.gz -PYTHON = python3 +ifndef $(PYTHON) + PYTHON = python3 +endif + RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:/usr/local/lib:$(HOME)/lib -- 1.7.9.5 debian/patches/0001-pkg-config.patch0000644000000000000000000000266512007630563014253 0ustar From 3dbe7905c288efa77b66ad423ae37af51400c93c Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Fri, 8 Jun 2012 10:45:15 -0700 Subject: [PATCH 1/2] pkg-config --- setup.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index eca2974..421af4d 100644 --- a/setup.py +++ b/setup.py @@ -18,20 +18,18 @@ def getcmdout(cmdargs): return output.strip() include_dirs = [] -myincopts = getcmdout(['kcutilmgr', 'conf', '-i']).split() +myincopts = getcmdout(['pkg-config', '--cflags-only-I', 'kyotocabinet']).split() for incopt in myincopts: if incopt.startswith('-I'): incdir = incopt[2:] include_dirs.append(incdir) -if len(include_dirs) < 1: - include_dirs = ['/usr/local/include'] extra_compile_args = [] sources = ['kyotocabinet.cc'] library_dirs = [] libraries = [] -mylibopts = getcmdout(['kcutilmgr', 'conf', '-l']).split() +mylibopts = getcmdout(['pkg-config', '--libs', 'kyotocabinet']).split() for libopt in mylibopts: if libopt.startswith('-L'): libdir = libopt[2:] @@ -39,8 +37,6 @@ for libopt in mylibopts: elif libopt.startswith('-l'): libname = libopt[2:] libraries.append(libname) -if len(library_dirs) < 1: - library_dirs = ['/usr/local/lib'] if len(libraries) < 1: if (os.uname()[0] == "Darwin"): libraries = ['kyotocabinet', 'z', 'stdc++', 'pthread', 'm', 'c'] -- 1.7.9.5 debian/patches/series0000644000000000000000000000007612007630563012037 0ustar 0001-pkg-config.patch 0002-inherit-PYTHON-in-kctest.py.patch debian/control0000644000000000000000000000425212146245731010601 0ustar Source: python-kyotocabinet Section: devel Priority: optional Maintainer: Debian Python Modules Team Uploaders: Shawn Landden DM-Upload-Allowed: yes Build-Depends: debhelper (>= 9), python3-all-dev, libkyotocabinet-dev, pkg-config #Build-Depends-Indep: python-epydoc (>= 3.0~beta1) Standards-Version: 3.9.3 X-Python3-Version: >= 3.2 Vcs-Git: git://anonscm.debian.org/git/collab-maint/kyotocabinet-python.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/kyotocabinet-python.git Homepage: http://fallabs.com/kyotocabinet/ Package: python3-kyotocabinet Section: python Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Provides: ${python3:Provides} Description: Straightforward implementation of DBM - Python 3 bindings Kyoto Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. Each key must be unique within a database. There is neither concept of data tables nor data types. Records are organized in hash table or B+ tree. . This package provides a Python 3 interface to Kyoto Cabinet. Package: python3-kyotocabinet-dbg Section: debug Priority: extra Architecture: any Depends: python3-dbg, python3-kyotocabinet (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} Description: Straightforward implementation of DBM - Python 3 debuggin symbols Kyoto Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. Each key must be unique within a database. There is neither concept of data tables nor data types. Records are organized in hash table or B+ tree. . This package provides the debugging symbols for the Python 3 interface to Kyoto Cabinet. debian/python3-kyotocabinet.doc-base0000644000000000000000000000052012007630603014654 0ustar Document: python-kyotocabinet-api Title: Kyoto Cabinet: a straightforward implementation of DBM Author: Copyright (C) 2009-2012 FAL Labs Abstract: API documentation for python-kyotocabinet Section: Programming/Python Format: HTML Index: /usr/share/doc/python3-kyotocabinet/doc/index.html Files: /usr/share/doc/python3-kyotocabinet/doc debian/rules0000755000000000000000000000121612146243122010243 0ustar #!/usr/bin/make -f %: dh $@ --with python3 --parallel build3vers := $(shell py3versions -sv) # Install manually as auto_install doesn't support python3 override_dh_auto_install: dh_install -ppython3-kyotocabinet set -e && for i in $(build3vers); do \ python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-kyotocabinet; \ done override_dh_installdocs-arch: dh_installdocs --link-doc=python3-kyotocabinet -ppython3-kyotocabinet-dbg dh_installdocs --remaining-packages override_dh_strip: dh_strip --package=python3-kyotocabinet --dbg-package=python3-kyotocabinet-dbg override_dh_builddeb: dh_builddeb -- -Zxz -z2 debian/source/0000755000000000000000000000000012012565664010475 5ustar debian/source/format0000644000000000000000000000001412007630563011676 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612007630563010606 0ustar [DEFAULT] pristine-tar = True debian/watch0000644000000000000000000000020312007630563010214 0ustar version=3 http://fallabs.com/kyotocabinet/pythonpkg/ kyotocabinet-python-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz|lzma)))