[Python-modules-commits] r19535 - in packages/gamera/trunk/debian (changelog control rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Wed Dec 7 22:24:45 UTC 2011


    Date: Wednesday, December 7, 2011 @ 22:24:44
  Author: jwilk
Revision: 19535

Add Built-Using fields to python-gamera and python-gamera-dbg.

Modified:
  packages/gamera/trunk/debian/changelog
  packages/gamera/trunk/debian/control
  packages/gamera/trunk/debian/rules

Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog	2011-12-06 23:39:37 UTC (rev 19534)
+++ packages/gamera/trunk/debian/changelog	2011-12-07 22:24:44 UTC (rev 19535)
@@ -10,8 +10,9 @@
     using python-support, to be co-importable. (namespace-package.diff)
   * Fix type mismatch in graph initialization code (hopefully closes: #650520;
     graphmodule-fix-type-mismatch.diff).
+  * Add Built-Using fields to python-gamera and python-gamera-dbg.
 
- -- Jakub Wilk <jwilk at debian.org>  Tue, 29 Nov 2011 00:30:58 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Wed, 07 Dec 2011 23:24:15 +0100
 
 gamera (3.3.2-1) unstable; urgency=low
 

Modified: packages/gamera/trunk/debian/control
===================================================================
--- packages/gamera/trunk/debian/control	2011-12-06 23:39:37 UTC (rev 19534)
+++ packages/gamera/trunk/debian/control	2011-12-07 22:24:44 UTC (rev 19535)
@@ -26,6 +26,7 @@
 Replaces: gamera-gui (<< 3.2.3-2~)
 Recommends: python-wxgtk2.8, python-numpy, python-imaging
 Suggests: gamera-doc
+Built-Using: libvigraimpex (= ${vigra:Version}) 
 Description: framework for building document analysis applications
  The Gamera framework is a Python library for building custom
  applications for document analysis and recognition. Additionally, it
@@ -43,6 +44,7 @@
 Depends: python-gamera (= ${binary:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Recommends: python-dbg
 Suggests: python-wxgtk2.8-dbg, python-numpy-dbg, python-imaging-dbg
+Built-Using: libvigraimpex (= ${vigra:Version}) 
 Description: framework for building document analysis applications (debug symbols)
  The Gamera framework is a Python library for building custom
  applications for document analysis and recognition.

Modified: packages/gamera/trunk/debian/rules
===================================================================
--- packages/gamera/trunk/debian/rules	2011-12-06 23:39:37 UTC (rev 19534)
+++ packages/gamera/trunk/debian/rules	2011-12-07 22:24:44 UTC (rev 19535)
@@ -17,6 +17,7 @@
 
 version = $(shell dpkg-parsechangelog | grep ^Version | cut -d ' ' -f 2)
 
+vigra_version = $(shell dpkg-query -Wf '$${Version}' libvigraimpex-dev | sed -e 's/[+]b[0-9]\+$$//')
 
 # build and build-* targets
 # =========================
@@ -119,6 +120,10 @@
 	dh_strip --dbg-package=python-gamera-dbg
 	debian/dh_buildid
 
+.PHONY: override_dh_gencontrol
+override_dh_gencontrol:
+	dh_gencontrol -- -Vvigra:Version=$(vigra_version)
+
 .PHONY: override_dh_builddeb
 override_dh_builddeb:
 	dh_builddeb -- -Zxz




More information about the Python-modules-commits mailing list