Exemplo n.º 1
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames(self.version, self.name)
        os.renames(self.name, self.version + "/" + self.name)

        # create build directory
        trymakedir(self.installPath + "/build")

        #optionally donwload the fjcontrib package
        if len(self.fjcontrib_version) > 0:
            self.reqfiles.append([
                "lib/libfastjetcontribfragile.so",
                "lib/libfastjetcontribfragile.dylib"
            ])

            os.chdir(self.installPath)
            print "+ Downloading FastJetContrib version : ", self.fjcontrib_version

            os.system(
                "wget http://fastjet.hepforge.org/contrib/downloads/fjcontrib-"
                + self.fjcontrib_version + ".tar.gz")
            os.system("tar -xzvf fjcontrib-" + self.fjcontrib_version +
                      ".tar.gz")
Exemplo n.º 2
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames(self.version, self.name)
        os.renames(self.name, self.version + "/" + self.name)

        # create build directory
        os.makedirs(self.installPath + "/build")
Exemplo n.º 3
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames( self.version, self.name )
        os.renames( self.name, self.version + "/" + self.name )

        # create build directory
        trymakedir( self.installPath + "/build" )
Exemplo n.º 4
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        if Version(self.version) > '0.7.3':
            return

        # move sources to a subdirectory
        os.renames(self.version, self.name)
        os.renames(self.name, self.version + "/" + self.name)

        # create build directory
        trymakedir(self.installPath + "/build")
Exemplo n.º 5
0
    def downloadSources(self):
        
        print "downloadSources from : " , self.download.url

        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames( self.version, self.name )
        os.renames( self.name, self.version + "/" + self.name )

        # create build directory
        os.makedirs( self.installPath + "/build" )
Exemplo n.º 6
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames( self.version, self.name )
        os.renames( self.name, self.version + "/" + self.name )

        # create build directory
        trymakedir( self.installPath + "/build" )
        
        # Qt5 is a super module. We need to trigger the package download before-hand
        if( os.path.isfile( self.version + "/" + self.name + "/init-repository" ) ):
            os.chdir( self.version + "/" + self.name )
            if( os_system( "./init-repository --module-subset=essential,qt3d 2>&1 | tee -a " + self.logfile ) != 0 ):
                self.abort( "failed to init Qt5 submodules!!" )
        else:
           print("****** path not found",self.version + "/" + self.name + "/init-repository" )
Exemplo n.º 7
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames( self.version, self.name )
        os.renames( self.name, self.version + "/" + self.name )

        # create build directory
        trymakedir( self.installPath + "/build" )

        #optionally donwload the fjcontrib package
        if len(self.fjcontrib_version) > 0:
            self.reqfiles.append( [ "lib/libfastjetcontribfragile.so",  "lib/libfastjetcontribfragile.dylib" ] )

            os.chdir( self.installPath )
            print "+ Downloading FastJetContrib version : ", self.fjcontrib_version

            os.system( "wget http://fastjet.hepforge.org/contrib/downloads/fjcontrib-"+self.fjcontrib_version+".tar.gz")
            os.system( "tar -xzvf fjcontrib-"+self.fjcontrib_version+".tar.gz")
Exemplo n.º 8
0
 def downloadSources(self):
     BaseILC.downloadSources(self)
Exemplo n.º 9
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames(self.version, self.name)
        os.renames(self.name, self.version + "/" + self.name)
Exemplo n.º 10
0
 def downloadSources(self):
     BaseILC.downloadSources(self)
Exemplo n.º 11
0
    def downloadSources(self):
        BaseILC.downloadSources(self)

        # move sources to a subdirectory
        os.renames( self.version, self.name )
        os.renames( self.name, self.version + "/" + self.name )