summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <ford_prefect@gentoo.org>2009-07-26 22:58:48 +0530
committerArun Raghavan <ford_prefect@gentoo.org>2009-07-26 22:58:48 +0530
commit429ef7068dc2ba5722cbd4bd7c39d2da24eaa279 (patch)
tree29770c33ed6073e1e7c421031a2a601d2d259576
parentTweak the column description text on the bottom of the page (diff)
downloadgentoo-bumpchecker-429ef7068dc2ba5722cbd4bd7c39d2da24eaa279.tar.gz
gentoo-bumpchecker-429ef7068dc2ba5722cbd4bd7c39d2da24eaa279.tar.bz2
gentoo-bumpchecker-429ef7068dc2ba5722cbd4bd7c39d2da24eaa279.zip
Clean up the way we ignore perl bindings
Perl bindings don't have a 'latest' version field because they are hosted on different infrastructure from the rest of GNOME. This commit cleans up the way these are handled (checks the language of the binding rather than depending on the package name, which broke with the introduction of the Pango module).
-rw-r--r--modules/gnome_module.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 9df1246..b7b79b0 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -42,13 +42,13 @@ class GNOME:
ret = []
for line in f.readlines():
- components = line.split(':')
+ components = str.strip(line).split(':')
if len(components) == 4 and len(components[2]) > 0:
# Upper modules category handling determination currently sucks - manually ignore modules that aren't unique $name
if components[1] not in ('gdl'):
- # Very hacky temporary way to ignore perl packages that don't have versions known in version-stable due to different infrastructure for hosting
+ # Ignore perl packages that don't have versions known in version-stable due to different infrastructure for hosting
# We have a workaround in compare_packages now, but we don't have a proper mapping to ruby-g* stuff yet, so ignore them for now
- if not(components[0] == 'bindings' and components[1][0] == 'G'):
+ if not(components[0] == 'bindings' and components[3] == 'perl'):
ret.append(package_module.Package(components[1] + "-" + components[2]))
f.close()