[Python-modules-commits] r4293 - in packages/pastescript/trunk/debian (6 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Jan 5 20:33:34 UTC 2008


    Date: Saturday, January 5, 2008 @ 20:33:33
  Author: piotr
Revision: 4293

* New upstream release
* 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/pastescript/trunk/debian/changelog
  packages/pastescript/trunk/debian/control
  packages/pastescript/trunk/debian/copyright
  packages/pastescript/trunk/debian/rules
  packages/pastescript/trunk/debian/watch
Deleted:
  packages/pastescript/trunk/debian/pycompat

Modified: packages/pastescript/trunk/debian/changelog
===================================================================
--- packages/pastescript/trunk/debian/changelog	2008-01-05 20:13:24 UTC (rev 4292)
+++ packages/pastescript/trunk/debian/changelog	2008-01-05 20:33:33 UTC (rev 4293)
@@ -1,9 +1,14 @@
-pastescript (1.3.6-3) UNRELEASED; urgency=low
+pastescript (1.6-1) unstable; urgency=low
 
+  * New upstream release
+  * 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
+ -- Piotr Ożarowski <piotr at debian.org>  Sat, 05 Jan 2008 21:27:05 +0100
 
 pastescript (1.3.6-2) unstable; urgency=low
 

Modified: packages/pastescript/trunk/debian/control
===================================================================
--- packages/pastescript/trunk/debian/control	2008-01-05 20:13:24 UTC (rev 4292)
+++ packages/pastescript/trunk/debian/control	2008-01-05 20:33:33 UTC (rev 4293)
@@ -3,20 +3,21 @@
 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), dpatch
-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/script/
+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
+Standards-Version: 3.7.3
+Homepage: http://pythonpaste.org/script/
 XS-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pastescript/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/?op=log
 
 Package: python-pastescript
 Architecture: all
-Depends: ${python:Depends}, paste-common, python-paste, python-pastedeploy, python-setuptools (>= 0.6b3-1)
-Recommends: python-flup (>=0.5-1), python-cheetah (>=1.0-1.1)
+Depends: ${python:Depends}, paste-common (>= 1.6-1), python-paste, python-pastedeploy,
+ python-setuptools (>= 0.6b3-1)
+Recommends: python-flup (>= 0.5-1), python-cheetah (>= 1.0-1.1)
 Suggests: python-cherrypy3 | python-cherrypy
-XB-Python-Version: ${python:Versions}
 Description: serving web applications, creating file layouts for python packages
  Paster is pluggable command-line frontend,
  including commands to setup package file layouts

Modified: packages/pastescript/trunk/debian/copyright
===================================================================
--- packages/pastescript/trunk/debian/copyright	2008-01-05 20:13:24 UTC (rev 4292)
+++ packages/pastescript/trunk/debian/copyright	2008-01-05 20:33:33 UTC (rev 4293)
@@ -40,7 +40,7 @@
 
 -----------------------------------------------------------
 
-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/pastescript/trunk/debian/pycompat
===================================================================
--- packages/pastescript/trunk/debian/pycompat	2008-01-05 20:13:24 UTC (rev 4292)
+++ packages/pastescript/trunk/debian/pycompat	2008-01-05 20:33:33 UTC (rev 4293)
@@ -1 +0,0 @@
-2

Modified: packages/pastescript/trunk/debian/rules
===================================================================
--- packages/pastescript/trunk/debian/rules	2008-01-05 20:13:24 UTC (rev 4292)
+++ packages/pastescript/trunk/debian/rules	2008-01-05 20:33:33 UTC (rev 4293)
@@ -2,8 +2,7 @@
 
 #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")
 
@@ -12,19 +11,13 @@
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-*
 	rm -rf dist build
 	find . -name '*\.py[co]' -delete
-	dh_clean
+	dh_clean build-docs $(PYVERS:%=install-python%)
 
-build: patch build-indep build-stamp
-build-stamp: $(PYVERS:%=build-python%)
-	touch $@
-build-python%:
-	python$* setup.py build
-	touch $@
+build: patch build-docs
 
-build-indep:
+build-docs:
 	dh_installdirs
 	for NAME in $(DOCS); do \
 	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
@@ -38,9 +31,6 @@
 	python$* setup.py install \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/python-pastescript
-	# 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
 	# provided by paste-common package:
@@ -55,13 +45,13 @@
 	dh_installdocs -i
 	dh_link usr/share/doc/python-pastescript/docs /usr/share/doc/python-paste/docs/script
 	dh_installman -i 
-	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:
 

Modified: packages/pastescript/trunk/debian/watch
===================================================================
--- packages/pastescript/trunk/debian/watch	2008-01-05 20:13:24 UTC (rev 4292)
+++ packages/pastescript/trunk/debian/watch	2008-01-05 20:33:33 UTC (rev 4293)
@@ -1,2 +1,2 @@
 version=3
-http://cheeseshop.python.org/packages/source/P/PasteScript/PasteScript-(.*)\.tar\.gz debian uupdate
+http://pypi.python.org/packages/source/P/PasteScript/PasteScript-(.*)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list