Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 13616 | Differences between
and this patch

Collapse All | Expand All

(-)emerge (-9 / +12 lines)
Lines 779-785 Link Here
779
			print "Depstring:",depstring
779
			print "Depstring:",depstring
780
		if not arg:
780
		if not arg:
781
			#processing dependencies
781
			#processing dependencies
782
			mycheck=portage.dep_check(depstring,self.mydbapi[myroot])
782
			mycheck=portage.dep_check(depstring,self.mydbapi[myroot],parent=myparent)
783
			if not mycheck[0]:
783
			if not mycheck[0]:
784
				return 0
784
				return 0
785
			mymerge=mycheck[1]
785
			mymerge=mycheck[1]
Lines 1064-1076 Link Here
1064
1064
1065
				iuse=""
1065
				iuse=""
1066
				if "--verbose" in myopts:
1066
				if "--verbose" in myopts:
1067
					myiuse=portage.dep_getpuse(x[2])
1067
					for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "):
1068
					for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "):
1068
						try:
1069
						if ebuild_iuse in myiuse:
1069
							if (portage.usesplit.index(ebuild_iuse) >= 0) :
1070
							iuse=iuse+darkred("+"+ebuild_iuse)+" "
1070
								iuse=iuse+red("+"+ebuild_iuse)+" "
1071
						elif "-"+ebuild_iuse in myiuse:
1071
						except ValueError:
1072
							iuse=iuse+darkblue("-"+ebuild_iuse)+" "
1072
							if ebuild_iuse != "":
1073
						elif ebuild_iuse in portage.usesplit:
1073
								iuse=iuse+blue("-"+ebuild_iuse)+" "
1074
							iuse=iuse+red("+"+ebuild_iuse)+" "
1075
						elif ebuild_iuse != "":
1076
							iuse=iuse+blue("-"+ebuild_iuse)+" "
1074
1077
1075
				xs=portage.pkgsplit(x[2])
1078
				xs=portage.pkgsplit(x[2])
1076
				if xs[2]=="r0":
1079
				if xs[2]=="r0":
Lines 1832-1839 Link Here
1832
	else:
1835
	else:
1833
		myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK',
1836
		myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK',
1834
				'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY',
1837
				'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY',
1835
				'USE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS','ACCEPT_KEYWORDS', 
1838
				'USE', 'PKGUSE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS',
1836
				'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES']
1839
				'ACCEPT_KEYWORDS', 'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES']
1837
	myvars.sort()
1840
	myvars.sort()
1838
	for x in myvars:
1841
	for x in myvars:
1839
		print x+'="'+portage.settings[x]+'"'
1842
		print x+'="'+portage.settings[x]+'"'

Return to bug 13616