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

vlegout-guest at users.alioth.debian.org vlegout-guest at users.alioth.debian.org
Wed Jul 14 12:29:56 UTC 2010


    Date: Wednesday, July 14, 2010 @ 12:29:38
  Author: vlegout-guest
Revision: 5819

Install private modules and scripts in /usr/lib/canto.

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	2010-07-14 12:08:24 UTC (rev 5818)
+++ packages/canto/trunk/debian/changelog	2010-07-14 12:29:38 UTC (rev 5819)
@@ -11,6 +11,8 @@
     - Build-Depend on python-all-dev instead of python-dev
   * debian/copyright: Updated, use DEP5
   * debian/clean: Added
+  * debian/rules: Install private modules and scripts in /usr/lib/canto.
+    - Build-Depends on debhelper 7.0.50~ to use overrides
 
  -- Vincent Legout <vincent at legout.info>  Wed, 14 Jul 2010 14:00:16 +0200
 

Modified: packages/canto/trunk/debian/control
===================================================================
--- packages/canto/trunk/debian/control	2010-07-14 12:08:24 UTC (rev 5818)
+++ packages/canto/trunk/debian/control	2010-07-14 12:29:38 UTC (rev 5819)
@@ -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), python-all-dev, python-support, libncurses5-dev, libncursesw5-dev
+Build-Depends: debhelper (>= 7.0.50~), python-all-dev, python-support, libncurses5-dev, libncursesw5-dev
 Standards-Version: 3.9.0
 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	2010-07-14 12:08:24 UTC (rev 5818)
+++ packages/canto/trunk/debian/rules	2010-07-14 12:29:38 UTC (rev 5819)
@@ -2,3 +2,18 @@
 
 %:
 	dh ${@}
+
+override_dh_auto_install:
+	dh_auto_install -- --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 \
+		$(CURDIR)/debian/canto/usr/lib/canto/canto-fetch
+	mv $(CURDIR)/debian/canto//usr/lib/canto/bin/canto-inspect \
+		$(CURDIR)/debian/canto/usr/lib/canto/canto-inspect
+	rm -rf $(CURDIR)/debian/canto/usr/lib/canto/bin
+
+override_dh_link:
+	dh_link /usr/lib/canto/canto-bin /usr/bin/canto
+	dh_link /usr/lib/canto/canto-fetch /usr/bin/canto-fetch
+	dh_link /usr/lib/canto/canto-inspect /usr/bin/canto-inspect




More information about the Python-apps-commits mailing list