[Python-modules-commits] r17640 - in packages/python-weberror/trunk/debian (5 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Jun 27 21:03:31 UTC 2011


    Date: Monday, June 27, 2011 @ 21:03:29
  Author: piotr
Revision: 17640

* New upstream release
* Convert to dh_python2
* Source format changed to 3.0 (quilt)
* debian/watch updated (to recognize pre release versions)
* Bump Standards-Version to 3.9.2 (no changes needed)

Modified:
  packages/python-weberror/trunk/debian/changelog
  packages/python-weberror/trunk/debian/control
  packages/python-weberror/trunk/debian/rules
  packages/python-weberror/trunk/debian/source/format
  packages/python-weberror/trunk/debian/watch

Modified: packages/python-weberror/trunk/debian/changelog
===================================================================
--- packages/python-weberror/trunk/debian/changelog	2011-06-27 11:33:53 UTC (rev 17639)
+++ packages/python-weberror/trunk/debian/changelog	2011-06-27 21:03:29 UTC (rev 17640)
@@ -1,9 +1,17 @@
-python-weberror (0.10.2-2) UNRELEASED; urgency=low
+python-weberror (0.10.3-1) unstable; urgency=low
 
+  [ Andrey Rahmatullin ]
   * Enable build-time tests
 
- -- Andrey Rahmatullin <wrar at wrar.name>  Sat, 12 Mar 2011 20:54:32 +0500
+  [ Piotr Ożarowski ]
+  * New upstream release
+  * Convert to dh_python2
+  * Source format changed to 3.0 (quilt)
+  * debian/watch updated (to recognize pre release versions)
+  * Bump Standards-Version to 3.9.2 (no changes needed)
 
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 27 Jun 2011 21:45:38 +0200
+
 python-weberror (0.10.2-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-weberror/trunk/debian/control
===================================================================
--- packages/python-weberror/trunk/debian/control	2011-06-27 11:33:53 UTC (rev 17639)
+++ packages/python-weberror/trunk/debian/control	2011-06-27 21:03:29 UTC (rev 17640)
@@ -4,20 +4,20 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Christoph Haas <haas at debian.org>, Piotr Ożarowski <piotr at debian.org>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python (>= 2.3.3), python-all, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~),
+Build-Depends-Indep: python (>= 2.3.3), python-setuptools (>= 0.6b3-1~),
  python-paste (>= 1.7.1), python-webob, python-tempita,
- python-pygments, python-simplejson, python-nose, python-webtest
-Standards-Version: 3.8.4
-XS-Python-Version: >=2.4
+ python-pygments, python-nose, python-webtest
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.4
 Homepage: http://pypi.python.org/pypi/WebError
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-weberror/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-weberror/trunk/
 
 Package: python-weberror
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python (>=2.5) | python-wsgiref,
- python-paste (>= 1.7.1), python-pastedeploy, python-webob, python-tempita,
- python-pygments, python-simplejson, python-pkg-resources
+Depends: ${python:Depends}, ${misc:Depends},
+ python-paste (>= 1.7.1), python-pastedeploy, python-pkg-resources,
+ python (>= 2.6) | python-simplejson
 Description: Python web error handling and exception catching module
  This Python module provides error handling and exception catching
  functionality for WSGI web applications. It is primarily used by Pylons

Modified: packages/python-weberror/trunk/debian/rules
===================================================================
--- packages/python-weberror/trunk/debian/rules	2011-06-27 11:33:53 UTC (rev 17639)
+++ packages/python-weberror/trunk/debian/rules	2011-06-27 21:03:29 UTC (rev 17640)
@@ -1,37 +1,37 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 package=python-weberror
-PYVERS=$(shell pyversions -r)
+PYVERS=$(shell pyversions -vr)
 
 clean:
-	rm -f build-*
 	dh_testdir
 	dh_testroot
-	rm -rf build tests/reporter_output/test_logger.log
+	rm -rf build build-* tests/reporter_output/test_logger.log
 	find . -name *\.py[co] -exec rm -f {} \;
-	dh_clean
+	dh_clean install-stamp test-stamp install-python*
 
 build:
+build-indep:
+build-arch:
 
-install:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	python setup.py install \
-		--no-compile \
+install: install-stamp
+install-stamp: $(PYVERS:%=install-python%)
+	dh_install
+	touch $@
+
+install-python%:
+	python$* setup.py install \
+		--install-layout=deb \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/$(package)
+	touch $@
 
-test:
+test: $(PYVERS:%=test-python%)
+
+test-python%:
 	-
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e; \
-	for python in $(PYVERS); do \
-		$$python setup.py nosetests; \
-	done
+	python$* setup.py nosetests --quiet
 endif
 
 binary-indep: build install test
@@ -42,9 +42,8 @@
 	dh_strip
 	dh_compress -X.py
 	dh_fixperms
-	dh_pysupport
+	dh_python2
 	find debian/$(package) -type f -perm 755 | xargs -r chmod 644
-	find debian/$(package) -name '._*' -type f | xargs -r rm
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
@@ -53,5 +52,5 @@
 binary-arch:
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install test
+.PHONY: build build-indep build-arch test clean binary-indep binary-arch binary install
 

Modified: packages/python-weberror/trunk/debian/source/format
===================================================================
--- packages/python-weberror/trunk/debian/source/format	2011-06-27 11:33:53 UTC (rev 17639)
+++ packages/python-weberror/trunk/debian/source/format	2011-06-27 21:03:29 UTC (rev 17640)
@@ -1 +1 @@
-1.0
+3.0 (quilt)

Modified: packages/python-weberror/trunk/debian/watch
===================================================================
--- packages/python-weberror/trunk/debian/watch	2011-06-27 11:33:53 UTC (rev 17639)
+++ packages/python-weberror/trunk/debian/watch	2011-06-27 21:03:29 UTC (rev 17640)
@@ -1,2 +1,3 @@
 version=3
+opts=uversionmangle=s/(rc|a|b|c|dev)/~$1/ \
 http://pypi.python.org/packages/source/W/WebError/WebError-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list