[Python-modules-commits] r4295 - in packages/pastewebkit/trunk/debian (7 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Jan 5 20:55:13 UTC 2008


    Date: Saturday, January 5, 2008 @ 20:55:13
  Author: piotr
Revision: 4295

* 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
* Vcs-Svn, Vcs-Browser and Homepage fields added
* Bump Standards-Version to 3.7.3 (no changes needed)

Added:
  packages/pastewebkit/trunk/debian/dirs
Modified:
  packages/pastewebkit/trunk/debian/changelog
  packages/pastewebkit/trunk/debian/control
  packages/pastewebkit/trunk/debian/copyright
  packages/pastewebkit/trunk/debian/rules
  packages/pastewebkit/trunk/debian/watch
Deleted:
  packages/pastewebkit/trunk/debian/pycompat

Modified: packages/pastewebkit/trunk/debian/changelog
===================================================================
--- packages/pastewebkit/trunk/debian/changelog	2008-01-05 20:42:36 UTC (rev 4294)
+++ packages/pastewebkit/trunk/debian/changelog	2008-01-05 20:55:13 UTC (rev 4295)
@@ -1,15 +1,14 @@
-pastewebkit (1.0-2) UNRELEASED; urgency=low
+pastewebkit (1.0-2) unstable; urgency=low
 
-  [ Piotr Ożarowski ]
-  * Added Vcs-Svn, Vcs-Browser and Homepage fields added
+  * 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
+  * Vcs-Svn, Vcs-Browser and Homepage fields added
   * Changed my address to piotr at debian.org
+  * Bump Standards-Version to 3.7.3 (no changes needed)
 
-  [ Sandro Tosi ]
-  * debian/control
-    - uniforming Vcs-Browser field
+ -- Piotr Ożarowski <piotr at debian.org>  Sat, 05 Jan 2008 21:43:51 +0100
 
- -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:46:43 +0200
-
 pastewebkit (1.0-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/pastewebkit/trunk/debian/control
===================================================================
--- packages/pastewebkit/trunk/debian/control	2008-01-05 20:42:36 UTC (rev 4294)
+++ packages/pastewebkit/trunk/debian/control	2008-01-05 20:55:13 UTC (rev 4295)
@@ -3,20 +3,19 @@
 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),
+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.2
-Homepage: http://www.pythonpaste.org/webkit/
+Standards-Version: 3.7.3
+Homepage: http://pythonpaste.org/webkit/
 XS-Python-Version: >= 2.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pastewebkit/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pastewebkit/trunk/?op=log
 
 Package: python-pastewebkit
 Architecture: all
-Depends: ${python:Depends}, paste-common, python-paste, python-pastedeploy, python-pastescript,
+Depends: ${python:Depends}, paste-common (>= 1.6-1), python-paste, python-pastedeploy, python-pastescript,
  python-setuptools (>= 0.6b3-1)
-XB-Python-Version: ${python:Versions}
 Description: port/reimplementation of Webware WebKit in WSGI and Paste
  This is a reimplementation of the Webware WebKit servlet API. This
  implementation uses WSGI internally very heavily, and builds upon the

Modified: packages/pastewebkit/trunk/debian/copyright
===================================================================
--- packages/pastewebkit/trunk/debian/copyright	2008-01-05 20:42:36 UTC (rev 4294)
+++ packages/pastewebkit/trunk/debian/copyright	2008-01-05 20:55:13 UTC (rev 4295)
@@ -1,7 +1,7 @@
 This package was debianized by Piotr Ożarowski <piotr at debian.org> on
 Thu,  4 May 2006 21:34:00 +0200.
 
-It was downloaded from http://cheeseshop.python.org/pypi/PasteWebKit
+It was downloaded from http://pypi.python.org/pypi/PasteWebKit
 
 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

Added: packages/pastewebkit/trunk/debian/dirs
===================================================================
--- packages/pastewebkit/trunk/debian/dirs	                        (rev 0)
+++ packages/pastewebkit/trunk/debian/dirs	2008-01-05 20:55:13 UTC (rev 4295)
@@ -0,0 +1 @@
+/usr/share/doc/python-pastewebkit/docs

Deleted: packages/pastewebkit/trunk/debian/pycompat
===================================================================
--- packages/pastewebkit/trunk/debian/pycompat	2008-01-05 20:42:36 UTC (rev 4294)
+++ packages/pastewebkit/trunk/debian/pycompat	2008-01-05 20:55:13 UTC (rev 4295)
@@ -1 +0,0 @@
-2

Modified: packages/pastewebkit/trunk/debian/rules
===================================================================
--- packages/pastewebkit/trunk/debian/rules	2008-01-05 20:42:36 UTC (rev 4294)
+++ packages/pastewebkit/trunk/debian/rules	2008-01-05 20:55:13 UTC (rev 4295)
@@ -2,33 +2,24 @@
 
 #export DH_VERBOSE=1
 
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
-	| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 PYVERS=$(shell pyversions -vr)
 DOCS=$(shell cd docs && find ./ -name "*.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-docs
 
-build-indep:
-	if [ ! -d debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs ]; then \
-		mkdir -p debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs;\
-	fi
+build-docs:
+	dh_installdirs
 	for NAME in $(DOCS); do \
-	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" > \
-	      "debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs/$$NAME.html"; \
+	    rst2html --cloak-email-addresses --no-toc-backlinks "docs/$$NAME.txt" \
+	      > "debian/python-pastewebkit/usr/share/doc/python-pastewebkit/docs/$$NAME.html"; \
 	done
 	touch $@
 
@@ -37,9 +28,6 @@
 	python$* setup.py install \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/python-pastewebkit
-	# share Egg dir (remove python's version from dirname)
-	mv debian/python-pastewebkit/usr/lib/python$*/site-packages/PasteWebKit-${DEB_UPSTREAM_VERSION}-py$*.egg-info \
-	   debian/python-pastewebkit/usr/lib/python$*/site-packages/PasteWebKit-${DEB_UPSTREAM_VERSION}.egg-info
 	# pth file is not needed since all paste* packages are installed in the same directory
 	rm -f debian/python-pastewebkit/usr/lib/python$*/site-packages/PasteWebKit-${DEB_UPSTREAM_VERSION}-py$*-nspkg.pth
 	# provided by paste-common package:
@@ -51,16 +39,16 @@
 	dh_installchangelogs -i
 	dh_installdocs -i
 	dh_link usr/share/doc/python-pastewebkit/docs /usr/share/doc/python-paste/docs/webkit
-	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/pastewebkit/trunk/debian/watch
===================================================================
--- packages/pastewebkit/trunk/debian/watch	2008-01-05 20:42:36 UTC (rev 4294)
+++ packages/pastewebkit/trunk/debian/watch	2008-01-05 20:55:13 UTC (rev 4295)
@@ -1,3 +1,3 @@
 version=3
-http://cheeseshop.python.org/packages/source/P/PasteWebKit/PasteWebKit-(.*)\.tar\.gz
+http://pypi.python.org/packages/source/P/PasteWebKit/PasteWebKit-(.*)\.tar\.gz
 




More information about the Python-modules-commits mailing list