From: Zac Medico Date: Mon, 4 Sep 2006 18:42:35 +0000 (-0000) Subject: Add repoman support for package.use.mask. X-Git-Tag: v2.1.1~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f951ed98e13a915163c3dd21ef6fc6c66f9640e;p=portage.git Add repoman support for package.use.mask. svn path=/main/trunk/; revision=4401 --- diff --git a/bin/repoman b/bin/repoman index 44e3e2e81..9b052ff12 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1158,7 +1158,7 @@ for x in scanlist: if prof[1] == "dev": suffix=suffix+"indev" - + dep_settings.setcpv("/".join((catdir, y))) for mytype,mypos in [["DEPEND",len(missingvars)],["RDEPEND",len(missingvars)+1],["PDEPEND",len(missingvars)+2]]: mykey=mytype+".bad"+suffix diff --git a/pym/portage.py b/pym/portage.py index 5c450d3e2..aba4c224c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3455,7 +3455,8 @@ def dep_check(depstring, mydbapi, mysettings, use="yes", mode=None, myuse=None, #if use=="all": # mymasks=archlist[:] #else: - mymasks = mysettings.usemask + mysettings.archlist() + mymasks = mysettings.usemask + list(mysettings.pusemask) + \ + mysettings.archlist() while mysettings["ARCH"] in mymasks: del mymasks[mymasks.index(mysettings["ARCH"])]