Esempio n. 1
0
 def generate(self, path):
     # Relative path to the ONL root from the target package
     # directory
     location="%s/%s" % (path, self.name)
     os.makedirs(location)
     self.relpath = os.path.relpath(os.getenv('ONL'),location)
     self.__generate_file(location, "Makefile", self._makefile())
     self.__generate_file(location, "Makefile.comp", self._makefile_dot_comp())
     location += "/deb"
     os.makedirs(location)
     self.__generate_file(location, "Makefile", self._deb_makefile())
     location += "/debuild"
     os.makedirs(location)
     DebianGenerator.generate(self, location)
Esempio n. 2
0
File: compgen.py Progetto: biot/ONL
 def generate(self, path):
     # Relative path to the ONL root from the target package
     # directory
     location = "%s/%s" % (path, self.name)
     os.makedirs(location)
     self.relpath = os.path.relpath(os.getenv('ONL'), location)
     self.__generate_file(location, "Makefile", self._makefile())
     self.__generate_file(location, "Makefile.comp",
                          self._makefile_dot_comp())
     location += "/deb"
     os.makedirs(location)
     self.__generate_file(location, "Makefile", self._deb_makefile())
     location += "/debuild"
     os.makedirs(location)
     DebianGenerator.generate(self, location)
Esempio n. 3
0
 def __init__(self, name, package, arch, summary, desc):
     DebianGenerator.__init__(self, package, arch, summary, desc);
     self.name = name
Esempio n. 4
0
File: compgen.py Progetto: biot/ONL
 def __init__(self, name, package, arch, summary, desc):
     DebianGenerator.__init__(self, package, arch, summary, desc)
     self.name = name