File: official_pygettext.diff

package info (click to toggle)
taskcoach 1.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 32,496 kB
  • ctags: 17,810
  • sloc: python: 72,170; makefile: 254; ansic: 120; xml: 29; sh: 16
file content (21 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: use pygettext from python debian package.
 The right solution would be to use xgettext, since pygettext has been
 obsoleted by xgettext for years.
 .
 Anyway, pygettext is now provided by the default python library.
 .
 Upstream has been contacted in a private mail circa 1.3.22.
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: yes

--- a/Makefile
+++ b/Makefile
@@ -227,7 +227,7 @@
 	cd i18n.in; $(PYTHON) make.py
 
 i18n.in/messages.pot: $(shell find taskcoachlib -name '*.py' | grep -v i18n)
-	$(PYTHON) tools/pygettext.py --output-dir i18n.in taskcoachlib
+	pygettext --output-dir i18n.in taskcoachlib
 
 changes:
 	$(PYTHON) changes.in/make.py text > CHANGES.txt