Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184346 - ruby.eclass needs IUSE statement
Summary: ruby.eclass needs IUSE statement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Nguyen Thai Ngoc Duy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-05 19:54 UTC by Christian Faulhammer (RETIRED)
Modified: 2007-08-25 06:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2007-07-05 19:54:07 UTC
Ruby packages will state

 * QA Notice: USE Flag 'examples' not in IUSE for blah/blah

This USE flag is defined in ruby.eclass, so you should add an IUSE="examples" there.
Comment 1 Hans de Graaff gentoo-dev Security 2007-07-08 08:42:22 UTC
This seems to be related to bug 145222. 

@Nguyen, it would be great if you could have a look at this as you've been working on the examples stuff.
Comment 2 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-08-23 12:52:25 UTC
Sorry for being absent without inform. I'm looking on it right now. 
opfer, what exact package did you have that message on?
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-23 13:02:31 UTC
(In reply to comment #2)
> Sorry for being absent without inform. I'm looking on it right now. 
> opfer, what exact package did you have that message on?

 I can't tell anymore.  It was for a stabilisation, and from the ChangeLog I can't find a package that I marked stable on 05-07-2007 in the dev-ruby category.  And even the bugs I stabled around beginning of July reveal no info to me.  Anyhow, you use "use examples" in the eclass so you need an IUSE statement for that, independent of any package
Comment 4 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-08-23 13:15:39 UTC
The problem is that not every package needs that use flag. The code is there to reduce maintenance effort. It should be executed if there is 'examples' in IUSE. I think I could change it to: "if hasq examples ${IUSE} && use examples" to avoid QA messages. Comments?
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-24 06:44:15 UTC
(In reply to comment #4)
> The problem is that not every package needs that use flag. The code is there to
> reduce maintenance effort. It should be executed if there is 'examples' in
> IUSE. I think I could change it to: "if hasq examples ${IUSE} && use examples"
> to avoid QA messages. Comments?

 Looks fine to me.
Comment 6 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-08-25 06:08:00 UTC
Committed.