Exemplo n.º 1
0
 def _Download(self):
     """ Derived classes should override this to download the package."""
     self._DownloadPipe = PackageUtil.DownloadFile(
         "http://geant4.web.cern.ch/geant4/support/source/" +
         self._SourceTar)
     for dataTar in self._DataTars:
         self._DownloadPipe += PackageUtil.DownloadFile(
             "http://geant4.web.cern.ch/geant4/support/source/" + dataTar)
     return
Exemplo n.º 2
0
 def _Download(self):
     """ Derived classes should override this to download the package. Return True on success."""
     if self._Username is not None:
         print "Github password:"******"https://github.com/snoplus/rat/tarball/" + self._TarName, \
                                                             self._Username, password )
     elif self._Token is not None:
         self._DownloadPipe += PackageUtil.DownloadFile( "https://api.github.com/repos/snoplus/rat/tarball/" + self._TarName, \
                                                             token = self._Token )
     else:
         Log.Error("No Authentication method supplied.")
         raise Exception()
     return
Exemplo n.º 3
0
 def _Download( self ):
     """ Downloads a curl tarball from the curl website."""
     self._DownloadPipe += PackageUtil.DownloadFile( "http://curl.haxx.se/download/" + self._TarName )
     return
Exemplo n.º 4
0
 def _Download( self ):
     """ Derived classes should override this to download the package. Return True on success."""
     self._DownloadPipe += PackageUtil.DownloadFile( "http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/" + self._TarName )
     return
Exemplo n.º 5
0
 def _Download(self):
     """ Derived classes should override this to download the package."""
     self._DowloadPipe += PackageUtil.DownloadFile(
         "http://downloads.sourceforge.net/project/scons/scons/1.2.0/scons-1.2.0.tar.gz"
     )
     return
Exemplo n.º 6
0
 def _Download( self ):
     """ Download the tar file."""
     self._DownloadPipe += PackageUtil.DownloadFile( "https://github.com/LaurentGomila/SFML/tarball/" + self._TarName )
     return
Exemplo n.º 7
0
 def _Download( self ):
     """ Download avalanche (git clone)."""
     self._DownloadPipe += PackageUtil.DownloadFile( "https://github.com/mastbaum/avalanche/tarball/" + self._TarName )
     return
Exemplo n.º 8
0
 def _Download(self):
     """ Download the 2.8 version."""
     self._DownloadPipe += PackageUtil.DownloadFile(
         "http://www.cmake.org/files/v2.8/cmake-2.8.8.tar.gz")
     return
Exemplo n.º 9
0
 def _Download(self):
     """ Download the 3.1.1 version."""
     self._DownloadPipe += PackageUtil.DownloadFile(
         "http://mirror.ox.ac.uk/sites/rsync.apache.org//xerces/c/3/sources/"
         + self._TarName)
     return
Exemplo n.º 10
0
 def _Download(self):
     """ Download the 2.2 version."""
     self._DownloadPipe += PackageUtil.DownloadFile(
         "http://download.zeromq.org/" + self._TarName)
     return
Exemplo n.º 11
0
 def _Download(self):
     """ Derived classes should override this to download the package. Return True on success."""
     self._DownloadPipe += PackageUtil.DownloadFile(
         "ftp://root.cern.ch/root/" + self._TarName)
     return
Exemplo n.º 12
0
 def _Download(self):
     """ Download the tar file."""
     self._DownloadPipe += PackageUtil.DownloadFile(
         "http://www.bzip.org/1.0.6/" + self._TarName)
     return
Exemplo n.º 13
0
 def _Download(self):
     """ Derived classes should override this to download the package. Return True on success."""
     self._DownloadPipe += PackageUtil.DownloadFile(
         "https://github.com/snoplus/snogoggles/tarball/" + self._TarName)
     return