diff options
-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): |