public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] add built_with_use_die() to eutils.eclass ?
Date: Tue, 24 Apr 2007 00:55:39 +0300	[thread overview]
Message-ID: <462D2B5B.6000604@gentoo.org> (raw)
In-Reply-To: <200704232346.00075.dju@gentoo.org>

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

dju` kirjoitti:
> Hello,
> 
> I'd like to add the following function to eutils.eclass :
> 
> # Generate a standard error message for missing USE flags
> # in existing packages, and die.
> #
> # Usage: built_with_use_die <category/package> <functionality> [<USE flag>]
> #    ex: built_with_use_die dev-util/subversion python
> #    or: built_with_use_die net-www/apache LDAP ldap
> #
> # Typical usage:
> #   if ! built_with_use dev-util/subversion python ; then
> #        built_with_use_die dev-util/subversion python
> #   fi
> #

I think we should just call built_with_use inside built_with_use_die so
it becomes just built_with_use_die dev-util/subversion python.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2007-04-23 21:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 21:45 [gentoo-dev] add built_with_use_die() to eutils.eclass ? dju`
2007-04-23 21:55 ` Petteri Räty [this message]
2007-04-23 22:01 ` Doug Goldstein
2007-04-23 23:09 ` Lars Weiler
2007-04-23 18:27   ` Zac Medico
2007-04-24  8:09   ` Julien Allanos (dju`)
2007-04-24  8:49 ` Marius Mauch
2007-05-17 21:02   ` Petteri Räty
2007-05-18 14:06     ` Doug Goldstein

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=462D2B5B.6000604@gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-dev@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