aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Erdmann <dywi@mailerd.de>2014-07-29 20:22:04 +0200
committerAndré Erdmann <dywi@mailerd.de>2014-07-29 20:22:04 +0200
commit8c67544ba3552ae6a67a10145036d42d8692d10c (patch)
tree83f3fe2e1588c01a4577968d3f3059455c7cca67 /roverlay
parentdoc/rst: document slot deprule changes (diff)
downloadR_overlay-8c67544ba3552ae6a67a10145036d42d8692d10c.tar.gz
R_overlay-8c67544ba3552ae6a67a10145036d42d8692d10c.tar.bz2
R_overlay-8c67544ba3552ae6a67a10145036d42d8692d10c.zip
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.
Diffstat (limited to 'roverlay')
-rw-r--r--roverlay/overlay/rulegen.py2
1 files changed, 2 insertions, 0 deletions
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: