diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-31 00:44:28 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-25 15:25:35 -0500 |
| commit | 2366317a61248a09c7261adac6a6abfe15ef4ca1 (patch) | |
| tree | 377b4835ddd7ad6b451d701776513a9efb40eea0 /meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch | |
| parent | 38c09e8209d510b5cf4261727de00a05946e090f (diff) | |
| download | meta-cloud-services-2366317a61248a09c7261adac6a6abfe15ef4ca1.tar.gz | |
python-lesscpy: python LESS compiler
To provide compression and template capabilities the havana release of
horizon requires lesscpy.
But lesscpy is typically a python3 acript, so not only do we introduce
the recipe, we make it compatible with python2.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch b/meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch new file mode 100644 index 0000000..36dc7dc --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | From 3331202e96593d47b8e3a253777ea94537fc08f2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 3 | Date: Wed, 30 Oct 2013 23:09:56 -0400 | ||
| 4 | Subject: [PATCH 1/2] lesscpy: remove explicit python3 | ||
| 5 | |||
| 6 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 7 | --- | ||
| 8 | bin/lesscpy | 2 +- | ||
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | |||
| 11 | diff --git a/bin/lesscpy b/bin/lesscpy | ||
| 12 | index 4613f9e..0834996 100755 | ||
| 13 | --- a/bin/lesscpy | ||
| 14 | +++ b/bin/lesscpy | ||
| 15 | @@ -1,4 +1,4 @@ | ||
| 16 | -#!/usr/bin/env python3 | ||
| 17 | +#!/usr/bin/env python | ||
| 18 | """ | ||
| 19 | Lesscpy run script | ||
| 20 | <jtm@robot.is> | ||
| 21 | -- | ||
| 22 | 1.7.10.4 | ||
| 23 | |||
