[Python-modules-commits] r1354 - in /packages/routes/trunk/debian: changelog control patches/ patches/00list patches/01_setuptools_version.dpatch rules

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Fri Sep 8 14:20:04 UTC 2006


Author: pox-guest
Date: Fri Sep  8 14:20:03 2006
New Revision: 1354

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1354
Log:
New upstream release

Added:
    packages/routes/trunk/debian/patches/
    packages/routes/trunk/debian/patches/00list
    packages/routes/trunk/debian/patches/01_setuptools_version.dpatch   (with props)
Modified:
    packages/routes/trunk/debian/changelog
    packages/routes/trunk/debian/control
    packages/routes/trunk/debian/rules

Modified: packages/routes/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/changelog?rev=1354&op=diff
==============================================================================
--- packages/routes/trunk/debian/changelog (original)
+++ packages/routes/trunk/debian/changelog Fri Sep  8 14:20:03 2006
@@ -1,3 +1,14 @@
+routes (1.4.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Replaced python-all-dev with python-all build requirement since header
+    files are not needed to build arch indep. modules
+  * Added patch to setup.py file which will force using currently installed
+    setuptools version while building package
+    + dpatch added to build dependencies
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Fri,  8 Sep 2006 15:33:54 +0200
+
 routes (1.4-2) unstable; urgency=low
 
   * Removed bashism in build script (closes: #384817)

Modified: packages/routes/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/control?rev=1354&op=diff
==============================================================================
--- packages/routes/trunk/debian/control (original)
+++ packages/routes/trunk/debian/control Fri Sep  8 14:20:03 2006
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Piotr Ozarowski <ozarow at gmail.com>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.5), python-setuptools (>= 0.6b3-1)
+Build-Depends: debhelper (>= 5.0.37.2), dpatch
+Build-Depends-Indep: python (>= 2.3.5-7), python-all, python-central (>= 0.5), python-setuptools (>= 0.6b3-1)
 Standards-Version: 3.7.2
 XS-Python-Version: all
 

Added: packages/routes/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/patches/00list?rev=1354&op=file
==============================================================================
--- packages/routes/trunk/debian/patches/00list (added)
+++ packages/routes/trunk/debian/patches/00list Fri Sep  8 14:20:03 2006
@@ -1,0 +1,1 @@
+01_setuptools_version

Added: packages/routes/trunk/debian/patches/01_setuptools_version.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/patches/01_setuptools_version.dpatch?rev=1354&op=file
==============================================================================
--- packages/routes/trunk/debian/patches/01_setuptools_version.dpatch (added)
+++ packages/routes/trunk/debian/patches/01_setuptools_version.dpatch Fri Sep  8 14:20:03 2006
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_setuptools_version.dpatch by  <ozarow at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad routes-1.4.1~/setup.py routes-1.4.1/setup.py
+--- routes-1.4.1~/setup.py	2006-08-02 18:52:08.000000000 +0200
++++ routes-1.4.1/setup.py	2006-09-08 16:04:05.000000000 +0200
+@@ -1,5 +1,6 @@
++from setuptools import __version__ as ver
+ from ez_setup import use_setuptools
+-use_setuptools()
++use_setuptools(version=ver)
+ from setuptools import setup, find_packages
+ 
+ setup(name="Routes",

Propchange: packages/routes/trunk/debian/patches/01_setuptools_version.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/routes/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/routes/trunk/debian/rules?rev=1354&op=diff
==============================================================================
--- packages/routes/trunk/debian/rules (original)
+++ packages/routes/trunk/debian/rules Fri Sep  8 14:20:03 2006
@@ -1,13 +1,15 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
 	| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
 
 PYVERS=$(shell pyversions -vr debian/control)
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-*
@@ -18,7 +20,7 @@
 
 build:
 
-install: $(PYVERS:%=install-python%)
+install: patch $(PYVERS:%=install-python%)
 install-python%:
 	python$* setup.py install \
 		--single-version-externally-managed \
@@ -48,4 +50,4 @@
 
 binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure unpatch




More information about the Python-modules-commits mailing list