[Python-modules-commits] [django-filter] 07/08: Rebuild all django.mo files from source using python3-babel.
Michael Fladischer
fladi at moszumanska.debian.org
Tue Jul 25 20:37:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch debian/master
in repository django-filter.
commit 82d44d147146b03fd74356a1fc63f37fdc08174c
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Tue Jul 25 21:53:42 2017 +0200
Rebuild all django.mo files from source using python3-babel.
---
debian/changelog | 1 +
debian/clean | 1 +
debian/control | 1 +
debian/rules | 5 +++++
4 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d38d622..ed6bd3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ django-filter (1.0.4-1) UNRELEASED; urgency=medium
unnecessary versioned dependencies.
* Add unique parts to short and long descriptions.
* Switch to python3-sphinx.
+ * Rebuild all django.mo files from source using python3-babel.
-- Brian May <bam at debian.org> Mon, 03 Jul 2017 07:34:00 +1000
diff --git a/debian/clean b/debian/clean
index c34ea9b..0e97d5d 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,2 @@
django_filter.egg-info/SOURCES.txt
+django_filters/locale/*/LC_MESSAGES/django.mo
diff --git a/debian/control b/debian/control
index 8f30537..7b1198e 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Build-Depends: debhelper (>=10),
python3-setuptools,
python3-sphinx-rtd-theme
Build-Depends-Indep: libjs-jquery,
+ python3-babel,
python3-sphinx
Standards-Version: 4.0.0
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-filter.git
diff --git a/debian/rules b/debian/rules
index 5a06c3b..ac0c216 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,11 @@ export PYBUILD_NAME=django-filters
override_dh_auto_build:
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
dh_auto_build
+ set -e; \
+ for loc in django_filters/locale/*; do \
+ test -r $$loc/LC_MESSAGES/django.po &&\
+ python3 setup.py compile_catalog --directory django_filters/locale/ --locale $$(basename $$loc) --domain django; \
+ done
.PHONY: override_dh_auto_test
override_dh_auto_test:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-filter.git
More information about the Python-modules-commits
mailing list