File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,11 @@ def _install_basics(self):
343
343
self .execute ("emerge --verbose %s" %
344
344
" " .join (map (str , options .base_packages )))
345
345
346
+ if options .OPTIONS .with_vnc :
347
+ t = ["net-misc/tigervnc" , "x11-wm/icewm" ]
348
+ options .log .info ("installing VNC packages: %s" % t )
349
+ self .execute ("emerge --verbose %s" % " " .join (map (str , t )))
350
+
346
351
def _enable_global_use (self ):
347
352
"""Enable global USE settings."""
348
353
if not options .OPTIONS .global_use :
Original file line number Diff line number Diff line change @@ -178,9 +178,6 @@ def parse_commandline(args):
178
178
if options .ccache :
179
179
options .features .append ("ccache" )
180
180
181
- if options .with_vnc :
182
- options .atom += ["net-misc/tigervnc" , "x11-wm/icewm" ]
183
-
184
181
options .atom = list (map (Atom , options .atom ))
185
182
186
183
if options .update in ["yes" , "true" ]:
Original file line number Diff line number Diff line change @@ -80,13 +80,6 @@ def test_python_targets(self):
80
80
self .args + ["--manual" , "--python-targets" , "python3_8" ])
81
81
self .assertEqual ("python3_8" , options .python_targets )
82
82
83
- def test_with_vnc (self ):
84
- options = ebuildtester .parse .parse_commandline (
85
- self .args + ["--manual" , "--with-vnc" ])
86
- self .assertTrue (options .with_vnc )
87
- self .assertTrue (Atom ("net-misc/tigervnc" ) in options .atom )
88
- self .assertTrue (Atom ("x11-wm/icewm" ) in options .atom )
89
-
90
83
def test_docker_image (self ):
91
84
options = ebuildtester .parse .parse_commandline (
92
85
self .args + ["--manual" ])
You can’t perform that action at this time.
0 commit comments