Lines Matching refs:archiveName
742 def extractArchive(builddir, archiveName): argument
757 if archiveName.endswith('.tar.gz'):
758 retval = os.path.basename(archiveName[:-7])
764 fp = os.popen("tar zxf %s 2>&1"%(shellQuote(archiveName),), 'r')
766 elif archiveName.endswith('.tar.bz2'):
767 retval = os.path.basename(archiveName[:-8])
770 fp = os.popen("tar jxf %s 2>&1"%(shellQuote(archiveName),), 'r')
772 elif archiveName.endswith('.tar'):
773 retval = os.path.basename(archiveName[:-4])
776 fp = os.popen("tar xf %s 2>&1"%(shellQuote(archiveName),), 'r')
778 elif archiveName.endswith('.zip'):
779 retval = os.path.basename(archiveName[:-4])
782 fp = os.popen("unzip %s 2>&1"%(shellQuote(archiveName),), 'r')
788 raise RuntimeError("Cannot extract %s"%(archiveName,))
980 archiveName = os.path.split(url)[-1]
981 sourceArchive = os.path.join(DEPSRC, archiveName)