[Python-apps-commits] r7741 - in packages/mercurial/trunk/debian (changelog rules)
vicho-guest at users.alioth.debian.org
vicho-guest at users.alioth.debian.org
Mon Oct 31 23:02:01 UTC 2011
Date: Monday, October 31, 2011 @ 23:01:57
Author: vicho-guest
Revision: 7741
Revert "r7740: Removing the hardcoded python interpreter is no longer needed"
Actually, it *is* needed, otherwise the package depends only on
python2.7 .
Modified:
packages/mercurial/trunk/debian/changelog
packages/mercurial/trunk/debian/rules (contents, properties)
Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog 2011-10-31 20:55:58 UTC (rev 7740)
+++ packages/mercurial/trunk/debian/changelog 2011-10-31 23:01:57 UTC (rev 7741)
@@ -1,9 +1,8 @@
mercurial (1.9.999+2.0rc1-2) UNRELEASED; urgency=low
* Don't include empty directories in the package
- * Removing the hardcoded python interpreter is no longer needed
- -- Javi Merino <cibervicho at gmail.com> Sun, 30 Oct 2011 16:14:34 +0000
+ -- Javi Merino <cibervicho at gmail.com> Sun, 30 Oct 2011 15:50:27 +0000
mercurial (1.9.999+2.0rc1-1) experimental; urgency=low
Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules 2011-10-31 20:55:58 UTC (rev 7740)
+++ packages/mercurial/trunk/debian/rules 2011-10-31 23:01:57 UTC (rev 7741)
@@ -22,7 +22,10 @@
install-python%: build-python%
python$* setup.py install --root $(CURDIR)/debian/tmp --install-layout=deb
+ # Do not hardcode the python interpreter
+ sed -i '1c#!/usr/bin/python' debian/tmp/usr/bin/hg
+
override_dh_install:
dh_install
if test -d $(CURDIR)/debian/mercurial ; then \
More information about the Python-apps-commits
mailing list