[Python-modules-commits] r1208 - in
/packages/pastescript/trunk/debian: changelog control docs
examples rules watch
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Fri Jul 28 11:06:38 UTC 2006
Author: pox-guest
Date: Fri Jul 28 11:06:37 2006
New Revision: 1208
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1208
Log:
new upstream release
Removed:
packages/pastescript/trunk/debian/docs
Modified:
packages/pastescript/trunk/debian/changelog
packages/pastescript/trunk/debian/control
packages/pastescript/trunk/debian/examples
packages/pastescript/trunk/debian/rules
packages/pastescript/trunk/debian/watch
Modified: packages/pastescript/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/changelog?rev=1208&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/changelog (original)
+++ packages/pastescript/trunk/debian/changelog Fri Jul 28 11:06:37 2006
@@ -1,3 +1,13 @@
+pastescript (0.9.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Documentation changes:
+ - Files are now generated and installed into python-paste's location
+ - Add python-docutils in build dependencies
+ - doc/news.txt file is installed as changelog
+
+ -- Piotr Ozarowski <ozarow at gmail.com> Fri, 28 Jul 2006 00:52:22 +0200
+
pastescript (0.9-1) unstable; urgency=low
* Initial release (closes: #366244)
Modified: packages/pastescript/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/control?rev=1208&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/control (original)
+++ packages/pastescript/trunk/debian/control Fri Jul 28 11:06:37 2006
@@ -4,9 +4,9 @@
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
+XS-Python-Version: >= 2.3
Package: python-pastescript
Architecture: all
Modified: packages/pastescript/trunk/debian/examples
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/examples?rev=1208&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/examples (original)
+++ packages/pastescript/trunk/debian/examples Fri Jul 28 11:06:37 2006
@@ -1,3 +1,1 @@
-docs/example_cgi_app.ini
-docs/example_wsgiutils_app.ini
tests/*
Modified: packages/pastescript/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/rules?rev=1208&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/rules (original)
+++ packages/pastescript/trunk/debian/rules Fri Jul 28 11:06:37 2006
@@ -4,34 +4,48 @@
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" -not -name "license.txt" -printf "%p " | sed "s/.txt//g")
clean:
dh_testdir
dh_testroot
- rm -f build-* python-build*
+ rm -f build-*
rm -rf dist build
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-pastescript/usr/share/doc/python-paste/docs/script ]; then \
+ mkdir -p debian/python-pastescript/usr/share/doc/python-paste/docs/script;\
+ fi
+ for NAME in $(DOCS); do \
+ rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
+ > "debian/python-pastescript/usr/share/doc/python-paste/docs/script/$$NAME.html"; \
+ done
+ cp docs/*ini debian/python-pastescript/usr/share/doc/python-paste/docs/script/
+ touch $@
+
install: build $(PYVERS:%=install-python%)
install-python%:
python$* setup.py install \
--single-version-externally-managed \
--root $(CURDIR)/debian/python-pastescript
- # share Egg dir (remove versions from dirname)
- mv debian/python-pastescript/usr/lib/python$*/site-packages/PasteScript-${DEB_UPSTREAM_VERSION}{-py$*,}.egg-info
- # pth file is not needed since all paste* packages are installed in same directory
+ # share Egg dir (remove python's version from dirname)
+ mv debian/python-pastescript/usr/lib/python$*/site-packages/PasteScript-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
+ debian/python-pastescript/usr/lib/python$*/site-packages/PasteScript-${DEB_UPSTREAM_VERSION}.egg-info
+ # pth file is not needed since all paste* packages are installed in the same directory
rm -f debian/python-pastescript/usr/lib/python$*/site-packages/PasteScript-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
- # in paste-common package:
+ # provided by paste-common package:
rm -f debian/python-pastescript/usr/lib/python$*/site-packages/pastescript/paste/__init__.py
- # paster will not work with python2.3
+ # paster needs python >=2.4
ifeq ("2.3", $(shell pyversions -vr 'current'))
sed -i 's,/usr/bin/python\>,/usr/bin/python2.4,g' \
debian/python-pastescript/usr/bin/paster
@@ -40,8 +54,9 @@
binary-indep: build install
dh_testdir -i
dh_testroot -i
- dh_installchangelogs -i
+ dh_installchangelogs -i docs/news.txt
dh_installdocs -i
+ dh_link usr/share/doc/python-paste/docs/script /usr/share/doc/python-pastescript/docs
dh_installman -i
dh_installexamples -i
dh_pycentral -i
Modified: packages/pastescript/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/watch?rev=1208&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/watch (original)
+++ packages/pastescript/trunk/debian/watch Fri Jul 28 11:06:37 2006
@@ -1,2 +1,2 @@
version=3
-http://cheeseshop.python.org/packages/source/P/PasteScript/ PasteScript-(.*)\.tar\.gz
+http://cheeseshop.python.org/packages/source/P/PasteScript/PasteScript-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list