[Python-modules-commits] r1170 - in /packages/paste/trunk/debian:
changelog control python-paste.doc-base python-paste.docs rules
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Thu Jul 20 23:26:18 UTC 2006
Author: pox-guest
Date: Thu Jul 20 23:26:17 2006
New Revision: 1170
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1170
Log:
* new upstream release
* build documentation from sources
Added:
packages/paste/trunk/debian/python-paste.doc-base
Removed:
packages/paste/trunk/debian/python-paste.docs
Modified:
packages/paste/trunk/debian/changelog
packages/paste/trunk/debian/control
packages/paste/trunk/debian/rules
Modified: packages/paste/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/paste/trunk/debian/changelog?rev=1170&op=diff
==============================================================================
--- packages/paste/trunk/debian/changelog (original)
+++ packages/paste/trunk/debian/changelog Thu Jul 20 23:26:17 2006
@@ -1,3 +1,13 @@
+paste (0.9.5-1) unstable; urgency=low
+
+ * New upstream release
+ * Documentation is now build from sources:
+ - debian/rules updated
+ - Add build dependency on python-docutils
+ * Add doc-base data
+
+ -- Piotr Ozarowski <ozarow at gmail.com> Thu, 20 Jul 2006 23:49:45 +0200
+
paste (0.9.3-3) unstable; urgency=low
* paste-common's dependency on python filled by hand
Modified: packages/paste/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/paste/trunk/debian/control?rev=1170&op=diff
==============================================================================
--- packages/paste/trunk/debian/control (original)
+++ packages/paste/trunk/debian/control Thu Jul 20 23:26:17 2006
@@ -4,7 +4,7 @@
Maintainer: Piotr Ozarowski <ozarow at gmail.com>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5), python-setuptools (>= 0.6b3-1)
+Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5), python-setuptools (>= 0.6b3-1), python-docutils
Standards-Version: 3.7.2
XS-Python-Version: >= 2.4
Added: packages/paste/trunk/debian/python-paste.doc-base
URL: http://svn.debian.org/wsvn/python-modules/packages/paste/trunk/debian/python-paste.doc-base?rev=1170&op=file
==============================================================================
--- packages/paste/trunk/debian/python-paste.doc-base (added)
+++ packages/paste/trunk/debian/python-paste.doc-base Thu Jul 20 23:26:17 2006
@@ -1,0 +1,10 @@
+Document: python-paste
+Title: Python Paste documentation
+Author: Ian Bicking
+Abstract: Python Paste brings consistency to Python web development and web application
+ installation, providing tools for both developers and system administrators.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/python-paste/docs/index.html
+Files: /usr/share/doc/python-paste/docs/*.html
Modified: packages/paste/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/paste/trunk/debian/rules?rev=1170&op=diff
==============================================================================
--- packages/paste/trunk/debian/rules (original)
+++ packages/paste/trunk/debian/rules Thu Jul 20 23:26:17 2006
@@ -4,8 +4,8 @@
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-
PYVERS=$(shell pyversions -vr)
+DOCS=$(shell find docs/ -name "*.txt" -not -path "*/include/*" -printf "%p "| sed "s/.txt//g")
clean:
dh_testdir
@@ -13,6 +13,7 @@
rm -f build-*
rm -rf dist build
find . -name *\.py[co] -exec rm {} \;
+ rm -f docs/reference.txt
dh_clean
build: build-stamp
@@ -34,10 +35,10 @@
mkdir -p debian/paste-common/usr/lib/python$*/site-packages/paste/
cp paste/__init__.py debian/paste-common/usr/lib/python$*/site-packages/paste/
# fix file permissions
- chmod +x debian/python-paste/usr/lib/python$*/site-packages/paste/debug/doctest_webapp.py
+ #chmod +x debian/python-paste/usr/lib/python$*/site-packages/paste/debug/doctest_webapp.py
chmod +x debian/python-paste/usr/lib/python$*/site-packages/paste/util/scgiserver.py
-binary-indep: build install
+binary-indep: build install docs
dh_testdir -i
dh_testroot -i
dh_installchangelogs -i
@@ -54,6 +55,24 @@
dh_md5sums -i
dh_builddeb -i
+docs: build-docs-stamp
+build-docs-stamp:
+ if [ ! -d debian/python-paste/usr/share/doc/python-paste/docs/ ]; then \
+ mkdir -p debian/python-paste/usr/share/doc/python-paste/docs/community; \
+ mkdir debian/python-paste/usr/share/doc/python-paste/docs/download; \
+ mkdir debian/python-paste/usr/share/doc/python-paste/docs/web; \
+ fi
+ for NAME in $(DOCS); do \
+ rst2html --cloak-email-addresses --no-toc-backlinks "$$NAME.txt" \
+ > "debian/python-paste/usr/share/doc/python-paste/$$NAME.html"; \
+ done
+ cp docs/include/reference_header.txt docs/reference.txt
+ echo ":extracted: `date`" >> docs/reference.txt
+ echo >> docs/reference.txt
+ rst2html docs/reference.txt > debian/python-paste/usr/share/doc/python-paste/docs/reference.html
+ touch $@
+
+
binary-arch:
binary: binary-indep binary-arch
More information about the Python-modules-commits
mailing list