[Python-apps-commits] r7167 - in packages/canto/trunk/debian (changelog control rules)

vlegout-guest at users.alioth.debian.org vlegout-guest at users.alioth.debian.org
Thu Jun 9 19:51:56 UTC 2011


    Date: Thursday, June 9, 2011 @ 19:51:54
  Author: vlegout-guest
Revision: 7167

Build-depends on python-dev instead of python-all-dev

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

Modified: packages/canto/trunk/debian/changelog
===================================================================
--- packages/canto/trunk/debian/changelog	2011-06-09 18:32:21 UTC (rev 7166)
+++ packages/canto/trunk/debian/changelog	2011-06-09 19:51:54 UTC (rev 7167)
@@ -1,3 +1,12 @@
+canto (0.7.10-2) UNRELEASED; urgency=low
+
+  * As canto only uses python default version, change python-all-dev
+    build-depends to python-dev. Update debian/rules to explicitly tell python
+    to not build canto for multiple python versions. Thanks to Scott Kitterman
+    for reporting and Jakub Wilk fot the patch. (Closes: #625504)
+
+ -- Vincent Legout <vincent at legout.info>  Thu, 09 Jun 2011 20:26:14 +0200
+
 canto (0.7.10-1) unstable; urgency=low
 
   * New upstream version (Closes: #589096, #585203)

Modified: packages/canto/trunk/debian/control
===================================================================
--- packages/canto/trunk/debian/control	2011-06-09 18:32:21 UTC (rev 7166)
+++ packages/canto/trunk/debian/control	2011-06-09 19:51:54 UTC (rev 7167)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: Vincent Legout <vincent at legout.info>
-Build-Depends: debhelper (>= 7.0.50~), python-all-dev, python-support, libncurses5-dev, libncursesw5-dev
+Build-Depends: debhelper (>= 7.0.50~), python-dev, python-support, libncurses5-dev, libncursesw5-dev
 Standards-Version: 3.9.1
 Homepage: http://www.codezen.org/canto/
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/canto/

Modified: packages/canto/trunk/debian/rules
===================================================================
--- packages/canto/trunk/debian/rules	2011-06-09 18:32:21 UTC (rev 7166)
+++ packages/canto/trunk/debian/rules	2011-06-09 19:51:54 UTC (rev 7167)
@@ -1,10 +1,16 @@
 #!/usr/bin/make -f
 
+-include /usr/share/python/python.mk
+
 %:
 	dh ${@}
 
+override_dh_auto_build:
+	python setup.py build --force
+
 override_dh_auto_install:
-	dh_auto_install -- --install-lib=/usr/lib/canto --install-scripts=/usr/lib/canto/bin
+	python setup.py install --root=debian/canto --no-compile $(py_setup_install_args) \
+		--install-lib=/usr/lib/canto --install-scripts=/usr/lib/canto/bin
 	mv $(CURDIR)/debian/canto//usr/lib/canto/bin/canto \
 		$(CURDIR)/debian/canto/usr/lib/canto/canto-bin
 	mv $(CURDIR)/debian/canto//usr/lib/canto/bin/canto-fetch \




More information about the Python-apps-commits mailing list