From: W. Trevor King Date: Mon, 28 Jan 2013 15:24:31 +0000 (-0500) Subject: swc-installation-test-2.py: Add long names for virtual-* packages X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14e53b16456a071bdd7594b44415b8666e4c51f8;p=swc-setup-installation-test.git swc-installation-test-2.py: Add long names for virtual-* packages Give a more user-friendly description of what we're checking for. --- diff --git a/setup/swc-installation-test-2.py b/setup/swc-installation-test-2.py index 79e1207..882e43c 100755 --- a/setup/swc-installation-test-2.py +++ b/setup/swc-installation-test-2.py @@ -558,8 +558,8 @@ class VirtualDependency (Dependency): self.or_pass['version']) -for name,dependencies in [ - ('virtual-shell', ( +for name,long_name,dependencies in [ + ('virtual-shell', 'command line shell', ( 'bash', 'dash', 'ash', @@ -569,7 +569,7 @@ for name,dependencies in [ 'tcsh', 'sh', )), - ('virtual-editor', ( + ('virtual-editor', 'text/code editor', ( 'emacs', 'xemacs', 'vim', @@ -579,19 +579,19 @@ for name,dependencies in [ 'kate', 'notepad++', )), - ('virtual-browser', ( + ('virtual-browser', 'web browser', ( 'firefox', 'google-chrome', 'chromium', )), - ('virtual-pypi-installer', ( + ('virtual-pypi-installer', 'PyPI installer', ( 'easy_install', 'pip', )), ]: CHECKER[name] = VirtualDependency( - name=name, long_name=name, or_dependencies=dependencies) -del name, dependencies # cleanup namespace + name=name, long_name=long_name, or_dependencies=dependencies) +del name, long_name, dependencies # cleanup namespace def _print_info(key, value, indent=19):