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):
343343 self .execute ("emerge --verbose %s" %
344344 " " .join (map (str , options .base_packages )))
345345
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+
346351 def _enable_global_use (self ):
347352 """Enable global USE settings."""
348353 if not options .OPTIONS .global_use :
Original file line number Diff line number Diff line change @@ -178,9 +178,6 @@ def parse_commandline(args):
178178 if options .ccache :
179179 options .features .append ("ccache" )
180180
181- if options .with_vnc :
182- options .atom += ["net-misc/tigervnc" , "x11-wm/icewm" ]
183-
184181 options .atom = list (map (Atom , options .atom ))
185182
186183 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):
8080 self .args + ["--manual" , "--python-targets" , "python3_8" ])
8181 self .assertEqual ("python3_8" , options .python_targets )
8282
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-
9083 def test_docker_image (self ):
9184 options = ebuildtester .parse .parse_commandline (
9285 self .args + ["--manual" ])
You can’t perform that action at this time.
0 commit comments