[Python-modules-commits] [django-markupfield] 08/09: Rebuild all django.mo files from source using python3-babel.
Michael Fladischer
fladi at moszumanska.debian.org
Thu Sep 1 18:49:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository django-markupfield.
commit 6a1195b354c94e70d95964c1d3fae61c6e416121
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Thu Sep 1 20:34:53 2016 +0200
Rebuild all django.mo files from source using python3-babel.
---
debian/changelog | 1 +
debian/clean | 1 +
debian/control | 1 +
debian/rules | 7 +++++++
4 files changed, 10 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f2c62f0..0417fc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ django-markupfield (1.4.0-2) UNRELEASED; urgency=medium
* Add patches to fix Django 1.10 integration (Closes: #828650).
* Bump Standards-Version to 3.9.8.
* Use https:// for copyright-format 1.0 URL.
+ * Rebuild all django.mo files from source using python3-babel.
-- Ondřej Nový <novy at ondrej.org> Tue, 29 Mar 2016 21:26:58 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..a69f976
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+markupfield/locale/*/LC_MESSAGES/django.mo
diff --git a/debian/control b/debian/control
index 2e4cde0..1643dc3 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends: debhelper (>= 9),
python-markdown,
python-setuptools,
python3-all,
+ python3-babel,
python3-django (>= 1.8),
python3-docutils,
python3-markdown,
diff --git a/debian/rules b/debian/rules
index 906a5f0..4ad9f45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,13 @@ export PYBUILD_NAME=django-markupfield
%:
dh $@ --with python2,python3 --buildsystem pybuild
+override_dh_auto_build:
+ set -e; \
+ for loc in markupfield/locale/*; do \
+ python3 setup.py compile_catalog --directory markupfield/locale/ --locale $$(basename $$loc) --domain django; \
+ done
+ dh_auto_build
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-markupfield.git
More information about the Python-modules-commits
mailing list