summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-22 11:55:06 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-04 13:50:06 (GMT)
commit8672cc4fb9221d1bf7f849380d9c04368fb43c70 (patch)
tree2266f6a794e7470e0338083a31a5736c2874aeac
parent75a6df2d63e8c0b5c3fa7a2fe9ea649f1ad65c88 (diff)
downloaddefinitions-8672cc4fb9221d1bf7f849380d9c04368fb43c70.tar.gz
Use a version of Babel with Unicode CLDR included
Babel was failing with the following error: RuntimeError: The babel data files are not available. This usually happens because you are using a source checkout from Babel and you did not build the data files. Just make sure to run "python setup.py import_cldr" before installing the library. This commit fixes the problem.
-rw-r--r--strata/openstack-common.morph5
-rw-r--r--strata/openstack-common/babel.morph5
2 files changed, 8 insertions, 2 deletions
diff --git a/strata/openstack-common.morph b/strata/openstack-common.morph
index f80e88a..700e5ad 100644
--- a/strata/openstack-common.morph
+++ b/strata/openstack-common.morph
@@ -22,9 +22,10 @@ chunks:
ref: c414cb801776e11c769fb36c0d37b8d7a7c8712c
unpetrify-ref: pytz-2014.10
- name: babel
+ morph: strata/openstack-common/babel.morph
repo: upstream:babel
- ref: 246996b0ee51e49ebcd504e234d3bcdcb178996c
- unpetrify-ref: master
+ ref: 603e77ae0e43b6ecdb3f3a8ea7988f7e7c83e867
+ unpetrify-ref: baserock/1.3-50-g246996b
build-depends:
- pytz
- name: enum34
diff --git a/strata/openstack-common/babel.morph b/strata/openstack-common/babel.morph
new file mode 100644
index 0000000..e113f11
--- /dev/null
+++ b/strata/openstack-common/babel.morph
@@ -0,0 +1,5 @@
+name: babel
+kind: chunk
+build-system: python-distutils
+pre-build-commands:
+- python setup.py import_cldr