[Python-modules-commits] [python-babel] 01/04: Made the build reproducible. Thanks to Val Lorentz

Jean-Michel Vourgère nirgal at moszumanska.debian.org
Tue May 10 23:11:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

nirgal pushed a commit to branch master
in repository python-babel.

commit 27743ec99d268e20f383bc8cd965c9d685467637
Author: Val Lorentz <progval at progval.net>
Date:   Tue Aug 18 14:08:43 2015 +0000

    Made the build reproducible. Thanks to Val Lorentz
    
    (Closes: #795997)
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 48062d4..a85f709 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+export LC_TIME=C
+export LANGUAGE=C
+
 PYTHONS:=$(shell pyversions -vr)
 PYTHON3S:=$(shell py3versions -vr)
 
@@ -57,6 +60,7 @@ override_dh_installdocs:
 	sphinx-build docs docs/_build
 	dh_installdocs -O--buildsystem=python_distutils
 	mkdir -p debian/python-babel-doc/usr/share/doc/python-babel-doc/html
+	sed -i "s/locale='en_US_POSIX'/locale=[system locale]/g" docs/_build/*/*.html
 	cp -auxf docs/_build/* debian/python-babel-doc/usr/share/doc/python-babel-doc/html
 
 override_dh_sphinxdoc:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-babel.git



More information about the Python-modules-commits mailing list