コード例 #1
0
 def write_stamp(self):
   """Write stamp file containing pkg_info."""
   filename = util.get_install_stamp(self.NAME, self.config)
   make_dir_if_needed(filename)
   util.log_verbose('stamp: %s' % filename)
   pkg_info = self.get_pkg_info()
   with open(filename, 'w') as f:
     f.write(pkg_info)
コード例 #2
0
ファイル: package.py プロジェクト: dsagal/webports
 def get_install_stamp(self):
   """Returns the name of install stamp for this package."""
   return util.get_install_stamp(self.NAME, self.config)
コード例 #3
0
ファイル: package.py プロジェクト: sbc100/webports
 def get_install_stamp(self):
     """Returns the name of install stamp for this package."""
     return util.get_install_stamp(self.NAME, self.config)