diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-22 11:55:06 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-06-11 09:37:26 +0000 |
commit | 28cb0097cffe9aa08c4459f9b6d3ffd918048c1d (patch) | |
tree | 40b6ed673e91246ae54fe6dbfeb8911d1751cae1 /strata | |
parent | 5930944a755620f947f7b0dd9931e7e145c08b86 (diff) | |
download | definitions-28cb0097cffe9aa08c4459f9b6d3ffd918048c1d.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.
Change-Id: I9b3fbe8ea2c9ead276271dfab831da8c3e2ae465
Diffstat (limited to 'strata')
-rw-r--r-- | strata/openstack-common.morph | 8 | ||||
-rw-r--r-- | strata/openstack-common/babel.morph | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/strata/openstack-common.morph b/strata/openstack-common.morph index f80e88a4..e8176826 100644 --- a/strata/openstack-common.morph +++ b/strata/openstack-common.morph @@ -22,9 +22,13 @@ chunks: ref: c414cb801776e11c769fb36c0d37b8d7a7c8712c unpetrify-ref: pytz-2014.10 - name: babel + morph: strata/openstack-common/babel.morph repo: upstream:babel - ref: 246996b0ee51e49ebcd504e234d3bcdcb178996c - unpetrify-ref: master +# Babel requires core-23.1.zip to be present when compiles +# from source, the following branch and commit add this file +# to the repository. + 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..b9dc475c --- /dev/null +++ b/strata/openstack-common/babel.morph @@ -0,0 +1,8 @@ +name: babel +kind: chunk +build-system: python-distutils +# NOTE: remember that Babel requires core-23.1.zip to be +# present when compiles from source see baserock/1.3.50-g246996b +# branch in babel repository in gbo for more information. +pre-build-commands: +- python setup.py import_cldr |