[Python-modules-commits] r30524 - in packages/python-django-debug-toolbar/trunk/debian (6 files)

asb at users.alioth.debian.org asb at users.alioth.debian.org
Sun Sep 7 20:13:59 UTC 2014


    Date: Sunday, September 7, 2014 @ 20:13:58
  Author: asb
Revision: 30524

Build python-django-debug-toolbar-doc package with common docs.

Added:
  packages/python-django-debug-toolbar/trunk/debian/python-django-debug-toolbar-doc.docs
  packages/python-django-debug-toolbar/trunk/debian/python3-django-debug-toolbar.docs
Modified:
  packages/python-django-debug-toolbar/trunk/debian/changelog
  packages/python-django-debug-toolbar/trunk/debian/control
  packages/python-django-debug-toolbar/trunk/debian/rules
Deleted:
  packages/python-django-debug-toolbar/trunk/debian/TODO

Deleted: packages/python-django-debug-toolbar/trunk/debian/TODO
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/TODO	2014-09-07 19:48:27 UTC (rev 30523)
+++ packages/python-django-debug-toolbar/trunk/debian/TODO	2014-09-07 20:13:58 UTC (rev 30524)
@@ -1 +0,0 @@
-* Build and install the documentation

Modified: packages/python-django-debug-toolbar/trunk/debian/changelog
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/changelog	2014-09-07 19:48:27 UTC (rev 30523)
+++ packages/python-django-debug-toolbar/trunk/debian/changelog	2014-09-07 20:13:58 UTC (rev 30524)
@@ -6,6 +6,7 @@
   * Move libjs-jquery to Suggests. Upstream introduced a JQUERY_URL
     configuration option that can also take a local URI.
   * Build Python 3 package (Closes: #755617).
+  * Build python-django-debug-toolbar-doc package with common docs.
 
  -- Andrew Starr-Bochicchio <asb at debian.org>  Sat, 07 Jun 2014 23:32:19 -0400
 

Modified: packages/python-django-debug-toolbar/trunk/debian/control
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/control	2014-09-07 19:48:27 UTC (rev 30523)
+++ packages/python-django-debug-toolbar/trunk/debian/control	2014-09-07 20:13:58 UTC (rev 30524)
@@ -11,6 +11,7 @@
                python3-django,
                python-setuptools,
                python3-setuptools,
+               python-sphinx (>= 1.0.7+dfsg-1~),
                python-sqlparse,
                python3-sqlparse
 Standards-Version: 3.9.5
@@ -27,7 +28,7 @@
          ${misc:Depends},
          ${python:Depends}
 Recommends: python-pygments
-Suggests: libjs-jquery
+Suggests: libjs-jquery, python-django-debug-toolbar-doc
 Description: Embedded debugging toolbar for Django projects
  The Django Debug Toolbar is a plug-in Django application that displays a set
  of panels which conveys information about the current request at the top of the
@@ -50,7 +51,7 @@
          ${misc:Depends},
          ${python3:Depends}
 Recommends: python3-pygments
-Suggests: libjs-jquery
+Suggests: libjs-jquery, python-django-debug-toolbar-doc
 Description: Embedded debugging toolbar for Django projects (Python 3 version)
  The Django Debug Toolbar is a plug-in Django application that displays a set
  of panels which conveys information about the current request at the top of the
@@ -68,3 +69,26 @@
    * Which templates were rendered the context provided to each template.
  .
  This package contains the Python 3 version.
+
+Package: python-django-debug-toolbar-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Embedded debugging toolbar for Django projects (documentation)
+ The Django Debug Toolbar is a plug-in Django application that displays a set
+ of panels which conveys information about the current request at the top of the
+ rendered page. It can show:
+ .
+   * Total time taken to process request
+   * Request variables, including GET, POST, cookie, and session information.
+   * All SQL queries performed during response creation and processing,
+     including timing and 'EXPLAIN' output for each query in conjunction with
+     the total time spent performing SQL queries. If python-pygments is
+     installed, the SQL syntax is highlighted.
+   * Current Django version
+   * HTTP headers
+   * Total requests, time, hits and misses of the cache.
+   * Which templates were rendered the context provided to each template.
+ .
+ This is the common documentation package.
+

Added: packages/python-django-debug-toolbar/trunk/debian/python-django-debug-toolbar-doc.docs
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/python-django-debug-toolbar-doc.docs	                        (rev 0)
+++ packages/python-django-debug-toolbar/trunk/debian/python-django-debug-toolbar-doc.docs	2014-09-07 20:13:58 UTC (rev 30524)
@@ -0,0 +1 @@
+build/html

Added: packages/python-django-debug-toolbar/trunk/debian/python3-django-debug-toolbar.docs
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/python3-django-debug-toolbar.docs	                        (rev 0)
+++ packages/python-django-debug-toolbar/trunk/debian/python3-django-debug-toolbar.docs	2014-09-07 20:13:58 UTC (rev 30524)
@@ -0,0 +1 @@
+README.rst

Modified: packages/python-django-debug-toolbar/trunk/debian/rules
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/rules	2014-09-07 19:48:27 UTC (rev 30523)
+++ packages/python-django-debug-toolbar/trunk/debian/rules	2014-09-07 20:13:58 UTC (rev 30524)
@@ -8,7 +8,7 @@
 export PYBUILD_TEST_PYTEST=1
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 test-python%:
@@ -16,3 +16,7 @@
 
 override_dh_auto_test: $(foreach pyversion,${PYTHON_VERSIONS},$(pyversion:%=test-python%))
 endif
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html




More information about the Python-modules-commits mailing list