public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alon Bar-Lev" <alon.barlev@gmail.com>
To: "Vlastimil Babka" <caster@gentoo.org>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] generation-2 java eclass
Date: Thu, 21 Sep 2006 08:05:08 +0300	[thread overview]
Message-ID: <9e0cf0bf0609202205l3b79649y93e87f84ab3cdc79@mail.gmail.com> (raw)
In-Reply-To: <4511C3B6.5020802@gentoo.org>

On 9/21/06, Vlastimil Babka <caster@gentoo.org> wrote:
> Vlastimil Babka wrote:
> >  >> Must be a typo. As a result, java env is probably not set properly
> >  >> inside ebuild's pkg_setup() (for ebuilds that define it). But since
> >  >> there are correct hooks for other phases (especially src_compile)
> >  >> it didn't cause any harm so far.
> >  >
> >  > Should I open a bug for it, or you can fix it?
> >
> > I can fix it but I just found out that portage seems to ignore
> > pre_pkg_setup() hook anyway. Will need to talk to portage people if
> > that's feature or bug.
>
> Sorry, was wrong on this one. Hook works correctly. I've now fixed the
> typo in eclass.

Thanks.

Looking at bug#146647, why did you remove the java from the IUSE? I
don't think it is a clean to require programmer to define the
JAVA_PKG_OPT_USE before the inherit... Or you need to add a BIG FAT
WARNING at the eclass documentation/description.

And shouldn't the package append the USE fag (IUSE="${IUSE}
${JAVA_PKG_OPT_USE}") instead of replacing it?

And in order to solve the conflict that may introduce when several
eclasses overwrite the pre* functions, shouldn't you EXPORT_FUNCTIONS
them?

Best Regards,
Alon Bar-Lev.
-- 
gentoo-java@gentoo.org mailing list



  reply	other threads:[~2006-09-21  5:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15 17:07 [gentoo-java] generation-2 java eclass Alon Bar-Lev
2006-09-16 23:40 ` Vlastimil Babka
2006-09-20 10:07   ` Alon Bar-Lev
2006-09-20 20:31     ` Vlastimil Babka
2006-09-20 22:41       ` Vlastimil Babka
2006-09-21  5:05         ` Alon Bar-Lev [this message]
2006-09-21 15:42           ` William L. Thomson Jr.
2006-09-21 16:55             ` Alon Bar-Lev
     [not found]               ` <4512C781.7000709@serent.com>
2006-09-21 17:24                 ` Kurt Guenther
2006-09-21 17:34                   ` William L. Thomson Jr.
2006-09-21 17:58           ` Vlastimil Babka
2006-09-21 18:04             ` Alon Bar-Lev

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=9e0cf0bf0609202205l3b79649y93e87f84ab3cdc79@mail.gmail.com \
    --to=alon.barlev@gmail.com \
    --cc=caster@gentoo.org \
    --cc=gentoo-java@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