public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-pms] Describing USE=test in PMS?
@ 2011-09-07 19:21 99% Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2011-09-07 19:21 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

Hello,

As we all know, USE=test is a little special, being switched by Portage
FEATURES=test (and probably other PMs as well). Considering the fact
that it is used widely, I think we should consider describing it in PMS
or someplace else.

The exact rationale for this discussion is Johan's attempt of using
USE=test to decide what is installed with a package:

<jbergstroem> if tests would be installed through USE=test (should they
be a part of package?) we'd need to start setting other depends
( DEPEND=test? ( dev-python/subvertpy[test] ) )

Honestly, I'm not sure if this is really supposed to work. I personally
wouldn't risk using it. I suppose it could even start raising mayhem and
hurting puppies. But if we consider this just by looking at PMS, it is
absolutely fine.

Moreover, due to PMS USE=test would be just another USEflag, and
src_test() could be run with or without it. If we even aren't going to
describe USE=test thoroughly there, I think we should mention that
src_test() can be run only with USE=test set or something like that.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-09-07 19:21 99% [gentoo-pms] Describing USE=test in PMS? Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox