From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] EAPI checking in eclasses
Date: Thu, 3 Jan 2008 21:46:22 -0800 [thread overview]
Message-ID: <20080104054622.GC14600@supernova> (raw)
In-Reply-To: <49728.192.168.2.159.1199111645.squirrel@www.aei-tech.com>
On 09:34 Mon 31 Dec , Caleb Tennis wrote:
> Is it legal for an eclass to check the EAPI version (presumably by
> using the EAPI variable) and perform some dependent behavior based on
> what it sees? I don't see any eclasses using EAPI for anything, so
> I'm curious.
You can't treat EAPI as an integer, though, which the commit to the qt
eclass did. You might want to do a case statement instead for string
matches.
Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list
prev parent reply other threads:[~2008-01-04 5:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-31 14:34 [gentoo-dev] EAPI checking in eclasses Caleb Tennis
2007-12-31 15:06 ` Ciaran McCreesh
2008-01-04 5:46 ` Donnie Berkholz [this message]
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=20080104054622.GC14600@supernova \
--to=dberkholz@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