summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-04-29 11:08:26 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-04-29 12:29:41 -0400
commit68725200f4a5b48d19fedb9a70677a2476aceb05 (patch)
tree2ac35ebd7e021317d6cd54ccf0ade60957ab5d5e /meta-openstack/recipes-devtools/python
parent387c4ff5431b2f6f7a8c20450c5fc0e575ddcee1 (diff)
downloadmeta-cloud-services-68725200f4a5b48d19fedb9a70677a2476aceb05.tar.gz
python-lesscpy: upgrade to 0.10.2
remove unneeded patches since they are fixed in new version. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch23
-rw-r--r--meta-openstack/recipes-devtools/python/python-lesscpy/0002-Description-Fixup-for-python3.3-compat.patch31
-rw-r--r--meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb (renamed from meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb)7
3 files changed, 2 insertions, 59 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
deleted file mode 100644
index 36dc7dc..0000000
--- a/meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From 3331202e96593d47b8e3a253777ea94537fc08f2 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Wed, 30 Oct 2013 23:09:56 -0400
4Subject: [PATCH 1/2] lesscpy: remove explicit python3
5
6Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
7---
8 bin/lesscpy | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/bin/lesscpy b/bin/lesscpy
12index 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--
221.7.10.4
23
diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy/0002-Description-Fixup-for-python3.3-compat.patch b/meta-openstack/recipes-devtools/python/python-lesscpy/0002-Description-Fixup-for-python3.3-compat.patch
deleted file mode 100644
index b5da15a..0000000
--- a/meta-openstack/recipes-devtools/python/python-lesscpy/0002-Description-Fixup-for-python3.3-compat.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 8b9fb203948ca752d848cee951ccde2954abcfe3 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Wed, 30 Oct 2013 23:17:28 -0400
4Subject: [PATCH 2/2] Description: Fixup for python3.3 compat Author: James
5 Page <james.page@ubuntu.com> Forwarded:
6 https://github.com/robotis/Lesscpy/pull/23
7
8Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
9---
10 lesscpy/scripts/compiler.py | 5 +++--
11 1 file changed, 3 insertions(+), 2 deletions(-)
12
13diff --git a/lesscpy/scripts/compiler.py b/lesscpy/scripts/compiler.py
14index f6b92c7..93dabd3 100644
15--- a/lesscpy/scripts/compiler.py
16+++ b/lesscpy/scripts/compiler.py
17@@ -84,8 +84,9 @@ def run():
18 """Run compiler
19 """
20 aparse = argparse.ArgumentParser(description='LessCss Compiler',
21- epilog='<< jtm@robot.is @_o >>',
22- version=VERSION_STR)
23+ epilog='<< jtm@robot.is @_o >>')
24+ aparse.add_argument('-v', '--version', action='version',
25+ version=VERSION_STR)
26 aparse.add_argument('-I', '--include', action="store", type=str,
27 help="Included less-files (comma separated)")
28 aparse.add_argument('-V', '--verbose', action="store_true",
29--
301.7.10.4
31
diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb b/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb
index 3bee660..61ae935 100644
--- a/meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb
+++ b/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb
@@ -4,19 +4,16 @@ SECTION = "devel/python"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a01aae31681ac25b4c46f98d627b9b5d" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=a01aae31681ac25b4c46f98d627b9b5d"
6 6
7PR = "r0"
8SRCNAME = "lesscpy" 7SRCNAME = "lesscpy"
9 8
10SRC_URI = "https://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ 9SRC_URI = "https://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
11 file://0001-lesscpy-remove-explicit-python3.patch \
12 file://0002-Description-Fixup-for-python3.3-compat.patch \
13 " 10 "
14 11
15DEPENDS += "python-ply" 12DEPENDS += "python-ply"
16RDEPENDS_${PN} += "python-ply" 13RDEPENDS_${PN} += "python-ply"
17 14
18SRC_URI[md5sum] = "a9587da0148463d6521f386294c9d6f3" 15SRC_URI[md5sum] = "fedbad1f4eb19c3af37f09560156246d"
19SRC_URI[sha256sum] = "fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d" 16SRC_URI[sha256sum] = "ccad1ad2a89ced1875c5ca4e16e5478b791d31fb187fe29f1541859318ed9055"
20 17
21S = "${WORKDIR}/${SRCNAME}-${PV}" 18S = "${WORKDIR}/${SRCNAME}-${PV}"
22 19