Lines Matching refs:archiveName
753 def extractArchive(builddir, archiveName): argument
768 if archiveName.endswith('.tar.gz'):
769 retval = os.path.basename(archiveName[:-7])
775 fp = os.popen("tar zxf %s 2>&1"%(shellQuote(archiveName),), 'r')
777 elif archiveName.endswith('.tar.bz2'):
778 retval = os.path.basename(archiveName[:-8])
781 fp = os.popen("tar jxf %s 2>&1"%(shellQuote(archiveName),), 'r')
783 elif archiveName.endswith('.tar'):
784 retval = os.path.basename(archiveName[:-4])
787 fp = os.popen("tar xf %s 2>&1"%(shellQuote(archiveName),), 'r')
789 elif archiveName.endswith('.zip'):
790 retval = os.path.basename(archiveName[:-4])
793 fp = os.popen("unzip %s 2>&1"%(shellQuote(archiveName),), 'r')
799 raise RuntimeError("Cannot extract %s"%(archiveName,))
985 archiveName = os.path.split(url)[-1]
986 sourceArchive = os.path.join(DEPSRC, archiveName)