View | Details | Raw Unified | Return to bug 168977
Collapse All | Expand All

(-)./Makefile (-1 / +3 lines)
Lines 69-75 Link Here
69
69
70
post-patch:
70
post-patch:
71
.if defined(WITHOUT_NLS)
71
.if defined(WITHOUT_NLS)
72
	@${REINPLACE_CMD} '/^build.sub_co.*$$/d' ${WRKSRC}/setup.py
72
	@${REINPLACE_CMD} -e 's/^%%NLS%%//' ${WRKSRC}/${PYSETUP}
73
.else
74
	@${REINPLACE_CMD} -e 's/^%%NLS%%/# /' ${WRKSRC}/${PYSETUP}
73
.endif
75
.endif
74
76
75
post-install:
77
post-install:
(-)./files/patch-setup.py (-3 / +11 lines)
Lines 1-6 Link Here
1
--- setup.py.orig	2012-02-01 21:23:54.000000000 +0100
1
--- setup 1.py	2012-06-02 08:48:21.000000000 +0400
2
+++ setup.py	2012-02-02 12:44:12.000000000 +0100
2
+++ setup.py	2012-06-12 17:05:27.091982103 +0400
3
@@ -379,7 +379,7 @@
3
@@ -223,6 +223,7 @@
4
     description = "build translations (.mo files)"
5
 
6
     def run(self):
7
+%%NLS%%        return
8
         if not find_executable('msgfmt'):
9
             self.warn("could not find msgfmt executable, no translations "
10
                      "will be built")
11
@@ -385,7 +386,7 @@
4
             'install_scripts': hginstallscripts}
12
             'install_scripts': hginstallscripts}
5
 
13
 
6
 packages = ['mercurial', 'mercurial.hgweb',
14
 packages = ['mercurial', 'mercurial.hgweb',

Return to bug 168977