public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Subject: [gentoo-pms] Describing USE=test in PMS?
Date: Wed, 7 Sep 2011 21:21:12 +0200	[thread overview]
Message-ID: <20110907212112.531d707f@pomiocik.lan> (raw)

[-- 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 --]

                 reply	other threads:[~2011-09-07 19:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110907212112.531d707f@pomiocik.lan \
    --to=mgorny@gentoo.org \
    --cc=gentoo-pms@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox