Пример #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)
Пример #2
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)
Пример #3
0
 def __init__(self, name, package, arch, summary, desc):
     DebianGenerator.__init__(self, package, arch, summary, desc);
     self.name = name
Пример #4
0
 def __init__(self, name, package, arch, summary, desc):
     DebianGenerator.__init__(self, package, arch, summary, desc)
     self.name = name