[Python-modules-commits] [django-recurrence] 03/08: Rebuild translation catalogs from source using babel.
Michael Fladischer
fladi at moszumanska.debian.org
Tue Mar 1 20:41:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository django-recurrence.
commit 27939dbadfc9403a1b36d48325e6ded599090ee1
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Tue Mar 1 20:53:38 2016 +0100
Rebuild translation catalogs from source using babel.
---
debian/clean | 1 +
debian/control | 1 +
debian/rules | 4 ++++
3 files changed, 6 insertions(+)
diff --git a/debian/clean b/debian/clean
index d061805..54e55b3 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,2 @@
django_recurrence.egg-info/SOURCES.txt
+recurrence/locale/*/LC_MESSAGES/django.mo
diff --git a/debian/control b/debian/control
index 091be3f..70643e1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
+ python-babel,
python-dateutil,
python-django,
python-pytest,
diff --git a/debian/rules b/debian/rules
index 12dcd48..d14ec9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ export PYBUILD_DISABLE=test
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
+ set -e; \
+ for loc in recurrence/locale/*; do \
+ python setup.py compile_catalog --directory recurrence/locale/ --locale $$(basename $$loc) --domain django; \
+ done
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
dh_auto_build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-recurrence.git
More information about the Python-modules-commits
mailing list