[Python-modules-commits] r1207 - in /packages/pastedeploy/trunk: debian/changelog debian/control debian/docs debian/rules debian/watch docs/ docs/news.txt

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Fri Jul 28 11:06:19 UTC 2006


Author: pox-guest
Date: Fri Jul 28 11:06:11 2006
New Revision: 1207

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1207
Log:
new upstream release

Added:
    packages/pastedeploy/trunk/docs/
    packages/pastedeploy/trunk/docs/news.txt
Removed:
    packages/pastedeploy/trunk/debian/docs
Modified:
    packages/pastedeploy/trunk/debian/changelog
    packages/pastedeploy/trunk/debian/control
    packages/pastedeploy/trunk/debian/rules
    packages/pastedeploy/trunk/debian/watch

Modified: packages/pastedeploy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/changelog?rev=1207&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/changelog (original)
+++ packages/pastedeploy/trunk/debian/changelog Fri Jul 28 11:06:11 2006
@@ -1,3 +1,13 @@
+pastedeploy (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 01:00:54 +0200
+
 pastedeploy (0.5-4) unstable; urgency=low
 
   * Update for the new python policy (closes: #373473)

Modified: packages/pastedeploy/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/control?rev=1207&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/control (original)
+++ packages/pastedeploy/trunk/debian/control Fri Jul 28 11:06:11 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: all
 

Modified: packages/pastedeploy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/rules?rev=1207&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/rules (original)
+++ packages/pastedeploy/trunk/debian/rules Fri Jul 28 11:06:11 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" -not -name "license.txt" -printf "%p " | sed "s/.txt//g")
 
 clean:
 	dh_testdir
@@ -15,28 +15,42 @@
 	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-pastedeploy/usr/share/doc/python-paste/docs/deploy ]; then \
+		mkdir -p debian/python-pastedeploy/usr/share/doc/python-paste/docs/deploy;\
+	fi
+	for NAME in $(DOCS); do \
+	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
+	      > "debian/python-pastedeploy/usr/share/doc/python-paste/docs/deploy/$$NAME.html"; \
+	done
+	touch $@
+
 install: build $(PYVERS:%=install-python%)
 install-python%:
 	python$* setup.py install \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/python-pastedeploy
-	# share Egg dir (remove versions from dirname)
-	mv debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${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-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
+	   debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}.egg-info
+	# pth file is not needed since all paste* packages are installed in the same directory
 	rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
-	# in paste-common package:
+	# provided by paste-common package:
 	rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/pastedeploy/paste/__init__.py
 
 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/deploy /usr/share/doc/python-pastedeploy/docs 
 	dh_installexamples  -i
 	dh_pycentral -i
 	dh_python -i

Modified: packages/pastedeploy/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/debian/watch?rev=1207&op=diff
==============================================================================
--- packages/pastedeploy/trunk/debian/watch (original)
+++ packages/pastedeploy/trunk/debian/watch Fri Jul 28 11:06:11 2006
@@ -1,2 +1,2 @@
 version=3
-http://cheeseshop.python.org/packages/source/P/PasteDeploy PasteDeploy-(.*)\.tar\.gz
+http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-(.*)\.tar\.gz

Added: packages/pastedeploy/trunk/docs/news.txt
URL: http://svn.debian.org/wsvn/python-modules/packages/pastedeploy/trunk/docs/news.txt?rev=1207&op=file
==============================================================================
--- packages/pastedeploy/trunk/docs/news.txt (added)
+++ packages/pastedeploy/trunk/docs/news.txt Fri Jul 28 11:06:11 2006
@@ -1,0 +1,75 @@
+Paste Deployment News
+=====================
+
+0.9.6
+-----
+
+* Added ``PrefixMiddleware`` which compensates for cases where the
+  wsgi app is behind a proxy of some sort that isn't moving the prefix
+  into the SCRIPT_NAME in advance.
+
+* Changed _loadconfig() so that it works with Windows absolute paths.
+
+* Make the error messages prettier when you call a function and fail
+  to give an argument, like a required function argument.
+
+0.5
+---
+
+* Made the ``paste_deploy`` template (used with ``paster create
+  --template=paste_deploy``) more useful, with an example application
+  and entry point.
+
+0.4
+---
+
+* Allow filters to have ``filter-with`` values, just like
+  applications.
+
+* Renamed ``composit`` to ``composite`` (old names still work, but
+  aren't documented).
+
+* Added ``appconfig()`` to load along with ``loadapp()``, but return
+  the configuration without invoking the application.
+
+0.3
+---
+
+* Allow variable setting like::
+
+    get local_var = global_var_name
+
+  To bring in global variables to the local scope.
+
+* Allow interpolation in files, like ``%(here)s``.  Anything in the
+  ``[DEFAULTS]`` section will be available to substitute into a value,
+  as will variables in the same section.  Also, the special value
+  ``here`` will be the directory the configuration file is located in.
+
+0.2
+---
+
+Released 26 August 2004
+
+* Added a ``filter-with`` setting to applications.
+
+* Removed the ``1`` from all the protocol names (e.g.,
+  ``paste.app_factory1`` is not ``paste.app_factory``).
+
+* Added ``filter-app:`` and ``pipeline:`` sections.  `Docs
+  <paste-deploy.html#filter-composition>`__.
+
+* Added ``paste.filter_app_factory1`` (`doc
+  <paste-deploy.html#paste-filter-app-factory1>`__) and
+  ``paste.server_runner1`` (`doc
+  <paste-deploy.html#paste-server-runner1>`__) protocols.
+
+* Added ``paste.deploy.converters`` module for handling the
+  string values that are common with this system.
+
+0.1
+---
+
+Released 22 August 2004
+
+Initial version released.  It's all new.




More information about the Python-modules-commits mailing list