Imported Debian patch 2.5.5-2 debian/2.5.5-2
authorJoel Rosdahl <joel@debian.org>
Tue, 13 Oct 2009 20:59:44 +0000 (22:59 +0200)
committerJoel Rosdahl <joel@debian.org>
Mon, 11 Jan 2010 20:47:04 +0000 (21:47 +0100)
debian/changelog
debian/control
debian/rules
setup.cfg

index 54db81d..97d06c0 100644 (file)
@@ -1,3 +1,12 @@
+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 <joel@debian.org>  Tue, 13 Oct 2009 22:59:44 +0200
+
 python-pysqlite2 (2.5.5-1) unstable; urgency=low
 
   * New upstream release.
index 2d79c07..f7b0f20 100644 (file)
@@ -2,9 +2,9 @@ Source: python-pysqlite2
 Section: python
 Priority: optional
 Maintainer: Joel Rosdahl <joel@debian.org>
-Build-Depends: debhelper (>= 7.0.0), python-all-dev (>= 2.3.5-11), python-all-dbg, python-central (>= 0.5.6), libsqlite3-dev (>= 3.3.8), python-sphinx (>= 0.4.2)
+Build-Depends: debhelper (>= 7.0.0), python-all-dev (>= 2.3.5-11), python-all-dbg, python-central (>= 0.5.6), libsqlite3-dev (>= 3.3.8), python-sphinx (>= 0.6.1)
 XS-Python-Version: all
-Standards-Version: 3.8.1
+Standards-Version: 3.8.3
 
 Package: python-pysqlite2
 Architecture: any
index 4cdd3b6..780de01 100755 (executable)
@@ -37,14 +37,14 @@ install-prereq:
        dh_installdirs
 
 install-ext-%:
-       $* setup.py install --root=debian/python-pysqlite2
+       $* 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
-       rm -rf debian/python-pysqlite2/usr/lib/python*/site-packages/pysqlite2/test
+       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=debian/python-pysqlite2-dbg
+       $*-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 {} \;
 
index 607fda4..731e079 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -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