From 14e53b16456a071bdd7594b44415b8666e4c51f8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 28 Jan 2013 10:24:31 -0500 Subject: [PATCH] swc-installation-test-2.py: Add long names for virtual-* packages Give a more user-friendly description of what we're checking for. --- setup/swc-installation-test-2.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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): -- 2.26.2