[Python-modules-commits] r17213 - in packages/pastedeploy/tags (14 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat May 28 16:35:03 UTC 2011


    Date: Saturday, May 28, 2011 @ 16:35:02
  Author: piotr
Revision: 17213

[svn-buildpackage] Tagging pastedeploy 1.5.0-1

Added:
  packages/pastedeploy/tags/1.5.0-1/
  packages/pastedeploy/tags/1.5.0-1/debian/changelog
    (from rev 17209, packages/pastedeploy/trunk/debian/changelog)
  packages/pastedeploy/tags/1.5.0-1/debian/control
    (from rev 17209, packages/pastedeploy/trunk/debian/control)
  packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch
    (from rev 17209, packages/pastedeploy/trunk/debian/patches/01_change_templates_path.dpatch)
  packages/pastedeploy/tags/1.5.0-1/debian/patches/series
    (from rev 17209, packages/pastedeploy/trunk/debian/patches/series)
  packages/pastedeploy/tags/1.5.0-1/debian/rules
    (from rev 17209, packages/pastedeploy/trunk/debian/rules)
  packages/pastedeploy/tags/1.5.0-1/debian/source/format
    (from rev 17209, packages/pastedeploy/trunk/debian/source/format)
Deleted:
  packages/pastedeploy/tags/1.5.0-1/debian/README.source
  packages/pastedeploy/tags/1.5.0-1/debian/changelog
  packages/pastedeploy/tags/1.5.0-1/debian/control
  packages/pastedeploy/tags/1.5.0-1/debian/patches/00list
  packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch
  packages/pastedeploy/tags/1.5.0-1/debian/rules
  packages/pastedeploy/tags/1.5.0-1/debian/source/format

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/README.source
===================================================================
--- packages/pastedeploy/trunk/debian/README.source	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/README.source	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1,4 +0,0 @@
-This package is using dpatch patch system. 
-
-To get the fully patched source after unpacking the source package, cd to
-the root level of the source package and run `./debian/rules patch`

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/changelog
===================================================================
--- packages/pastedeploy/trunk/debian/changelog	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/changelog	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1,144 +0,0 @@
-pastedeploy (1.3.3-4) UNRELEASED; urgency=low
-
-  * Enable build-time tests
-
- -- Andrey Rahmatullin <wrar at wrar.name>  Sat, 12 Mar 2011 21:14:13 +0500
-
-pastedeploy (1.3.3-3) unstable; urgency=low
-
-  * Make sure all Python versions use site-packages as temporary
-    installation directory for modules (closes: #547833)
-  * Standards-Version bumped to 3.8.3 (no changes needed)
-
- -- Piotr Ożarowski <piotr at debian.org>  Fri, 25 Sep 2009 22:39:45 +0200
-
-pastedeploy (1.3.3-2) unstable; urgency=low
-
-  * Upload to unstable
-
- -- Piotr Ożarowski <piotr at debian.org>  Sun, 15 Feb 2009 20:38:48 +0100
-
-pastedeploy (1.3.3-1) unstable; urgency=low
-
-  [ Sandro Tosi ]
-  * debian/control
-    - switch Vcs-Browser field to viewsvn
-
-  [ Piotr Ożarowski ]
-  * New upstream release
-  * Change Debian packaging license to match upstream
-
- -- Piotr Ożarowski <piotr at debian.org>  Thu, 12 Feb 2009 20:27:12 +0100
-
-pastedeploy (1.3.2-1) unstable; urgency=low
-
-  * New upstream release
-  * Don't feed rst2html with new subdirectories of docs directory
-  * Standards-Version bumped to 3.8.0:
-    + debian/README.source file added
-
- -- Piotr Ożarowski <piotr at debian.org>  Sat, 14 Jun 2008 11:46:40 +0200
-
-pastedeploy (1.3.1-3) unstable; urgency=low
-
-  * Replace python-setuptools with python-pkg-resources in Depends
-    (closes: #468715)
-  * Remove paste-common dependency, python-support will provide all needed
-    namespace
-  * Move paster_templates to /usr/share/
-    + 01_change_templates_path patch added, dpatch added to build depends
-    + recommend python-pastescript (>= 1.6.2-3)
-  * Add "~" to python-setuptools minimum required build dependency to ease
-    backporting
-
- -- Piotr Ożarowski <piotr at debian.org>  Sat, 24 May 2008 18:56:13 +0200
-
-pastedeploy (1.3.1-2) unstable; urgency=low
-
-  * Switch to python-support. All paste packages will now depend on
-    paste-common (>= 1.6-1) to make sure all use pysupport
-  * Compress binary package with bzip2
-  * Homepage field added
-  * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
-  * Bump Standards-Version to 3.7.3 (no changes needed)
-
- -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:46:42 +0200
-
-pastedeploy (1.3.1-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Piotr Ożarowski <piotr at debian.org>  Tue, 26 Jun 2007 20:56:38 +0200
-
-pastedeploy (1.3-1) unstable; urgency=low
-
-  * New upstream release
-  * Cleaned debian/rules file a little bit
-
- -- Piotr Ożarowski <piotr at debian.org>  Wed, 11 Apr 2007 18:18:57 +0200
-
-pastedeploy (1.1-2) unstable; urgency=low
-
-  * Upload to unstable
-  * Changed my address to piotr at debian.org
-
- -- Piotr Ożarowski <piotr at debian.org>  Sun, 08 Apr 2007 16:56:39 +0200
-
-pastedeploy (1.1-1) experimental; urgency=low
-
-  * New upstream release (upload to experimental due to Etch freeze)
-  * Added XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control
-
- -- Piotr Ozarowski <ozarow at gmail.com>  Mon, 18 Dec 2006 14:25:23 +0100
-
-pastedeploy (1.0-1) unstable; urgency=low
-
-  * New upstream release
-  * debian/rules cleaned:
-    + dh_python removed, dh_pycentral will generate all data now
-    + unneeded dh_installexamples, dh_strip and dh_shlibdeps calls removed
-  * debian/control:
-    + bumped debhelper and python-central required versions due to dh_python
-      call removal
-    + Homepage updated
-  * Test files are no longer installed as examples
-  * Added debian/pycompat file
-
- -- Piotr Ozarowski <ozarow at gmail.com>  Mon, 23 Oct 2006 16:43:41 +0200
-
-pastedeploy (0.9.6-1) unstable; urgency=low
-
-  * New upstream release
-  * Documentation changes:
-    - Files are now generated from sources
-    - Add link in python-paste's docs
-    - 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)
-  * Convert to python-central
-
- -- Piotr Ozarowski <ozarow at gmail.com>  Fri, 16 Jun 2006 00:19:46 +0200
-
-pastedeploy (0.5-3) unstable; urgency=low
-
-  * Common paste* modules file moved to paste-common package
-
- -- Piotr Ozarowski <ozarow at gmail.com>  Sun, 14 May 2006 03:27:56 +0200
-
-pastedeploy (0.5-2) unstable; urgency=low
-
-  * Egg directory name fixed
-
- -- Piotr Ozarowski <ozarow at gmail.com>  Wed, 10 May 2006 18:10:18 +0200
-
-pastedeploy (0.5-1) unstable; urgency=low
-
-  * Initial release (closes: #366041)
-
- -- Piotr Ozarowski <ozarow at gmail.com>  Thu,  4 May 2006 18:26:28 +0200
-

Copied: packages/pastedeploy/tags/1.5.0-1/debian/changelog (from rev 17209, packages/pastedeploy/trunk/debian/changelog)
===================================================================
--- packages/pastedeploy/tags/1.5.0-1/debian/changelog	                        (rev 0)
+++ packages/pastedeploy/tags/1.5.0-1/debian/changelog	2011-05-28 16:35:02 UTC (rev 17213)
@@ -0,0 +1,148 @@
+pastedeploy (1.5.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Convert to dh_python2
+    - recommend python-pastescript >= 1.7.3-6~
+  * Source format changed to 3.0 (quilt)
+  * Standards-Version bumped to 3.9.2 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sat, 28 May 2011 17:31:01 +0200
+
+pastedeploy (1.3.3-3) unstable; urgency=low
+
+  * Make sure all Python versions use site-packages as temporary
+    installation directory for modules (closes: #547833)
+  * Standards-Version bumped to 3.8.3 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Fri, 25 Sep 2009 22:39:45 +0200
+
+pastedeploy (1.3.3-2) unstable; urgency=low
+
+  * Upload to unstable
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 15 Feb 2009 20:38:48 +0100
+
+pastedeploy (1.3.3-1) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+  [ Piotr Ożarowski ]
+  * New upstream release
+  * Change Debian packaging license to match upstream
+
+ -- Piotr Ożarowski <piotr at debian.org>  Thu, 12 Feb 2009 20:27:12 +0100
+
+pastedeploy (1.3.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Don't feed rst2html with new subdirectories of docs directory
+  * Standards-Version bumped to 3.8.0:
+    + debian/README.source file added
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sat, 14 Jun 2008 11:46:40 +0200
+
+pastedeploy (1.3.1-3) unstable; urgency=low
+
+  * Replace python-setuptools with python-pkg-resources in Depends
+    (closes: #468715)
+  * Remove paste-common dependency, python-support will provide all needed
+    namespace
+  * Move paster_templates to /usr/share/
+    + 01_change_templates_path patch added, dpatch added to build depends
+    + recommend python-pastescript (>= 1.6.2-3)
+  * Add "~" to python-setuptools minimum required build dependency to ease
+    backporting
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sat, 24 May 2008 18:56:13 +0200
+
+pastedeploy (1.3.1-2) unstable; urgency=low
+
+  * Switch to python-support. All paste packages will now depend on
+    paste-common (>= 1.6-1) to make sure all use pysupport
+  * Compress binary package with bzip2
+  * Homepage field added
+  * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+  * Bump Standards-Version to 3.7.3 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:46:42 +0200
+
+pastedeploy (1.3.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Piotr Ożarowski <piotr at debian.org>  Tue, 26 Jun 2007 20:56:38 +0200
+
+pastedeploy (1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Cleaned debian/rules file a little bit
+
+ -- Piotr Ożarowski <piotr at debian.org>  Wed, 11 Apr 2007 18:18:57 +0200
+
+pastedeploy (1.1-2) unstable; urgency=low
+
+  * Upload to unstable
+  * Changed my address to piotr at debian.org
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 08 Apr 2007 16:56:39 +0200
+
+pastedeploy (1.1-1) experimental; urgency=low
+
+  * New upstream release (upload to experimental due to Etch freeze)
+  * Added XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Mon, 18 Dec 2006 14:25:23 +0100
+
+pastedeploy (1.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/rules cleaned:
+    + dh_python removed, dh_pycentral will generate all data now
+    + unneeded dh_installexamples, dh_strip and dh_shlibdeps calls removed
+  * debian/control:
+    + bumped debhelper and python-central required versions due to dh_python
+      call removal
+    + Homepage updated
+  * Test files are no longer installed as examples
+  * Added debian/pycompat file
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Mon, 23 Oct 2006 16:43:41 +0200
+
+pastedeploy (0.9.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Documentation changes:
+    - Files are now generated from sources
+    - Add link in python-paste's docs
+    - 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)
+  * Convert to python-central
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Fri, 16 Jun 2006 00:19:46 +0200
+
+pastedeploy (0.5-3) unstable; urgency=low
+
+  * Common paste* modules file moved to paste-common package
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Sun, 14 May 2006 03:27:56 +0200
+
+pastedeploy (0.5-2) unstable; urgency=low
+
+  * Egg directory name fixed
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Wed, 10 May 2006 18:10:18 +0200
+
+pastedeploy (0.5-1) unstable; urgency=low
+
+  * Initial release (closes: #366041)
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Thu,  4 May 2006 18:26:28 +0200
+

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/control
===================================================================
--- packages/pastedeploy/trunk/debian/control	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/control	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1,28 +0,0 @@
-Source: pastedeploy
-Section: python
-Priority: optional
-Maintainer: Piotr Ożarowski <piotr at debian.org>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), dpatch
-Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev,
- python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~), python-docutils,
- python-nose, python-paste, python-py
-Standards-Version: 3.8.3
-Homepage: http://pythonpaste.org/deploy/
-XS-Python-Version: all
-Vcs-Svn: svn://svn.debian.org/python-modules/packages/pastedeploy/trunk/
-Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pastedeploy/trunk/
-
-Package: python-pastedeploy
-Architecture: all
-Depends: ${python:Depends}, python-pkg-resources
-Recommends: python-pastescript (>= 1.6.2-3)
-XB-Python-Version: ${python:Versions}
-Enhances: python-paste
-Description: load, configure, and compose WSGI applications and servers
- Paste Deployment is a system for finding and configuring WSGI applications and
- servers. For WSGI application consumers it provides a single, simple function
- (loadapp) for loading a WSGI application from a configuration file or a Python
- Egg. For WSGI application providers it only asks for a single, simple entry
- point to your application, so that application users don't need to be exposed
- to the implementation details of your application.

Copied: packages/pastedeploy/tags/1.5.0-1/debian/control (from rev 17209, packages/pastedeploy/trunk/debian/control)
===================================================================
--- packages/pastedeploy/tags/1.5.0-1/debian/control	                        (rev 0)
+++ packages/pastedeploy/tags/1.5.0-1/debian/control	2011-05-28 16:35:02 UTC (rev 17213)
@@ -0,0 +1,25 @@
+Source: pastedeploy
+Section: python
+Priority: optional
+Maintainer: Piotr Ożarowski <piotr at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3-1~), python-docutils
+Standards-Version: 3.9.2
+Homepage: http://pythonpaste.org/deploy/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pastedeploy/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pastedeploy/trunk/
+X-Python-Version: >= 2.4
+
+Package: python-pastedeploy
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources
+Recommends: python-pastescript (>= 1.7.3-6~)
+Enhances: python-paste
+Description: load, configure, and compose WSGI applications and servers
+ Paste Deployment is a system for finding and configuring WSGI applications and
+ servers. For WSGI application consumers it provides a single, simple function
+ (loadapp) for loading a WSGI application from a configuration file or a Python
+ Egg. For WSGI application providers it only asks for a single, simple entry
+ point to your application, so that application users don't need to be exposed
+ to the implementation details of your application.

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/patches/00list
===================================================================
--- packages/pastedeploy/trunk/debian/patches/00list	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/patches/00list	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1 +0,0 @@
-01_change_templates_path

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch
===================================================================
--- packages/pastedeploy/trunk/debian/patches/01_change_templates_path.dpatch	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_change_templates_path.dpatch by Piotr Ożarowski <piotr at debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: paster's templates are outside site-packages in Debian
-
- at DPATCH@
-diff -urNad pastedeploy-1.3.1~/paste/deploy/paster_templates.py pastedeploy-1.3.1/paste/deploy/paster_templates.py
---- pastedeploy-1.3.1~/paste/deploy/paster_templates.py	2007-06-26 19:16:23.000000000 +0200
-+++ pastedeploy-1.3.1/paste/deploy/paster_templates.py	2008-05-24 18:54:27.000000000 +0200
-@@ -5,7 +5,7 @@
- 
- class PasteDeploy(Template):
- 
--    _template_dir = 'paster_templates/paste_deploy'
-+    _template_dir = '/usr/share/paster_templates/paste_deploy'
-     summary = "A web application deployed through paste.deploy"
-     
-     egg_plugins = ['PasteDeploy']

Copied: packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch (from rev 17209, packages/pastedeploy/trunk/debian/patches/01_change_templates_path.dpatch)
===================================================================
--- packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch	                        (rev 0)
+++ packages/pastedeploy/tags/1.5.0-1/debian/patches/01_change_templates_path.dpatch	2011-05-28 16:35:02 UTC (rev 17213)
@@ -0,0 +1,14 @@
+# 01_change_templates_path.dpatch by Piotr Ożarowski <piotr at debian.org>
+#
+# paster's templates are outside site-packages in Debian
+--- pastedeploy-1.5.0.orig/paste/deploy/paster_templates.py
++++ pastedeploy-1.5.0/paste/deploy/paster_templates.py
+@@ -9,7 +9,7 @@ from paste.deploy.compat import print_
+ 
+ class PasteDeploy(Template):
+ 
+-    _template_dir = 'paster_templates/paste_deploy'
++    _template_dir = '/usr/share/paster_templates/paste_deploy'
+     summary = "A web application deployed through paste.deploy"
+ 
+     egg_plugins = ['PasteDeploy']

Copied: packages/pastedeploy/tags/1.5.0-1/debian/patches/series (from rev 17209, packages/pastedeploy/trunk/debian/patches/series)
===================================================================
--- packages/pastedeploy/tags/1.5.0-1/debian/patches/series	                        (rev 0)
+++ packages/pastedeploy/tags/1.5.0-1/debian/patches/series	2011-05-28 16:35:02 UTC (rev 17213)
@@ -0,0 +1 @@
+01_change_templates_path.dpatch

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/rules
===================================================================
--- packages/pastedeploy/trunk/debian/rules	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/rules	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1,72 +0,0 @@
-#!/usr/bin/make -f
-
-#export DH_VERBOSE=1
-
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
-PYVERS=$(shell pyversions -vr)
-DOCS=$(shell cd docs && find ./ -maxdepth 1 -name "*.txt" -not -name "license.txt" -printf "%p " | sed "s/.txt//g")
-PKGDIR=$(CURDIR)/debian/python-pastedeploy
-
-include /usr/share/dpatch/dpatch.make
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -rf dist build tests/fake_packages/FakeApp.egg/EGG-INFO
-	find . -name '*\.py[co]' -delete
-	dh_clean build-docs $(PYVERS:%=install-python%)
-
-build: patch build-docs
-
-build-docs:
-	dh_installdirs
-	for NAME in $(DOCS); do \
-	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
-	      > "$(PKGDIR)/usr/share/doc/python-pastedeploy/docs/$$NAME.html"; \
-	done
-	touch $@
-
-install: build $(PYVERS:%=install-python%)
-install-python%: patch
-	python$* setup.py install --prefix=/usr \
-		--single-version-externally-managed \
-		--root $(PKGDIR) \
-		--install-lib=/usr/lib/python$*/site-packages
-	# pth file is not needed
-	rm -f $(PKGDIR)/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
-	# python-support's namespace feature will handle this
-	rm -f $(PKGDIR)/usr/lib/python$*/site-packages/paste/__init__.py
-	# move templates outside site-packages
-	if [ -d $(PKGDIR)/usr/share/paster_templates ]; \
-		then rm -rf $(PKGDIR)/usr/lib/python$*/site-packages/paste/deploy/paster_templates; \
-	else \
-		mv $(PKGDIR)/usr/lib/python$*/site-packages/paste/deploy/paster_templates \
-		   $(PKGDIR)/usr/share/;\
-	fi
-
-test: $(PYVERS:%=test-python%)
-test-python%:
-	-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	python$* setup.py nosetests
-endif
-
-binary-indep: build install test
-	dh_testdir -i
-	dh_testroot -i
-	dh_installchangelogs -i docs/news.txt
-	dh_installdocs -i
-	dh_link usr/share/doc/python-pastedeploy/docs /usr/share/doc/python-paste/docs/deploy
-	dh_pysupport -i
-	dh_compress -i -X.py
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i -- -Z bzip2
-
-binary-arch:
-
-binary: binary-indep binary-arch
-
-.PHONY: build clean binary-indep binary-arch binary install build test

Copied: packages/pastedeploy/tags/1.5.0-1/debian/rules (from rev 17209, packages/pastedeploy/trunk/debian/rules)
===================================================================
--- packages/pastedeploy/tags/1.5.0-1/debian/rules	                        (rev 0)
+++ packages/pastedeploy/tags/1.5.0-1/debian/rules	2011-05-28 16:35:02 UTC (rev 17213)
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr)
+DOCS=$(shell cd docs && find ./ -maxdepth 1 -name "*.txt" -not -name "license.txt" -printf "%p " | sed "s/.txt//g")
+PKGDIR=$(CURDIR)/debian/python-pastedeploy
+include /usr/share/python/python.mk
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -rf dist build
+	find . -name '*\.py[co]' -delete
+	dh_clean build-docs $(PYVERS:%=install-python%)
+
+build: build-docs
+
+build-docs:
+	dh_installdirs
+	for NAME in $(DOCS); do \
+	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
+	      > "$(PKGDIR)/usr/share/doc/python-pastedeploy/docs/$$NAME.html"; \
+	done
+	touch $@
+
+install: build $(PYVERS:%=install-python%)
+install-python%:
+	python$* setup.py install --root $(PKGDIR) \
+		--single-version-externally-managed $(py_setup_install_args)
+	# pth file is not needed
+	find $(PKGDIR) -name '*.pth' -or -name 'namespace_packages.txt' -delete
+	# move templates outside site-packages
+	if [ -d $(PKGDIR)/usr/share/paster_templates ]; \
+		then rm -r $(PKGDIR)$(call py_libdir,$*)/paste/deploy/paster_templates;\
+	else \
+		mv $(PKGDIR)$(call py_libdir,$*)/paste/deploy/paster_templates \
+		   $(PKGDIR)/usr/share/;\
+	fi
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i docs/news.txt
+	dh_installdocs -i
+	dh_link usr/share/doc/python-pastedeploy/docs /usr/share/doc/python-paste/docs/deploy
+	dh_python2 -i
+	dh_compress -i -X.py
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i -- -Z bzip2
+
+binary-arch:
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install build

Deleted: packages/pastedeploy/tags/1.5.0-1/debian/source/format
===================================================================
--- packages/pastedeploy/trunk/debian/source/format	2011-05-25 18:28:57 UTC (rev 17146)
+++ packages/pastedeploy/tags/1.5.0-1/debian/source/format	2011-05-28 16:35:02 UTC (rev 17213)
@@ -1 +0,0 @@
-1.0

Copied: packages/pastedeploy/tags/1.5.0-1/debian/source/format (from rev 17209, packages/pastedeploy/trunk/debian/source/format)
===================================================================
--- packages/pastedeploy/tags/1.5.0-1/debian/source/format	                        (rev 0)
+++ packages/pastedeploy/tags/1.5.0-1/debian/source/format	2011-05-28 16:35:02 UTC (rev 17213)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the Python-modules-commits mailing list