[Python-apps-commits] r9844 - in packages/mercurial/trunk/debian (4 files)

vicho at users.alioth.debian.org vicho at users.alioth.debian.org
Thu Jul 4 19:54:54 UTC 2013


    Date: Thursday, July 4, 2013 @ 19:54:52
  Author: vicho
Revision: 9844

Install bash-completion using debhelper's bash-completion sequencer

Added:
  packages/mercurial/trunk/debian/mercurial-common.bash-completion
Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/control
  packages/mercurial/trunk/debian/rules	(contents, properties)

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2013-07-04 19:54:49 UTC (rev 9843)
+++ packages/mercurial/trunk/debian/changelog	2013-07-04 19:54:52 UTC (rev 9844)
@@ -5,6 +5,7 @@
     long ago
   * Remove old checks from postinst
   * Move config files to mercurial-common
+  * Install bash-completion using debhelper's bash-completion sequencer
 
  -- Javi Merino <vicho at debian.org>  Tue, 02 Jul 2013 22:46:45 +0100
 

Modified: packages/mercurial/trunk/debian/control
===================================================================
--- packages/mercurial/trunk/debian/control	2013-07-04 19:54:49 UTC (rev 9843)
+++ packages/mercurial/trunk/debian/control	2013-07-04 19:54:52 UTC (rev 9844)
@@ -11,7 +11,8 @@
  python-docutils,
  python-roman,
  zip,
- unzip
+ unzip,
+ bash-completion
 Standards-Version: 3.9.4
 Homepage: http://mercurial.selenic.com/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/mercurial/trunk/

Added: packages/mercurial/trunk/debian/mercurial-common.bash-completion
===================================================================
--- packages/mercurial/trunk/debian/mercurial-common.bash-completion	                        (rev 0)
+++ packages/mercurial/trunk/debian/mercurial-common.bash-completion	2013-07-04 19:54:52 UTC (rev 9844)
@@ -0,0 +1 @@
+contrib/bash_completion mercurial

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2013-07-04 19:54:49 UTC (rev 9843)
+++ packages/mercurial/trunk/debian/rules	2013-07-04 19:54:52 UTC (rev 9844)
@@ -2,7 +2,7 @@
 # -*- mode: makefile; coding: utf-8 -*-
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2 --with bash-completion
 
 PYVERS=$(shell pyversions -vs)
 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -62,10 +62,6 @@
 	fi
 
 install-archdep:
-	# Install bash autocompletion.
-	install -m 644 \
-		contrib/bash_completion \
-		$(CURDIR)/debian/mercurial/etc/bash_completion.d/mercurial
 	# remove arch-independent python stuff
 	find debian/mercurial/usr/lib \
 		! -name '*.so' ! -type d -delete , \




More information about the Python-apps-commits mailing list