Am 12.01.2011 13:14, schrieb Wolfgang Rohdewald:

this code cannot work because at this time self.subinfo is not

set:

# if class name has been provided add implicit build time dependency

if className and os.getenv('EMERGE_ENABLE_IMPLICID_BUILDTIME_DEPENDENCIES'):

packageName = 'internal/%s' % className

if not packageName in self.subinfo.buildDependencies:

self.subinfo.buildDependencies[packageName] = 'default'


this is not true - in files below the portage subdir there are class instantiation like shown below:

class Package(CMakePackageBase):
    def __init__( self ):
        self.subinfo = subinfo()
        CMakePackageBase.__init__( self )

self.subinfo is present before EmergeBase has been instantiated.

Ralf

_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows

Reply via email to