[Python-modules-commits] r1263 - in
/packages/pastewebkit/trunk/debian: changelog control docs rules
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Sat Aug 12 16:44:26 UTC 2006
Author: pox-guest
Date: Sat Aug 12 16:44:25 2006
New Revision: 1263
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1263
Log:
build docs from sources
Removed:
packages/pastewebkit/trunk/debian/docs
Modified:
packages/pastewebkit/trunk/debian/changelog
packages/pastewebkit/trunk/debian/control
packages/pastewebkit/trunk/debian/rules
Modified: packages/pastewebkit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pastewebkit/trunk/debian/changelog?rev=1263&op=diff
==============================================================================
--- packages/pastewebkit/trunk/debian/changelog (original)
+++ packages/pastewebkit/trunk/debian/changelog Sat Aug 12 16:44:25 2006
@@ -3,8 +3,12 @@
* NOT RELEASED YET
* Added debian/pycompat file
* Fixed a little bashism in debian/rules
+ * Documentation changes:
+ - Files are now generated from sources
+ - Add link in python-paste's docs
+ - Add python-docutils in build dependencies
- -- Piotr Ozarowski <ozarow at gmail.com> Sun, 18 Jun 2006 01:39:53 +0200
+ -- Piotr Ozarowski <ozarow at gmail.com> Sat, 12 Aug 2006 18:12:00 +0200
pastewebkit (0.9-3) unstable; urgency=low
Modified: packages/pastewebkit/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pastewebkit/trunk/debian/control?rev=1263&op=diff
==============================================================================
--- packages/pastewebkit/trunk/debian/control (original)
+++ packages/pastewebkit/trunk/debian/control Sat Aug 12 16:44:25 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-7), python-all-dev, python-central (>= 0.4.17), python-setuptools (>= 0.6b3-1)
+Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.4.17), python-setuptools (>= 0.6b3-1), python-docutils
Standards-Version: 3.7.2
XS-Python-Version: >= 2.4
Modified: packages/pastewebkit/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pastewebkit/trunk/debian/rules?rev=1263&op=diff
==============================================================================
--- packages/pastewebkit/trunk/debian/rules (original)
+++ packages/pastewebkit/trunk/debian/rules Sat Aug 12 16:44:25 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 debian/control)
+PYVERS=$(shell pyversions -vr)
+DOCS=$(shell cd docs && find ./ -name "*.txt" -printf "%p " | sed "s/.txt//g")
clean:
dh_testdir
@@ -15,11 +15,23 @@
find . -name *\.py[co] -exec rm {} \;
dh_clean
-build: $(PYVERS:%=build-python%)
+build: build-indep build-stamp
+build-stamp: $(PYVERS:%=build-python%)
touch $@
build-python%:
python$* setup.py build
touch $@
+
+build-indep:
+ if [ ! -d debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs ]; then \
+ mkdir -p debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs;\
+ fi
+ for NAME in $(DOCS); do \
+ rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" > \
+ "debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs/$$NAME.html"; \
+ done
+ touch $@
+
install: build $(PYVERS:%=install-python%)
install-python%:
python$* setup.py install \
@@ -38,6 +50,7 @@
dh_testroot -i
dh_installchangelogs -i
dh_installdocs -i
+ dh_link usr/share/doc/python-pastewebkit/docs /usr/share/doc/python-paste/docs/webkit
dh_installexamples -i
dh_pycentral -i
dh_python -i
More information about the Python-modules-commits
mailing list