diff options
author | 2010-02-26 10:43:47 +0200 | |
---|---|---|
committer | 2010-02-26 12:24:50 +0200 | |
commit | 54d91926f84384f1f4d689cafa67d72b25933279 (patch) | |
tree | 48e4e77970352cb5c6116921d96bdfcbefa005a9 | |
parent | Fix error display by using correct exception. (diff) | |
download | gentoo-bumpchecker-54d91926f84384f1f4d689cafa67d72b25933279.tar.gz gentoo-bumpchecker-54d91926f84384f1f4d689cafa67d72b25933279.tar.bz2 gentoo-bumpchecker-54d91926f84384f1f4d689cafa67d72b25933279.zip |
Remove workaround for gdl package.
This makes gdl version status to be included in the report, instead of ignored.
-rw-r--r-- | modules/gnome_module.py | 18 | ||||
-rw-r--r-- | modules/package_module.py | 1 |
2 files changed, 9 insertions, 10 deletions
diff --git a/modules/gnome_module.py b/modules/gnome_module.py index 85ec28b..ec98b93 100644 --- a/modules/gnome_module.py +++ b/modules/gnome_module.py @@ -44,16 +44,14 @@ class GNOME: for line in f.readlines(): 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'): - # 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[3] == 'perl'): - pkg = package_module.Package(components[1] + "-" + components[2]) - if (pkg.name and pkg.version): - ret.append(pkg) - else: - print "Warning: Ignoring package %s because parsing of its name or version string '%s' failed" % (components[1], components[2]) + # 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[3] == 'perl'): + pkg = package_module.Package(components[1] + "-" + components[2]) + if (pkg.name and pkg.version): + ret.append(pkg) + else: + print "Warning: Ignoring package %s because parsing of its name or version string '%s' failed" % (components[1], components[2]) f.close() return ret diff --git a/modules/package_module.py b/modules/package_module.py index b3b9f75..ede3d88 100644 --- a/modules/package_module.py +++ b/modules/package_module.py @@ -18,6 +18,7 @@ class Package: "gnome2-vfs":"gnome2-vfs-perl", "pkg-config":"pkgconfig", "glade3":"dev-util/glade", + "gdl":"dev-libs/gdl", } def __init__(self, raw_data): |