[Python-modules-commits] r2141 - in /packages/cherrypy3/trunk/debian: changelog control python-cherrypy3.doc-base.api python-cherrypy3.install rules

kov at users.alioth.debian.org kov at users.alioth.debian.org
Sat Apr 21 18:07:22 UTC 2007


Author: kov
Date: Sat Apr 21 18:07:21 2007
New Revision: 2141

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2141
Log:
generate and install the API documentation

Added:
    packages/cherrypy3/trunk/debian/python-cherrypy3.doc-base.api
    packages/cherrypy3/trunk/debian/python-cherrypy3.install
Modified:
    packages/cherrypy3/trunk/debian/changelog
    packages/cherrypy3/trunk/debian/control
    packages/cherrypy3/trunk/debian/rules

Modified: packages/cherrypy3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/cherrypy3/trunk/debian/changelog?rev=2141&op=diff
==============================================================================
--- packages/cherrypy3/trunk/debian/changelog (original)
+++ packages/cherrypy3/trunk/debian/changelog Sat Apr 21 18:07:21 2007
@@ -11,8 +11,12 @@
   * debian/control:
   - updated python-support and python-all-dev version requirements
     and moved them to build-deps because they are needed on clean
-
- -- Gustavo Noronha Silva <kov at debian.org>  Sat, 21 Apr 2007 14:34:06 -0300
+  * debian/control, debian/rules, debian/python-cherrypy3.doc-base.api,
+    debian/python-cherrypy3.install:
+  - build API documentation as a step in the package build and install
+    it; this uses epydoc
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Sat, 21 Apr 2007 14:40:09 -0300
 
 cherrypy3 (3.0.0-1) unstable; urgency=low
 

Modified: packages/cherrypy3/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/cherrypy3/trunk/debian/control?rev=2141&op=diff
==============================================================================
--- packages/cherrypy3/trunk/debian/control (original)
+++ packages/cherrypy3/trunk/debian/control Sat Apr 21 18:07:21 2007
@@ -4,6 +4,7 @@
 Maintainer: Gustavo Noronha Silva <kov at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: cdbs (>= 0.4.42), debhelper (>= 5.0.37.1), python-setuptools (>= 0.6a9-1), python-all-dev (>= 2.3.5-11), python-support (>= 0.5.3)
+Build-Depends-Indep: python-epydoc
 Standards-Version: 3.7.2
 XS-Python-Version: >= 2.3
 XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/cherrypy3/trunk/

Added: packages/cherrypy3/trunk/debian/python-cherrypy3.doc-base.api
URL: http://svn.debian.org/wsvn/python-modules/packages/cherrypy3/trunk/debian/python-cherrypy3.doc-base.api?rev=2141&op=file
==============================================================================
--- packages/cherrypy3/trunk/debian/python-cherrypy3.doc-base.api (added)
+++ packages/cherrypy3/trunk/debian/python-cherrypy3.doc-base.api Sat Apr 21 18:07:21 2007
@@ -1,0 +1,15 @@
+Document: cherrypy3-api
+Title: CherryPy 3.x API Reference
+Author: Remi Delon, Robert Brewer and others
+Abstract: CherryPy is a pythonic, object-oriented web development framework. It
+ provides the foundation over which complex web-based applications can
+ be written, with little or no knowledge of the underlying
+ protocols. CherryPy allows developers to build web applications in
+ much the same way they would build any other object-oriented Python
+ program. This usually results in smaller source code developed in
+ less time. This is the documentation for version 3 of CherryPy.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/python-cherrypy3/api/index.html
+Files: /usr/share/doc/python-cherrypy3/api/*/*.html

Added: packages/cherrypy3/trunk/debian/python-cherrypy3.install
URL: http://svn.debian.org/wsvn/python-modules/packages/cherrypy3/trunk/debian/python-cherrypy3.install?rev=2141&op=file
==============================================================================
--- packages/cherrypy3/trunk/debian/python-cherrypy3.install (added)
+++ packages/cherrypy3/trunk/debian/python-cherrypy3.install Sat Apr 21 18:07:21 2007
@@ -1,0 +1,1 @@
+api/* usr/share/doc/python-cherrypy3/api/

Modified: packages/cherrypy3/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/cherrypy3/trunk/debian/rules?rev=2141&op=diff
==============================================================================
--- packages/cherrypy3/trunk/debian/rules (original)
+++ packages/cherrypy3/trunk/debian/rules Sat Apr 21 18:07:21 2007
@@ -16,3 +16,9 @@
 		debian/python-cherrypy3/usr/share/python-support/python-cherrypy3/CherryPy-${DEB_UPSTREAM_VERSION}.egg-info
 	mv debian/python-cherrypy3/usr/share/python-support/python-cherrypy3/cherrypy/tutorial/ \
 		debian/python-cherrypy3/usr/share/doc/python-cherrypy3/
+
+post-patches::
+	env PYTHONPATH=`pwd` epydoc -n CherryPy3 -u http://www.cherrypy.org/ -o api cherrypy
+
+clean::
+	-rm -rf api




More information about the Python-modules-commits mailing list