summaryrefslogtreecommitdiff
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-25 15:40:34 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-31 12:02:24 +0100
commite6566322bd2856e14fbabd78a6307f6575ba3d8c (patch)
tree027ed4b509ac7ba0a4a7f7b58ea9747455d78815 /meta/classes/package_deb.bbclass
parente300aa048531a5a11c4c87848551e5541b5b3022 (diff)
downloadopenembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.gz
openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.bz2
openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.zip
meta/classes: Fix whitespace mismatch and broken functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 478f2ed1ab..1bb2ebd766 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -160,8 +160,8 @@ python do_package_deb () {
fields.append(["OE: %s\n", ['PN']])
fields.append(["Homepage: %s\n", ['HOMEPAGE']])
-# Package, Version, Maintainer, Description - mandatory
-# Section, Priority, Essential, Architecture, Source, Depends, Pre-Depends, Recommends, Suggests, Conflicts, Replaces, Provides - Optional
+ # Package, Version, Maintainer, Description - mandatory
+ # Section, Priority, Essential, Architecture, Source, Depends, Pre-Depends, Recommends, Suggests, Conflicts, Replaces, Provides - Optional
def pullData(l, d):
@@ -170,7 +170,7 @@ python do_package_deb () {
data = bb.data.getVar(i, d, True)
if data is None:
raise KeyError(f)
- if i == 'DPKG_ARCH' and bb.data.getVar('PACKAGE_ARCH', d, True) == 'all':
+ if i == 'DPKG_ARCH' and bb.data.getVar('PACKAGE_ARCH', d, True) == 'all':
data = 'all'
l2.append(data)
return l2
@@ -191,13 +191,13 @@ python do_package_deb () {
bb.build.exec_func("mapping_rename_hook", localdata)
rdepends = bb.utils.explode_dep_versions(bb.data.getVar("RDEPENDS", localdata, True) or "")
- for dep in rdepends:
- if '*' in dep:
- del rdepends[dep]
+ for dep in rdepends:
+ if '*' in dep:
+ del rdepends[dep]
rrecommends = bb.utils.explode_dep_versions(bb.data.getVar("RRECOMMENDS", localdata, True) or "")
- for dep in rrecommends:
- if '*' in dep:
- del rrecommends[dep]
+ for dep in rrecommends:
+ if '*' in dep:
+ del rrecommends[dep]
rsuggests = bb.utils.explode_dep_versions(bb.data.getVar("RSUGGESTS", localdata, True) or "")
rprovides = bb.utils.explode_dep_versions(bb.data.getVar("RPROVIDES", localdata, True) or "")
rreplaces = bb.utils.explode_dep_versions(bb.data.getVar("RREPLACES", localdata, True) or "")