Ejemplo n.º 1
0
 def find_path_to_ebuild(self, overlay_path):
     """"""
     ebuild_dir = PortageUtils.make_ebuild_dir(self.options.category,
         self['pn'], overlay_path)
     if not os.path.isdir(ebuild_dir or ""):
         raise GPyPiCouldNotCreateEbuildPath('Couldn not create ebuild directory %s' % ebuild_dir)
     return os.path.join(ebuild_dir, self['p'] + ".ebuild")