diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-01 00:13:14 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-01 00:07:36 +0100 |
commit | 1995c3a85e93372ab9c7a6fac817e9674bbe09fa (patch) | |
tree | 86fac10c4b8b97740ceb1e14779a0edcc443c5e5 /recipes-qtopia | |
parent | b8f6e24538bb8b6913dd9b5831b35e5e71365bc1 (diff) | |
download | meta-opie-1995c3a85e93372ab9c7a6fac817e9674bbe09fa.tar.gz |
Fix whitespace issues
Ensure we use only four spaces in all python functions; this avoids
warnings and errors triggered by the recent cleanup in OE-Core.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-qtopia')
-rw-r--r-- | recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb | 4 | ||||
-rw-r--r-- | recipes-qtopia/qpf-fonts/qpf.inc | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb b/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb index a820d9e..fe66408 100644 --- a/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb +++ b/recipes-qtopia/qpe-gaim/qpe-libgaim_1.5.0.bb @@ -45,8 +45,8 @@ PACKAGES_DYNAMIC = "libgaim-protocol-*" #FIXME: use do_packages to create individual packages for each of the plugins python populate_packages_prepend () { - plugindir = bb.data.expand('${libdir}/gaim', d) - do_split_packages(d, plugindir, '^lib(.*)\.so$', 'libgaim-protocol-%s', 'GAIM plugin for %s protocol', extra_depends='' ) + plugindir = bb.data.expand('${libdir}/gaim', d) + do_split_packages(d, plugindir, '^lib(.*)\.so$', 'libgaim-protocol-%s', 'GAIM plugin for %s protocol', extra_depends='' ) } PACKAGES += "libgaim-plugins" diff --git a/recipes-qtopia/qpf-fonts/qpf.inc b/recipes-qtopia/qpf-fonts/qpf.inc index 7fcb5a0..cec191d 100644 --- a/recipes-qtopia/qpf-fonts/qpf.inc +++ b/recipes-qtopia/qpf-fonts/qpf.inc @@ -19,16 +19,16 @@ pkg_postrm_fonts() { } python populate_packages_prepend() { - postinst = bb.data.getVar('pkg_postinst_fonts', d, 1) - postrm = bb.data.getVar('pkg_postrm_fonts', d, 1) - fontdir = bb.data.getVar('palmtopdir', d, 1) + '/lib/fonts' - pkgregex = "^([a-z-]*_[0-9]*).*.qpf$" - pkgpattern = bb.data.getVar('QPF_PKGPATTERN', d, 1) or 'qpf-%s' - pkgdescription = bb.data.getVar('QPF_DESCRIPTION', d, 1) or 'QPF font %s' - - do_split_packages(d, root=fontdir, file_regex=pkgregex, output_pattern=pkgpattern, - description=pkgdescription, postinst=postinst, postrm=postrm, recursive=True, hook=None, - extra_depends='qpf-font-common') + postinst = bb.data.getVar('pkg_postinst_fonts', d, 1) + postrm = bb.data.getVar('pkg_postrm_fonts', d, 1) + fontdir = bb.data.getVar('palmtopdir', d, 1) + '/lib/fonts' + pkgregex = "^([a-z-]*_[0-9]*).*.qpf$" + pkgpattern = bb.data.getVar('QPF_PKGPATTERN', d, 1) or 'qpf-%s' + pkgdescription = bb.data.getVar('QPF_DESCRIPTION', d, 1) or 'QPF font %s' + + do_split_packages(d, root=fontdir, file_regex=pkgregex, output_pattern=pkgpattern, + description=pkgdescription, postinst=postinst, postrm=postrm, recursive=True, hook=None, + extra_depends='qpf-font-common') } PACKAGE_ARCH = "all" |