From 68725200f4a5b48d19fedb9a70677a2476aceb05 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 29 Apr 2015 11:08:26 +0800 Subject: python-lesscpy: upgrade to 0.10.2 remove unneeded patches since they are fixed in new version. Signed-off-by: Jackie Huang Signed-off-by: Bruce Ashfield --- .../0001-lesscpy-remove-explicit-python3.patch | 23 ---------------- ...02-Description-Fixup-for-python3.3-compat.patch | 31 ---------------------- .../python/python-lesscpy_0.10.2.bb | 25 +++++++++++++++++ .../recipes-devtools/python/python-lesscpy_0.9j.bb | 28 ------------------- 4 files changed, 25 insertions(+), 82 deletions(-) delete mode 100644 meta-openstack/recipes-devtools/python/python-lesscpy/0001-lesscpy-remove-explicit-python3.patch delete mode 100644 meta-openstack/recipes-devtools/python/python-lesscpy/0002-Description-Fixup-for-python3.3-compat.patch create mode 100644 meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb delete mode 100644 meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb (limited to 'meta-openstack/recipes-devtools/python') 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 @@ -From 3331202e96593d47b8e3a253777ea94537fc08f2 Mon Sep 17 00:00:00 2001 -From: Bruce Ashfield -Date: Wed, 30 Oct 2013 23:09:56 -0400 -Subject: [PATCH 1/2] lesscpy: remove explicit python3 - -Signed-off-by: Bruce Ashfield ---- - bin/lesscpy | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bin/lesscpy b/bin/lesscpy -index 4613f9e..0834996 100755 ---- a/bin/lesscpy -+++ b/bin/lesscpy -@@ -1,4 +1,4 @@ --#!/usr/bin/env python3 -+#!/usr/bin/env python - """ - Lesscpy run script - --- -1.7.10.4 - 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 @@ -From 8b9fb203948ca752d848cee951ccde2954abcfe3 Mon Sep 17 00:00:00 2001 -From: Bruce Ashfield -Date: Wed, 30 Oct 2013 23:17:28 -0400 -Subject: [PATCH 2/2] Description: Fixup for python3.3 compat Author: James - Page Forwarded: - https://github.com/robotis/Lesscpy/pull/23 - -Signed-off-by: Bruce Ashfield ---- - lesscpy/scripts/compiler.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/lesscpy/scripts/compiler.py b/lesscpy/scripts/compiler.py -index f6b92c7..93dabd3 100644 ---- a/lesscpy/scripts/compiler.py -+++ b/lesscpy/scripts/compiler.py -@@ -84,8 +84,9 @@ def run(): - """Run compiler - """ - aparse = argparse.ArgumentParser(description='LessCss Compiler', -- epilog='<< jtm@robot.is @_o >>', -- version=VERSION_STR) -+ epilog='<< jtm@robot.is @_o >>') -+ aparse.add_argument('-v', '--version', action='version', -+ version=VERSION_STR) - aparse.add_argument('-I', '--include', action="store", type=str, - help="Included less-files (comma separated)") - aparse.add_argument('-V', '--verbose', action="store_true", --- -1.7.10.4 - diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb b/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb new file mode 100644 index 0000000..61ae935 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Python lesscpy: Python LESS Compiler" +HOMEPAGE = "https://pypi.python.org/pypi/lesscpy" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a01aae31681ac25b4c46f98d627b9b5d" + +SRCNAME = "lesscpy" + +SRC_URI = "https://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + " + +DEPENDS += "python-ply" +RDEPENDS_${PN} += "python-ply" + +SRC_URI[md5sum] = "fedbad1f4eb19c3af37f09560156246d" +SRC_URI[sha256sum] = "ccad1ad2a89ced1875c5ca4e16e5478b791d31fb187fe29f1541859318ed9055" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +DISTUTILS_INSTALL_ARGS = "--root=${D} \ + --prefix=${prefix} \ + --install-lib=${PYTHON_SITEPACKAGES_DIR} \ + --install-data=${datadir}" diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb b/meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb deleted file mode 100644 index 3bee660..0000000 --- a/meta-openstack/recipes-devtools/python/python-lesscpy_0.9j.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Python lesscpy: Python LESS Compiler" -HOMEPAGE = "https://pypi.python.org/pypi/lesscpy" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a01aae31681ac25b4c46f98d627b9b5d" - -PR = "r0" -SRCNAME = "lesscpy" - -SRC_URI = "https://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ - file://0001-lesscpy-remove-explicit-python3.patch \ - file://0002-Description-Fixup-for-python3.3-compat.patch \ - " - -DEPENDS += "python-ply" -RDEPENDS_${PN} += "python-ply" - -SRC_URI[md5sum] = "a9587da0148463d6521f386294c9d6f3" -SRC_URI[sha256sum] = "fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -DISTUTILS_INSTALL_ARGS = "--root=${D} \ - --prefix=${prefix} \ - --install-lib=${PYTHON_SITEPACKAGES_DIR} \ - --install-data=${datadir}" -- cgit v1.2.3-54-g00ecf