--- turbogears2-doc-2.0+svn6611.orig/debian/changelog
+++ turbogears2-doc-2.0+svn6611/debian/changelog
@@ -0,0 +1,13 @@
+turbogears2-doc (2.0+svn6611-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: bump Standards-Version to 3.8.3 (no changes needed)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 24 Aug 2009 17:36:52 +0200
+
+turbogears2-doc (2.0+svn6599-1) unstable; urgency=low
+
+  * First release (Closes: #535975)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 20 Jul 2009 13:47:41 +0200
+
--- turbogears2-doc-2.0+svn6611.orig/debian/compat
+++ turbogears2-doc-2.0+svn6611/debian/compat
@@ -0,0 +1 @@
+7
--- turbogears2-doc-2.0+svn6611.orig/debian/rules
+++ turbogears2-doc-2.0+svn6611/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+DEB_MAKE_BUILD_TARGET = html
+
+SVN_URL = http://svn.turbogears.org/docs/2.0/docs/
+get-orig-source:
+	debian/get-orig-source.sh $(SVN_URL)
+
--- turbogears2-doc-2.0+svn6611.orig/debian/copyright
+++ turbogears2-doc-2.0+svn6611/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Stefano Zacchiroli <zack@debian.org>
+on Mon, 20 Jul 2009 11:58:20 +0200.
+
+
+Files: *
+Copyright: © 2005-2009 Kevin Dangoor and contributors
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ 
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ 
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+
+Files: debian/*
+Copyright: © 2009 Stefano Zacchiroli <zack@debian.org>
+License: GPL-3+
+ On Debian systems the full text of the GNU General Public License can
+ be found in the `/usr/share/common-licenses/GPL-3' file.
+
--- turbogears2-doc-2.0+svn6611.orig/debian/doc-base
+++ turbogears2-doc-2.0+svn6611/debian/doc-base
@@ -0,0 +1,12 @@
+Document: turbogears2-doc
+Title: TurboGears 2 documentation
+Abstract: Documentation for the TurboGears 2 to develop web applications
+ in Python, according to the model-view-controller architecture. Thie
+ present documentation includes architecture description, tutorials,
+ reference manuals, howtos and recipes, etc; it corresponds to what is
+ usually available on the TurboGears 2 documentation website.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-turbogears2-doc/html/index.html
+Files: /usr/share/doc/python-turbogears2-doc/html/*
--- turbogears2-doc-2.0+svn6611.orig/debian/docs
+++ turbogears2-doc-2.0+svn6611/debian/docs
@@ -0,0 +1 @@
+_build/html/
--- turbogears2-doc-2.0+svn6611.orig/debian/control
+++ turbogears2-doc-2.0+svn6611/debian/control
@@ -0,0 +1,33 @@
+Source: turbogears2-doc
+Section: doc
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders:
+ Stefano Zacchiroli <zack@debian.org>
+Build-Depends:
+ debhelper (>= 7),
+ cdbs,
+ dpatch,
+ python-sphinx,
+ python-turbogears2 (>= 2.0.1),
+ python-svn,
+ mercurial
+Standards-Version: 3.8.3
+Homepage: http://turbogears.org/2.0/docs/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/turbogears2-doc/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/turbogears2-doc/trunk/
+
+Package: python-turbogears2-doc
+Architecture: all
+Depends:
+ ${misc:Depends}
+Description: documentation for the TurboGears2 web framework
+ TurboGears2 is a framework to develop web applications in Python,
+ following a model-view-controller architecture.
+ .
+ The main TurboGears2 package is python-turbogears2. This package
+ contains the framework documentation (architecture description,
+ tutorials, references, howtos and recipes, ...)
+ .
+ The documentation shipped by this package corresponds to what is
+ usually available on the TG2 documentation website.
--- turbogears2-doc-2.0+svn6611.orig/debian/get-orig-source.sh
+++ turbogears2-doc-2.0+svn6611/debian/get-orig-source.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Copyright © 2009 Stefano Zacchiroli <zack@debian.org>
+# License: GNU GPL version 3 or above
+# Created:       Mon, 20 Jul 2009 12:42:04 +0200
+# Last-Modified: Mon, 20 Jul 2009 12:42:04 +0200
+
+PKG="turbogears2-doc"
+
+SVN_URL="$1"
+if [ -z "$SVN_URL" ] ; then
+    echo "Usage: $0 SVN_URL"
+    exit 1
+fi
+
+svn_tmp=$(mktemp -d --tmpdir=. svn-tmp.XXXXXXXXXX)
+trap "rm -rf $svn_tmp" EXIT
+
+echo "Checking out sources from SVN $SVN_URL ..."
+svn co -q "$SVN_URL" "$svn_tmp/svn"
+svn_rev=$(svn info $svn_tmp/svn | grep 'Revision:' | cut -f 2 -d' ')
+orig_name="${PKG}_2.0+svn${svn_rev}.orig.tar.gz"
+svn export "$svn_tmp/svn" "$svn_tmp/$PKG"
+echo "Creating upstream tarball ..."
+(cd "$svn_tmp" && tar czf $orig_name $PKG)
+mv $svn_tmp/$orig_name .
+echo "All done."
--- turbogears2-doc-2.0+svn6611.orig/debian/patches/00dpatch.conf
+++ turbogears2-doc-2.0+svn6611/debian/patches/00dpatch.conf
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs
--- turbogears2-doc-2.0+svn6611.orig/debian/patches/00list
+++ turbogears2-doc-2.0+svn6611/debian/patches/00list
@@ -0,0 +1 @@
+build-w-sphinx-062
--- turbogears2-doc-2.0+svn6611.orig/debian/patches/build-w-sphinx-062.dpatch
+++ turbogears2-doc-2.0+svn6611/debian/patches/build-w-sphinx-062.dpatch
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build-w-sphinx-062.dpatch by Stefano Zacchiroli <zack@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: skip some documentation entries which do not build properly
+## DP: with current sphinx in Debian (0.6.2). Temporary work-around
+## DP: until the forthcoming sphinx version is released. See
+## DP: http://groups.google.com/group/turbogears/browse_thread/thread/a20afb336a08afe9/e73569114ab99d5b?lnk=gst&q=zacchiroli#e73569114ab99d5b
+## DP: for a discussion of the issue.
+
+@DPATCH@
+diff -urNad trunk~/modules/thirdparty/webob.rst trunk/modules/thirdparty/webob.rst
+--- trunk~/modules/thirdparty/webob.rst	2008-06-27 03:09:09.000000000 +0200
++++ trunk/modules/thirdparty/webob.rst	2009-07-20 13:23:39.563441318 +0200
+@@ -80,16 +80,6 @@
+ ------------------------
+ .. currentmodule:: webob.etag
+ .. automodule:: webob.etag
+-.. autoclass:: AnyETag
+-    :members:
+-.. autoclass:: NoETag
+-    :members:
+-.. autoclass:: ETagMatcher
+-    :members:
+-.. autoclass:: IfRange
+-    :members:
+-.. autoclass:: NoIfRange
+-    :members:
+ 
+ 
+ mod:`webob.exc`
