public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] remove eselect compiler usage
@ 2008-05-12 18:51 Fabian Groffen
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen @ 2008-05-12 18:51 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

eselect compiler has been removed from the tree, hence its usage can be
removed from portage.

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: subm.patch --]
[-- Type: text/plain, Size: 640 bytes --]

--- ../../trunk/pym/_emerge/__init__.py	2008-05-12 19:25:21 +0200
+++ ./pym/_emerge/__init__.py	2008-05-12 17:16:49 +0200
@@ -303,12 +318,6 @@
 	"!!! other terminals also.\n"
 	)
 
-	mystatus, myoutput = commands.getstatusoutput("eselect compiler show")
-	if mystatus == os.EX_OK and len(myoutput.split("/")) == 2:
-		part1, part2 = myoutput.split("/")
-		if part1.startswith(chost + "-"):
-			return myoutput.replace(chost + "-", gcc_ver_prefix, 1)
-
 	mystatus, myoutput = commands.getstatusoutput("gcc-config -c")
 	if mystatus == os.EX_OK and myoutput.startswith(chost + "-"):
 		return myoutput.replace(chost + "-", gcc_ver_prefix, 1)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-12 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 18:51 [gentoo-portage-dev] [PATCH] remove eselect compiler usage Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox