[Python-modules-commits] r23325 - in packages/python-dawg/trunk/debian (changelog control rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Wed Jan 16 20:16:09 UTC 2013


    Date: Wednesday, January 16, 2013 @ 20:16:07
  Author: jwilk
Revision: 23325

Add Built-Using fields.

Modified:
  packages/python-dawg/trunk/debian/changelog
  packages/python-dawg/trunk/debian/control
  packages/python-dawg/trunk/debian/rules

Modified: packages/python-dawg/trunk/debian/changelog
===================================================================
--- packages/python-dawg/trunk/debian/changelog	2013-01-16 18:40:54 UTC (rev 23324)
+++ packages/python-dawg/trunk/debian/changelog	2013-01-16 20:16:07 UTC (rev 23325)
@@ -2,4 +2,4 @@
 
   * Initial release (closes: #695289).
 
- -- Jakub Wilk <jwilk at debian.org>  Wed, 16 Jan 2013 19:05:11 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Wed, 16 Jan 2013 21:15:47 +0100

Modified: packages/python-dawg/trunk/debian/control
===================================================================
--- packages/python-dawg/trunk/debian/control	2013-01-16 18:40:54 UTC (rev 23324)
+++ packages/python-dawg/trunk/debian/control	2013-01-16 20:16:07 UTC (rev 23325)
@@ -21,6 +21,7 @@
 Package: python-dawg
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
+Built-Using: dawgdic (= ${dawgdic:Version})
 Description: Python library for DAWG dictionaries
  python-dawg is a Python library for building and accessing dictionaries
  implemented with directed acyclic word graphs (DAWGs).
@@ -41,6 +42,7 @@
 Package: python3-dawg
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}
+Built-Using: dawgdic (= ${dawgdic:Version})
 Description: Python 3 library for DAWG dictionaries
  python3-dawg is a Python 3 library for building and accessing dictionaries
  implemented with directed acyclic word graphs (DAWGs).

Modified: packages/python-dawg/trunk/debian/rules
===================================================================
--- packages/python-dawg/trunk/debian/rules	2013-01-16 18:40:54 UTC (rev 23324)
+++ packages/python-dawg/trunk/debian/rules	2013-01-16 20:16:07 UTC (rev 23325)
@@ -7,6 +7,8 @@
 export CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
 export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
 
+dawgdic_version = $(shell dpkg-query -Wf '$${Version}' libdawgdic-dev)
+
 parallel = -P$(or $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))),1)
 python2 = $(shell pyversions -r)
 python3 = $(shell py3versions -r)
@@ -68,7 +70,7 @@
 	dh_python2 -p python-dawg -p python-dawg-dbg
 	dh_python3 -p python3-dawg -p python3-dawg-dbg
 	dh_installdeb
-	dh_gencontrol
+	dh_gencontrol -- -Vdawgdic:Version=$(dawgdic_version)
 	dh_md5sums
 	dh_builddeb -- -Zxz
 	




More information about the Python-modules-commits mailing list