summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-22 11:55:06 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-22 23:22:10 +0000
commit2cac133029c338fd0f728c67fee1190706016590 (patch)
tree3ae575dfcc52d28af6ab84bcf4937d40f6137468
parent4dcebc9c72ede16dd83f00e73f23eeff13f7ff1d (diff)
downloaddefinitions-2cac133029c338fd0f728c67fee1190706016590.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 f80e88a4..700e5ad8 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 00000000..e113f117
--- /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