Lines Matching refs:input_package
19 def info_common_setup(self, input_package, result): argument
25 os.path.isfile.expect_call(input_package).and_return(True)
27 'file ' + input_package).and_return(result)
29 'file ' + input_package).and_return(result)
34 input_package = "package.rpm"
39 self.info_common_setup(input_package, file_result)
45 s_cmd = 'rpm -qp --qf %{SOURCE} ' + input_package + ' 2>/dev/null'
46 a_cmd = 'rpm -qp --qf %{ARCH} ' + input_package + ' 2>/dev/null'
47 v_cmd = 'rpm -qp ' + input_package + ' 2>/dev/null'
63 info = package.info(input_package)
70 input_package = "package.deb"
75 self.info_common_setup(input_package, file_result)
82 a_cmd = 'dpkg -f ' + input_package + ' Architecture 2>/dev/null'
83 v_cmd = 'dpkg -f ' + input_package + ' Package 2>/dev/null'
96 info = package.info(input_package)
103 input_package = "package.rpm"
114 package.info.expect_call(input_package).and_return(package_info)
115 install_command = 'rpm %s -U %s' % ('', input_package)
119 package.install(input_package)
126 input_package = "package.rpm"
132 'alien --to-deb %s 2>/dev/null' % input_package).and_return(output)
135 package.convert(input_package, dest_format)