Imported Debian patch 2.5.0-1 debian/2.5.0-1
authorJoel Rosdahl <joel@debian.org>
Sat, 27 Sep 2008 09:04:12 +0000 (11:04 +0200)
committerJoel Rosdahl <joel@debian.org>
Mon, 11 Jan 2010 20:47:02 +0000 (21:47 +0100)
debian/changelog
debian/control
debian/python-pysqlite2.doc-base
debian/rules

index d673650..9ca367d 100644 (file)
@@ -1,3 +1,10 @@
+python-pysqlite2 (2.5.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated to Standards-Version 3.8.0.
+
+ -- Joel Rosdahl <joel@debian.org>  Sat, 27 Sep 2008 11:04:12 +0200
+
 python-pysqlite2 (2.4.1-1) unstable; urgency=low
 
   * New upstream release.
index 6d39b72..cadf7c7 100644 (file)
@@ -2,13 +2,13 @@ Source: python-pysqlite2
 Section: python
 Priority: optional
 Maintainer: Joel Rosdahl <joel@debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-all-dbg, python-central (>= 0.5.6), libsqlite3-dev (>= 3.3.8)
+Build-Depends: debhelper (>= 5.0.38), 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)
 XS-Python-Version: all
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 
 Package: python-pysqlite2
 Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
+Depends: ${shlibs:Depends}, ${python:Depends}, libjs-jquery
 Provides: ${python:Provides}
 Conflicts: python2.3-pysqlite2, python2.4-pysqlite2
 Replaces: python2.3-pysqlite2, python2.4-pysqlite2
index f72cad6..23e955f 100644 (file)
@@ -2,13 +2,12 @@ Document: python-pysqlite2
 Title: PySQLite 2 Manual
 Author: Gerhard Haring
 Abstract: Manual for PySQLite 2
-Section: Apps/Programming
-
-Format: text
-Files: /usr/share/doc/python-pysqlite2/usage-guide.txt.gz
+Section: Programming/Python
 
 Format: HTML
-Index: /usr/share/doc/python-pysqlite2/usage-guide.html
+Index: /usr/share/doc/python-pysqlite2/manual/index.html
 Files:
- /usr/share/doc/python-pysqlite2/*.html
- /usr/share/doc/python-pysqlite2/*.css
+ /usr/share/doc/python-pysqlite2/manual/_sources/*
+ /usr/share/doc/python-pysqlite2/manual/_static/*
+ /usr/share/doc/python-pysqlite2/manual/*.html
+ /usr/share/doc/python-pysqlite2/manual/*.json
index 51ece5e..e3ff8ff 100755 (executable)
@@ -8,6 +8,7 @@ PYVERS = $(shell pyversions -r)
 build: build-stamp
 
 build-stamp: $(PYVERS:%=build-ext-%-stamp) $(PYVERS:%=dbg-build-ext-%-stamp)
+       python setup.py build_docs
        touch $@
 
 build-ext-%-stamp:
@@ -55,14 +56,19 @@ binary-indep:
 binary-arch: build install
        dh_testdir -a
        dh_testroot -a
-       dh_installdocs -A -a doc/usage-guide.* doc/*.css
+
+       dh_installdocs -A -a build/doc/*
+       cd debian/python-pysqlite2/usr/share/doc/python-pysqlite2 && \
+               mkdir manual; \
+               mv *.html *.json _static _sources manual; \
+               ln -sf ../../../../javascript/jquery/jquery.js manual/_static/jquery.js
 
        dh_pycentral -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_compress -a -Xjson -Xtxt -Xjs
        dh_fixperms -a
        dh_installdeb -a
        dh_shlibdeps -a