Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] Describing USE=test in PMS?
Date: Wed, 07 Sep 2011 19:19:37
Message-Id: 20110907212112.531d707f@pomiocik.lan
1 Hello,
2
3 As we all know, USE=test is a little special, being switched by Portage
4 FEATURES=test (and probably other PMs as well). Considering the fact
5 that it is used widely, I think we should consider describing it in PMS
6 or someplace else.
7
8 The exact rationale for this discussion is Johan's attempt of using
9 USE=test to decide what is installed with a package:
10
11 <jbergstroem> if tests would be installed through USE=test (should they
12 be a part of package?) we'd need to start setting other depends
13 ( DEPEND=test? ( dev-python/subvertpy[test] ) )
14
15 Honestly, I'm not sure if this is really supposed to work. I personally
16 wouldn't risk using it. I suppose it could even start raising mayhem and
17 hurting puppies. But if we consider this just by looking at PMS, it is
18 absolutely fine.
19
20 Moreover, due to PMS USE=test would be just another USEflag, and
21 src_test() could be run with or without it. If we even aren't going to
22 describe USE=test thoroughly there, I think we should mention that
23 src_test() can be run only with USE=test set or something like that.
24
25 --
26 Best regards,
27 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature