Lines Matching refs:archiveName
701 def extractArchive(builddir, archiveName): argument
716 if archiveName.endswith('.tar.gz'):
717 retval = os.path.basename(archiveName[:-7])
723 fp = os.popen("tar zxf %s 2>&1"%(shellQuote(archiveName),), 'r')
725 elif archiveName.endswith('.tar.bz2'):
726 retval = os.path.basename(archiveName[:-8])
729 fp = os.popen("tar jxf %s 2>&1"%(shellQuote(archiveName),), 'r')
731 elif archiveName.endswith('.tar'):
732 retval = os.path.basename(archiveName[:-4])
735 fp = os.popen("tar xf %s 2>&1"%(shellQuote(archiveName),), 'r')
737 elif archiveName.endswith('.zip'):
738 retval = os.path.basename(archiveName[:-4])
741 fp = os.popen("unzip %s 2>&1"%(shellQuote(archiveName),), 'r')
747 raise RuntimeError("Cannot extract %s"%(archiveName,))
928 archiveName = os.path.split(url)[-1]
929 sourceArchive = os.path.join(DEPSRC, archiveName)