[Python-modules-commits] r4294 - in packages/pastedeploy/trunk/debian (6 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Jan 5 20:42:37 UTC 2008


    Date: Saturday, January 5, 2008 @ 20:42:36
  Author: piotr
Revision: 4294

* 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
* Bump Standards-Version to 3.7.3 (no changes needed)

Modified:
  packages/pastedeploy/trunk/debian/changelog
  packages/pastedeploy/trunk/debian/control
  packages/pastedeploy/trunk/debian/copyright
  packages/pastedeploy/trunk/debian/rules
  packages/pastedeploy/trunk/debian/watch
Deleted:
  packages/pastedeploy/trunk/debian/pycompat

Modified: packages/pastedeploy/trunk/debian/changelog
===================================================================
--- packages/pastedeploy/trunk/debian/changelog	2008-01-05 20:33:33 UTC (rev 4293)
+++ packages/pastedeploy/trunk/debian/changelog	2008-01-05 20:42:36 UTC (rev 4294)
@@ -1,7 +1,11 @@
-pastedeploy (1.3.1-2) UNRELEASED; urgency=low
+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
 

Modified: packages/pastedeploy/trunk/debian/control
===================================================================
--- packages/pastedeploy/trunk/debian/control	2008-01-05 20:33:33 UTC (rev 4293)
+++ packages/pastedeploy/trunk/debian/control	2008-01-05 20:42:36 UTC (rev 4294)
@@ -3,17 +3,17 @@
 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.0.38)
-Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1), python-docutils
-Standards-Version: 3.7.2
-Homepage: http://www.pythonpaste.org/deploy/
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1), python-docutils
+Standards-Version: 3.7.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/wsvn/python-modules/packages/pastedeploy/trunk/?op=log
 
 Package: python-pastedeploy
 Architecture: all
-Depends: ${python:Depends}, paste-common, python-setuptools (>= 0.6b3-1)
+Depends: ${python:Depends}, paste-common (>= 1.6-1), python-setuptools (>= 0.6b3-1)
 XB-Python-Version: ${python:Versions}
 Enhances: python-paste
 Description: Load, configure, and compose WSGI applications and servers

Modified: packages/pastedeploy/trunk/debian/copyright
===================================================================
--- packages/pastedeploy/trunk/debian/copyright	2008-01-05 20:33:33 UTC (rev 4293)
+++ packages/pastedeploy/trunk/debian/copyright	2008-01-05 20:42:36 UTC (rev 4294)
@@ -1,7 +1,7 @@
 This package was debianized by Piotr Ożarowski <piotr at debian.org> on
 Thu,  4 May 2006 14:00:37 +0200.
 
-It was downloaded from http://cheeseshop.python.org/pypi/PasteDeploy
+It was downloaded from http://pypi.python.org/pypi/PasteDeploy
 
 Copyright Holder: Ian Bicking <ianb at colorstudy.com>
 
@@ -25,7 +25,7 @@
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
 
-The Debian packaging is (C) 2006-2007, Piotr Ożarowski <piotr at debian.org> and
+The Debian packaging is (C) 2006-2008, Piotr Ożarowski <piotr at debian.org> and
 is licensed under the GPL.
 
 On Debian systems, the complete text of the GNU General Public License

Deleted: packages/pastedeploy/trunk/debian/pycompat
===================================================================
--- packages/pastedeploy/trunk/debian/pycompat	2008-01-05 20:33:33 UTC (rev 4293)
+++ packages/pastedeploy/trunk/debian/pycompat	2008-01-05 20:42:36 UTC (rev 4294)
@@ -1 +0,0 @@
-2

Modified: packages/pastedeploy/trunk/debian/rules
===================================================================
--- packages/pastedeploy/trunk/debian/rules	2008-01-05 20:33:33 UTC (rev 4293)
+++ packages/pastedeploy/trunk/debian/rules	2008-01-05 20:42:36 UTC (rev 4294)
@@ -2,27 +2,20 @@
 
 #export DH_VERBOSE=1
 
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-	| sed -rne 's,^Version: ([^-]+).*,\1,p')
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 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-*
 	rm -rf dist build
-	find . -name *\.py[co] -exec rm {} \;
-	dh_clean
+	find . -name '*\.py[co]' -delete
+	dh_clean build-docs $(PYVERS:%=install-python%)
 
-build: build-indep build-stamp
-build-stamp: $(PYVERS:%=build-python%)
-	touch $@
-build-python%:
-	python$* setup.py build
-	touch $@
+build: build-indep build-docs
 
-build-indep:
+build-docs:
 	dh_installdirs
 	for NAME in $(DOCS); do \
 	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
@@ -35,9 +28,6 @@
 	python$* setup.py install \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/python-pastedeploy
-	# share Egg dir (remove Python's version from directory name)
-	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
 	rm -f debian/python-pastedeploy/usr/lib/python$*/site-packages/PasteDeploy-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
 	# provided by paste-common package:
@@ -49,16 +39,16 @@
 	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_pycentral -i
+	dh_pysupport -i
 	dh_compress -i -X.py
 	dh_fixperms -i
 	dh_installdeb -i
 	dh_gencontrol -i
 	dh_md5sums -i
-	dh_builddeb -i
+	dh_builddeb -i -- -Z bzip2
 
 binary-arch:
 
 binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install build

Modified: packages/pastedeploy/trunk/debian/watch
===================================================================
--- packages/pastedeploy/trunk/debian/watch	2008-01-05 20:33:33 UTC (rev 4293)
+++ packages/pastedeploy/trunk/debian/watch	2008-01-05 20:42:36 UTC (rev 4294)
@@ -1,2 +1,2 @@
 version=3
-http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-(.*)\.tar\.gz debian uupdate
+http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-(.*)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list