Lines Matching refs:archiveName
698 def extractArchive(builddir, archiveName): argument
713 if archiveName.endswith('.tar.gz'):
714 retval = os.path.basename(archiveName[:-7])
720 fp = os.popen("tar zxf %s 2>&1"%(shellQuote(archiveName),), 'r')
722 elif archiveName.endswith('.tar.bz2'):
723 retval = os.path.basename(archiveName[:-8])
726 fp = os.popen("tar jxf %s 2>&1"%(shellQuote(archiveName),), 'r')
728 elif archiveName.endswith('.tar'):
729 retval = os.path.basename(archiveName[:-4])
732 fp = os.popen("tar xf %s 2>&1"%(shellQuote(archiveName),), 'r')
734 elif archiveName.endswith('.zip'):
735 retval = os.path.basename(archiveName[:-4])
738 fp = os.popen("unzip %s 2>&1"%(shellQuote(archiveName),), 'r')
744 raise RuntimeError("Cannot extract %s"%(archiveName,))
936 archiveName = os.path.split(url)[-1]
937 sourceArchive = os.path.join(DEPSRC, archiveName)