Package: mercurial / 6.3.2-1+deb12u1

deb_specific__disable_libdir_replacement.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Stefano Rivera <stefanor@debian.org>
Date: Sun, 16 Aug 2020 11:03:07 +0200
Subject: Disabled hginstallscripts @LIBDIR@ replacement in setup.py.

Bug-Debian: http://bugs.debian.org/620087
Bug-Ubuntu: https://bugs.launchpad.net/bugs/745250
Forwarded: not-needed

setup.py replaces @LIBDIR@ in the hg script, with a path that differs between
Python versions.
libdir in hg doesn't need to be set if mercurial is available in the public
namespace, as it is in Debian.
hg doesn't alter sys.paths if this replacement hasn't happened.
---
 setup.py |    1 -
 1 file changed, 1 deletion(-)

--- a/setup.py
+++ b/setup.py
@@ -1239,7 +1239,6 @@ cmdclass = {
     'install': hginstall,
     'install_completion': hginstallcompletion,
     'install_lib': hginstalllib,
-    'install_scripts': hginstallscripts,
     'build_hgexe': buildhgexe,
 }