From 28cb0097cffe9aa08c4459f9b6d3ffd918048c1d Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 22 May 2015 11:55:06 +0000 Subject: 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 --- strata/openstack-common.morph | 8 ++++++-- strata/openstack-common/babel.morph | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 strata/openstack-common/babel.morph (limited to 'strata') 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 -- cgit v1.2.1