debian/0000775000000000000000000000000011771546155007204 5ustar debian/patches/0000775000000000000000000000000011771546155010633 5ustar debian/patches/series0000664000000000000000000000003411771546155012045 0ustar enable_load_extension.patch debian/patches/enable_load_extension.patch0000664000000000000000000000100011771546155016164 0ustar Description: Make it possible to use enable_load_extension() Author: Joel Rosdahl Index: python-pysqlite2/setup.cfg =================================================================== --- python-pysqlite2.orig/setup.cfg 2010-05-16 15:40:16.986416847 +0200 +++ python-pysqlite2/setup.cfg 2010-05-16 15:40:21.216411055 +0200 @@ -3,4 +3,4 @@ #include_dirs=/usr/local/include #library_dirs=/usr/local/lib libraries=sqlite3 -define=SQLITE_OMIT_LOAD_EXTENSION +#define=SQLITE_OMIT_LOAD_EXTENSION debian/rules0000775000000000000000000000510211771546155010262 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE = 1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk PYVERS = $(shell pyversions -r) build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: $(PYVERS:%=build-ext-%-stamp) $(PYVERS:%=dbg-build-ext-%-stamp) touch $@ build-ext-%-stamp: dh_testdir $* setup.py build touch $@ dbg-build-ext-%-stamp: dh_testdir $*-dbg setup.py build -g touch $@ clean: dh_testdir dh_testroot rm -f build*stamp dbg-build*stamp rm -rf build find . -name '*.pyc' | xargs rm -f dh_clean install: build install-prereq $(PYVERS:%=install-ext-%) $(PYVERS:%=dbg-install-ext-%) install-prereq: dh_testdir dh_testroot dh_prep dh_installdirs install-ext-%: $* setup.py install --root=$(CURDIR)/debian/python-pysqlite2 --install-layout=deb rm -rf debian/python-pysqlite2/usr/pysqlite2-doc rm -rf debian/python-pysqlite2/usr/bin find debian -type d -wholename '*pysqlite2/test' | xargs rm -rf find debian/python-pysqlite2 -name '*.pyc' | xargs rm -f dbg-install-ext-%: $*-dbg setup.py install --root=$(CURDIR)/debian/python-pysqlite2-dbg --install-layout=deb find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/python-*-dbg -depth -empty -exec rmdir {} \; # Build architecture-independent files here. binary-indep: dh_testdir dh_testroot dh_prep dh_installdirs -i usr/share/doc/python-pysqlite2-doc/html python setup.py build_docs dh_installdocs -i build/doc/* cd debian/python-pysqlite2-doc/usr/share/doc/python-pysqlite2-doc && \ mv *.html *.js *.inv _static _sources html && \ ln -sf ../../../../javascript/jquery/jquery.js html/_static/jquery.js && \ ln -sf ../../../../javascript/underscore/underscore.js html/_static/underscore.js dh_installchangelogs -i dh_compress -i -Xjson -Xtxt -Xjs dh_fixperms -i dh_installdeb -i dh_shlibdeps -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install dh_testdir -a dh_testroot -a dh_installdocs -a dh_python2 -a dh_installchangelogs -a dh_strip -ppython-pysqlite2 --dbg-package=python-pysqlite2-dbg rm -rf debian/python-pysqlite2-dbg/usr/share/doc/python-pysqlite2-dbg ln -s python-pysqlite2 debian/python-pysqlite2-dbg/usr/share/doc/python-pysqlite2-dbg dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build build-arch build-indep .PHONY: clean .PHONY: install install-prereq .PHONY: binary-indep binary-arch binary debian/changelog0000664000000000000000000001535311771546155011065 0ustar python-pysqlite2 (2.6.3-3) unstable; urgency=low * Don't use defunct googlecode.debian.net redirector anymore * Include searchindex.js in python-pysqlite2-doc package (closes: #678050) * Build with hardening flags * Use underscore.js from libjs-underscore * Bump Standards-Version to 3.9.3 -- Joel Rosdahl Sun, 24 Jun 2012 10:11:30 +0200 python-pysqlite2 (2.6.3-2) unstable; urgency=low * Convert from dh_pycentral to dh_python2 (closes: #617024) * Use debhelper compat level 8 * Bump Standards-Version to 3.9.2 * Add build-arch and build-indep targets to debian/rules * Add description of enable_load_extension.patch * Expanded descripiton of python-pysqlite2-doc -- Joel Rosdahl Thu, 30 Jun 2011 23:24:01 +0200 python-pysqlite2 (2.6.3-1) unstable; urgency=low * New upstream version. * Updated Standards-Version to 3.9.1. * Added watch file. -- Joel Rosdahl Sun, 20 Feb 2011 17:00:22 +0100 python-pysqlite2 (2.6.0-1) unstable; urgency=low * New upstream version. * Changed source package format to "3.0 (quilt)". * Updated Standards-Version to 3.8.4. * Don't compile with debug information in the non-dbg package. * Added missing ${misc:Depends}. -- Joel Rosdahl Sun, 16 May 2010 15:53:25 +0200 python-pysqlite2 (2.5.5-3) unstable; urgency=low * Bumped build dependency on python-all-dev to >= 2.5.4. Closes: #551692. -- Joel Rosdahl Tue, 20 Oct 2009 22:05:32 +0200 python-pysqlite2 (2.5.5-2) unstable; urgency=low * Allow building with Python 2.6. Patch by Andrew Starr-Bochicchio and Stefano Zacchiroli; thanks! Closes: #532014,#547850. * Don't build with SQLITE_OMIT_LOAD_EXTENSION. Closes: #543252. * Updated to Standards-Version 3.8.3. -- Joel Rosdahl Tue, 13 Oct 2009 22:59:44 +0200 python-pysqlite2 (2.5.5-1) unstable; urgency=low * New upstream release. * Updated to Standards-Version 3.8.1. * pysqlite now by default enforces UTF-8 strings. Closes: #469644. * Fixed build problem using new Sphinx versions. Closes: #527494. -- Joel Rosdahl Sun, 10 May 2009 22:15:42 +0200 python-pysqlite2 (2.5.0-2) unstable; urgency=low * Moved documentation to a separate package: python-pysqlite2-doc. Closes: #500425. -- Joel Rosdahl Sun, 28 Sep 2008 10:14:22 +0200 python-pysqlite2 (2.5.0-1) unstable; urgency=low * New upstream release. * Updated to Standards-Version 3.8.0. -- Joel Rosdahl Sat, 27 Sep 2008 11:04:12 +0200 python-pysqlite2 (2.4.1-1) unstable; urgency=low * New upstream release. * Updated to Standards-Version 3.7.3. * Capitalized Python correctly in descriptions. -- Joel Rosdahl Sun, 10 Feb 2008 12:25:38 +0100 python-pysqlite2 (2.4.0-2) unstable; urgency=low * Made Unicode string work as database parameter again. Closes: #454424. -- Joel Rosdahl Wed, 05 Dec 2007 23:14:41 +0100 python-pysqlite2 (2.4.0-1) unstable; urgency=low * New upstream release. * Added doc-base registration file again. It was lost in 2.3.2-2. Closes: #451676. -- Joel Rosdahl Mon, 03 Dec 2007 19:36:47 +0100 python-pysqlite2 (2.3.4-2) unstable; urgency=low * Build python-pysqlite2-dbg package based on Ubuntu patch. -- Joel Rosdahl Thu, 21 Jun 2007 22:54:43 +0200 python-pysqlite2 (2.3.4-1) unstable; urgency=low * New upstream release. -- Joel Rosdahl Wed, 20 Jun 2007 21:15:20 +0200 python-pysqlite2 (2.3.3-2) unstable; urgency=low * Removed DH_COMPAT variable from debian/rules to fix Lintian warning. -- Joel Rosdahl Sun, 22 Apr 2007 22:05:55 +0200 python-pysqlite2 (2.3.3-1) unstable; urgency=low * New upstream release. -- Joel Rosdahl Mon, 26 Feb 2007 20:52:05 +0100 python-pysqlite2 (2.3.2-2) unstable; urgency=low * Applied patch on http://www.initd.org/tracker/pysqlite/ticket/174 to avoid symbol clash between mod_python and mod_cache under Apache. Closes: #407165. * Updated dependencies for debhelper and python-central. * Removed use of dh_python. -- Joel Rosdahl Mon, 29 Jan 2007 22:16:14 +0100 python-pysqlite2 (2.3.2-1) unstable; urgency=low * New upstream release. -- Joel Rosdahl Tue, 4 Jul 2006 09:08:53 +0000 python-pysqlite2 (2.3.1-1) unstable; urgency=low * New upstream release. * Removed XS-Python-Standards-Version header and added debian/pycompat file. * Bumped Build-Depends on debhelper to (>= 5.0.37.2). -- Joel Rosdahl Wed, 21 Jun 2006 06:34:04 +0000 python-pysqlite2 (2.3.0-1) unstable; urgency=low * New upstream release. * Adapt to new Python policy. Closes: bug#373346. * Updated Standards-Version to 3.7.2. -- Joel Rosdahl Mon, 19 Jun 2006 18:30:03 +0000 python-pysqlite2 (2.2.2-1) unstable; urgency=low * New upstream release. Closes: bug#362830. * Updated upstream source URL in copyright. -- Joel Rosdahl Fri, 21 Apr 2006 11:35:31 +0200 python-pysqlite2 (2.2.0-1) unstable; urgency=low * New upstream release. Closes: bug#361066, bug#361068. See also bug#361097. * Added build dependency on libsqlite3-dev >= 3.0.8. -- Joel Rosdahl Thu, 6 Apr 2006 22:32:46 +0200 python-pysqlite2 (2.0.5-1) unstable; urgency=low * New upstream release. -- Joel Rosdahl Sun, 23 Oct 2005 19:14:57 +0200 python-pysqlite2 (2.0.4-2) unstable; urgency=low * Improved description field of the binary package python-pysqlite2. -- Joel Rosdahl Fri, 14 Oct 2005 10:03:02 +0200 python-pysqlite2 (2.0.4-1) unstable; urgency=low * New upstream release. -- Joel Rosdahl Mon, 12 Sep 2005 08:35:17 +0200 python-pysqlite2 (2.0.3-3) unstable; urgency=low * Additional clarification regarding Python SQLite modules added to description. * Added README.Debian with information about different Python SQLite modules. * Improved doc-base information. * Updated copyright file with new URL. -- Joel Rosdahl Fri, 9 Sep 2005 19:14:01 +0200 python-pysqlite2 (2.0.3-2) unstable; urgency=low * Added doc-base information. * Standards-Version 3.6.2. * Clarified package description regarding SQLite 3 versus SQLite 2 and the python-sqlite package. -- Joel Rosdahl Fri, 2 Sep 2005 17:52:26 +0200 python-pysqlite2 (2.0.3-1) unstable; urgency=low * New upstream release. -- Joel Rosdahl Sun, 29 May 2005 10:18:49 +0200 python-pysqlite2 (2.0.2-1) unstable; urgency=low * First packaged version. Closes: bug#309371. -- Joel Rosdahl Sat, 21 May 2005 10:22:19 +0200 debian/watch0000664000000000000000000000013311771546155010232 0ustar version=3 http://code.google.com/p/pysqlite/downloads/list?can=1 .*/pysqlite-(.*)\.tar\.gz debian/README.Debian0000664000000000000000000000034711771546155011251 0ustar This package is built against SQLite 3. For an interface to SQLite 2, see the package python-sqlite. An alternative Python SQLite 3 module is packaged as python-apsw. -- Joel Rosdahl , Fri Sep 9 18:14:13 2005 debian/compat0000664000000000000000000000000211771546155010402 0ustar 8 debian/source/0000775000000000000000000000000011771546155010504 5ustar debian/source/format0000664000000000000000000000001411771546155011712 0ustar 3.0 (quilt) debian/control0000664000000000000000000000651711771546155010620 0ustar Source: python-pysqlite2 Section: python Priority: optional Maintainer: Joel Rosdahl Build-Depends: debhelper (>= 8), python-all-dev (>= 2.6.6-3~), python-all-dbg, libsqlite3-dev (>= 3.3.8), python-sphinx (>= 0.6.1), dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.3 Package: python-pysqlite2 Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} Conflicts: python2.3-pysqlite2, python2.4-pysqlite2 Replaces: python2.3-pysqlite2, python2.4-pysqlite2 Suggests: python-pysqlite2-doc, python-pysqlite2-dbg Description: Python interface to SQLite 3 pysqlite is a DB-API 2.0-compliant database interface for SQLite. . This package is built against SQLite 3. For an interface to SQLite 2, see the package python-sqlite. An alternative Python SQLite 3 module is packaged as python-apsw. . SQLite is a relational database management system contained in a relatively small C library. It is a public domain project created by D. Richard Hipp. Unlike the usual client-server paradigm, the SQLite engine is not a standalone process with which the program communicates, but is linked in and thus becomes an integral part of the program. The library implements most of SQL-92 standard, including transactions, triggers and most of complex queries. . pysqlite makes this powerful embedded SQL engine available to Python programmers. It stays compatible with the Python database API specification 2.0 as much as possible, but also exposes most of SQLite's native API, so that it is for example possible to create user-defined SQL functions and aggregates in Python. . If you need a relational database for your applications, or even small tools or helper scripts, pysqlite is often a good fit. It's easy to use, easy to deploy, and does not depend on any other Python libraries or platform libraries, except SQLite. SQLite itself is ported to most platforms you'd ever care about. . It's often a good alternative to MySQL, the Microsoft JET engine or the MSDE, without having any of their license and deployment issues. Package: python-pysqlite2-doc Section: doc Architecture: all Depends: libjs-jquery, libjs-underscore, ${misc:Depends} Description: Documentation for python-pysqlite2 pysqlite is a DB-API 2.0-compliant database interface for SQLite. . SQLite is a relational database management system contained in a relatively small C library. It is a public domain project created by D. Richard Hipp. Unlike the usual client-server paradigm, the SQLite engine is not a standalone process with which the program communicates, but is linked in and thus becomes an integral part of the program. The library implements most of SQL-92 standard, including transactions, triggers and most of complex queries. . This package only contains the documentation. Package: python-pysqlite2-dbg Section: debug Priority: extra Architecture: any Depends: python-pysqlite2 (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} Description: Python interface to SQLite 3 (debug extension) pysqlite is a DB-API 2.0-compliant database interface for SQLite. . This package is built against SQLite 3. For an interface to SQLite 2, see the package python-sqlite. An alternative Python SQLite 3 module is packaged as python-apsw. . This package contains the extension built for the Python debug interpreter. debian/python-pysqlite2-doc.doc-base0000664000000000000000000000056511771546155014627 0ustar Document: python-pysqlite2-doc Title: PySQLite 2 Manual Author: Gerhard Haring Abstract: Manual for PySQLite 2 Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pysqlite2-doc/html/index.html Files: /usr/share/doc/python-pysqlite2-doc/html/_sources/* /usr/share/doc/python-pysqlite2-doc/html/_static/* /usr/share/doc/python-pysqlite2-doc/html/*.html debian/copyright0000664000000000000000000000227011771546155011140 0ustar This Debian package was created by Joel Rosdahl . The upstream source was found on the following address: http://initd.org/pub/software/pysqlite/releases/ Upstream authors: Gerhard Häring License: Copyright (c) 2004 Gerhard Häring This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.