2009/3/26 Helmut Jarausch <jarau...@igpm.rwth-aachen.de>: > Hi, > > the sci-libs/mathgl-1.8-r1.ebuild contains > DEPEND="${RDEPEND} > doc? ( app-text/texi2html virtual/texi2dvi ) > python? ( dev-lang/swig[python] ) > octave? ( dev-lang/swig[octave] )" > > What does dev-lang/swig[python] mean? > Since dev-lang/swig/swig-1.3.39 does not > use the useflags 'python', etc, anymore, > emerging sci-libs/mathgl tries to downgrade to > swig-1.3.36 which gives conflict elsewhere. > > Do I really need to mask >swig-1.3.36 or > is sci-libs/mathgl-1.8-r1.ebuild too old? > > Many thanks for a hint. > (Should I generate a bug report?) >
IMHO this is one drawdack of EAPI 2 use dependencies. The ebuilds needs a package with a particular use flag but some versions of said package do not use this flag and portage gets in trouble. So this is clearly a bug. I am not sure but a fix would be something like this: python? || ( >=dev-lang/swig-1.3.39 <dev-lang/swig-1.3.39[python] ) -- Regards, Daniel