From 8c67544ba3552ae6a67a10145036d42d8692d10c Mon Sep 17 00:00:00 2001 From: André Erdmann Date: Tue, 29 Jul 2014 20:22:04 +0200 Subject: roverlay/overlay/rulegen: fix dot handling for scanned ebuilds: replace underscore chars '_' with dot chars '.' and the resulting str as package name alias to the dyn. dep rule. --- roverlay/overlay/rulegen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roverlay') diff --git a/roverlay/overlay/rulegen.py b/roverlay/overlay/rulegen.py index b2bf1e5..dcc4723 100644 --- a/roverlay/overlay/rulegen.py +++ b/roverlay/overlay/rulegen.py @@ -40,6 +40,8 @@ class DepresRuleGenerator ( object ): ) if package_name: package_names.add ( package_name ) + else: + package_names.add ( pkgdir_name.replace('_','.') ) repo = p_info.get ( 'origin', do_fallback=True ) if repo is not None: -- cgit v1.2.3-65-gdbad