Re: [gentoo-user] ebuild syntax question
2009/4/1 Helmut Jarausch jarau...@igpm.rwth-aachen.de: Hi, dev-util/eclipse-sdk-3.4.1.ebuild from layman/java-overlay contains CDEPEND=. =dev-java/tomcat-servlet-api-5.5.25-r1:2.4 What does that mean? I have dev-java/tomcat-servlet-api-6.0.18 installed in the 2.5 slot. But portage wants to emerge tomcat-servlet-api-5.5.27 which is masked by me (I have masked all tomcat-servlet-api-6) Does the '=' apply to the version only or to the slot, as well? Afaik this means any version greater or equal than 5.5.25-r1 which is in the 2.4 slot of dev-java/tomcat-servlet-api satisfies the dependency. -- Regards, Daniel
Re: [gentoo-user] ebuild syntax question
On Thursday 26 March 2009 11:14:38 Helmut Jarausch wrote: 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?) Yes, this is a bug and should be reported. if you need it installed right now, copy the ebuild to your overlay, edit out the wrong USE flag specifiers in DEPEND, digest the ebuild and install. Or you could walk for the devs to fix it and resync -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] ebuild syntax question
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