doebuild: enable pretend phase as setup dep
authorZac Medico <zmedico@gentoo.org>
Sat, 4 Dec 2010 20:00:21 +0000 (12:00 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 4 Dec 2010 20:00:21 +0000 (12:00 -0800)
pym/portage/package/ebuild/doebuild.py

index 6a232f3648536b60229317f5bf05c82ee8b871b3..ba0a5783674aa6228749a58ca2bd60349c500e29 100644 (file)
@@ -668,7 +668,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                # if any of these are being called, handle them -- running them out of
                # the sandbox -- and stop now.
                if mydo in ("config", "help", "info", "postinst",
-                       "preinst", "pretend", "postrm", "prerm", "setup"):
+                       "preinst", "pretend", "postrm", "prerm"):
                        return _spawn_phase(mydo, mysettings,
                                fd_pipes=fd_pipes, logfile=logfile, returnpid=returnpid)