From 8672cc4fb9221d1bf7f849380d9c04368fb43c70 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. --- strata/openstack-common.morph | 5 +++-- strata/openstack-common/babel.morph | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 strata/openstack-common/babel.morph 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 -- cgit v1.2.1