[Python-modules-commits] r30537 - in packages/sphinx/trunk/debian (4 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Mon Sep 8 09:40:25 UTC 2014


    Date: Monday, September 8, 2014 @ 09:40:24
  Author: mitya57-guest
Revision: 30537

Generate compiled translations using compile_catalogs command.

Modified:
  packages/sphinx/trunk/debian/changelog
  packages/sphinx/trunk/debian/control
  packages/sphinx/trunk/debian/rules
  packages/sphinx/trunk/debian/source/options

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2014-09-08 09:39:59 UTC (rev 30536)
+++ packages/sphinx/trunk/debian/changelog	2014-09-08 09:40:24 UTC (rev 30537)
@@ -6,6 +6,7 @@
     spelling packages.
   * Update my e-mail address.
   * Override false-positive Lintian errors about sourceless files.
+  * Generate compiled translations using compile_catalogs command.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Mon, 08 Sep 2014 12:58:18 +0400
 

Modified: packages/sphinx/trunk/debian/control
===================================================================
--- packages/sphinx/trunk/debian/control	2014-09-08 09:39:59 UTC (rev 30536)
+++ packages/sphinx/trunk/debian/control	2014-09-08 09:40:24 UTC (rev 30537)
@@ -15,11 +15,11 @@
   python-whoosh, python3-whoosh,
   python-xapian,
   python-nose, python3-nose,
+  python-babel,
   xvfb, xauth, libjs-jquery (>= 1.4), libjs-underscore,
   python3-gi, gir1.2-webkit-3.0,
   texlive-latex-recommended, texlive-latex-extra, texlive-fonts-recommended, texinfo,
-  perl,
-  gettext
+  perl
 X-Python-Version: >= 2.5
 X-Python3-Version: >= 3.1
 XS-Testsuite: autopkgtest

Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules	2014-09-08 09:39:59 UTC (rev 30536)
+++ packages/sphinx/trunk/debian/rules	2014-09-08 09:40:24 UTC (rev 30537)
@@ -24,10 +24,6 @@
 python_all = pyversions -r | tr ' ' '\n' | xargs -t -I {} env {}
 python3_all = py3versions -r | tr ' ' '\n' | xargs -t -I {} env {}
 
-ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
-msgfmt_options = -c
-endif
-
 .PHONY: clean
 clean:
 	dh_clean 
@@ -54,8 +50,7 @@
 	python ./sphinx-build.py -T -b man doc build/man
 	python setup.py build --build-lib build/py2/
 	python3 setup.py build --build-lib build/py3/
-	find sphinx/locale/ -name '*.po' | sed -e 's/[.]po$$//' \
-	| xargs -t -I {} msgfmt $(msgfmt_options) {}.po -o {}.mo
+	python setup.py compile_catalogs
 ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
 	# FIXME: https://bitbucket.org/birkenfeld/sphinx/issue/703
 	export LC_ALL=C.UTF-8 && \

Modified: packages/sphinx/trunk/debian/source/options
===================================================================
--- packages/sphinx/trunk/debian/source/options	2014-09-08 09:39:59 UTC (rev 30536)
+++ packages/sphinx/trunk/debian/source/options	2014-09-08 09:40:24 UTC (rev 30537)
@@ -1,2 +1,2 @@
 extend-diff-ignore = "^[^/]*[.]egg-info/"
-extend-diff-ignore = "^sphinx/locale/[^/]+/LC_MESSAGES/sphinx[.]mo$"
+extend-diff-ignore = "^sphinx/locale/[^/]+/LC_MESSAGES/"




More information about the Python-modules-commits mailing list