<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Am 12.01.2011 13:14, schrieb Wolfgang Rohdewald:
    <blockquote cite="mid:201101121314.18744.wolfgang@rohdewald.de"
      type="cite">
      <meta name="qrichtext" content="1">
      <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
      <p style="margin: 0px; text-indent: 0px;">this code cannot work
        because at this time self.subinfo is not</p>
    </blockquote>
    set:
    <blockquote cite="mid:201101121314.18744.wolfgang@rohdewald.de"
      type="cite">
      <p style="margin: 0px; text-indent: 0px;"> # if class name has
        been provided add implicit build time dependency</p>
      <p style="margin: 0px; text-indent: 0px;"> if className and
        os.getenv('EMERGE_ENABLE_IMPLICID_BUILDTIME_DEPENDENCIES'):</p>
      <p style="margin: 0px; text-indent: 0px;"> packageName =
        'internal/%s' % className</p>
      <p style="margin: 0px; text-indent: 0px;"> if not packageName in
        self.subinfo.buildDependencies:</p>
      <p style="margin: 0px; text-indent: 0px;">
        self.subinfo.buildDependencies[packageName] = 'default'</p>
    </blockquote>
    <br>
    this is not true&nbsp; - in files below the portage subdir there are
    class instantiation like shown below: <br>
    <br>
    class Package(CMakePackageBase):<br>
    &nbsp;&nbsp;&nbsp; def __init__( self ):<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.subinfo = subinfo()<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CMakePackageBase.__init__( self )<br>
    <br>
    self.subinfo is present before EmergeBase has been instantiated. <br>
    <br>
    Ralf <br>
    <br>
  </body>
</html>