[Python-modules-commits] r24130 - in packages/flask/trunk/debian (7 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun May 5 19:21:53 UTC 2013


    Date: Sunday, May 5, 2013 @ 19:21:51
  Author: piotr
Revision: 24130

* Add python-flask-doc binary package (closes: #703802)
* debian/compat bumped to 9
* Standards-Version bumped to 3.9.4 (no changes needed)
* upload to unstable

Added:
  packages/flask/trunk/debian/python-flask-doc.doc-base
  packages/flask/trunk/debian/python-flask-doc.links
  packages/flask/trunk/debian/python-flask.install
Modified:
  packages/flask/trunk/debian/changelog
  packages/flask/trunk/debian/compat
  packages/flask/trunk/debian/control
  packages/flask/trunk/debian/rules

Modified: packages/flask/trunk/debian/changelog
===================================================================
--- packages/flask/trunk/debian/changelog	2013-05-05 19:14:54 UTC (rev 24129)
+++ packages/flask/trunk/debian/changelog	2013-05-05 19:21:51 UTC (rev 24130)
@@ -1,9 +1,16 @@
-flask (0.9-2) UNRELEASED; urgency=low
+flask (0.9-2) unstable; urgency=low
 
+  [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:00:51 +0200
+  [ Piotr Ożarowski ]
+  * Add python-flask-doc binary package (closes: #703802)
+  * debian/compat bumped to 9
+  * Standards-Version bumped to 3.9.4 (no changes needed)
+  * upload to unstable
 
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 05 May 2013 20:25:15 +0200
+
 flask (0.9-1) experimental; urgency=low
 
   * New upstream release

Modified: packages/flask/trunk/debian/compat
===================================================================
--- packages/flask/trunk/debian/compat	2013-05-05 19:14:54 UTC (rev 24129)
+++ packages/flask/trunk/debian/compat	2013-05-05 19:21:51 UTC (rev 24130)
@@ -1 +1 @@
-7
+9

Modified: packages/flask/trunk/debian/control
===================================================================
--- packages/flask/trunk/debian/control	2013-05-05 19:14:54 UTC (rev 24129)
+++ packages/flask/trunk/debian/control	2013-05-05 19:21:51 UTC (rev 24130)
@@ -3,9 +3,9 @@
 Priority: optional
 Maintainer: Piotr Ożarowski <piotr at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-6), python-setuptools (>= 0.6b3)
-Build-Depends-Indep: python-jinja2, python-werkzeug (>= 0.8)
-Standards-Version: 3.9.3
+Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-6), python-setuptools (>= 0.6b3),
+ python-jinja2, python-werkzeug (>= 0.8), python-sphinx (>= 1.0.7+dfsg)
+Standards-Version: 3.9.4
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/flask/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/flask/trunk/
 Homepage: http://flask.pocoo.org/
@@ -15,6 +15,7 @@
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
 Recommends: python-pkg-resources, python-simplejson | python (>= 2.6)
+Suggests: python-flask-doc
 Description: micro web framework based on Werkzeug, Jinja2 and good intentions
  Flask is a micro web framework for Python based on Werkzeug, Jinja 2 and good
  intentions. A minimal Flask application looks like that:
@@ -28,3 +29,14 @@
  .
    if __name__ == '__main__':
        app.run()
+
+Package: python-flask-doc
+Section: doc
+Architecture: all
+Priority: extra
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Recommends: python-flask
+Description: documentation for Flask micro web framework
+ Flask is a Python micro web framework based on Werkzeug and Jinja2
+ .
+ This package contains the documentation for Flask

Added: packages/flask/trunk/debian/python-flask-doc.doc-base
===================================================================
--- packages/flask/trunk/debian/python-flask-doc.doc-base	                        (rev 0)
+++ packages/flask/trunk/debian/python-flask-doc.doc-base	2013-05-05 19:21:51 UTC (rev 24130)
@@ -0,0 +1,12 @@
+Document: flask
+Title: Flask Documentation
+Author: Mike Bayer
+Abstract: This document describes Flask - Python micro web framework
+Section: Programming/Python
+
+Format: text
+Files: /usr/share/doc/python-flask/rst/*.txt
+
+Format: HTML
+Index: /usr/share/doc/python-flask/html/index.html
+Files: /usr/share/doc/python-flask/html/*.html

Added: packages/flask/trunk/debian/python-flask-doc.links
===================================================================
--- packages/flask/trunk/debian/python-flask-doc.links	                        (rev 0)
+++ packages/flask/trunk/debian/python-flask-doc.links	2013-05-05 19:21:51 UTC (rev 24130)
@@ -0,0 +1 @@
+/usr/share/doc/python-flask/html/_sources/ /usr/share/doc/python-flask/rst

Added: packages/flask/trunk/debian/python-flask.install
===================================================================
--- packages/flask/trunk/debian/python-flask.install	                        (rev 0)
+++ packages/flask/trunk/debian/python-flask.install	2013-05-05 19:21:51 UTC (rev 24130)
@@ -0,0 +1 @@
+/usr/lib/python2.*

Modified: packages/flask/trunk/debian/rules
===================================================================
--- packages/flask/trunk/debian/rules	2013-05-05 19:14:54 UTC (rev 24129)
+++ packages/flask/trunk/debian/rules	2013-05-05 19:21:51 UTC (rev 24130)
@@ -3,7 +3,7 @@
 export PYTHONPATH=$(CURDIR)
 
 %:
-	dh $@ --buildsystem python_distutils --with python2
+	dh $@ --buildsystem python_distutils --with python2,sphinxdoc
 
 build:
 	dh build
@@ -11,6 +11,10 @@
 	make test
 endif
 
+override_dh_installdocs:
+	dh_installdocs
+	PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-flask-doc/usr/share/doc/python-flask/html/
+
 clean:
 	dh clean
 	rm -rf Flask.egg-info/ build




More information about the Python-modules-commits mailing list