public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] EAPI 3 PMS Draft
Date: Tue, 17 Mar 2009 00:22:36 +0100	[thread overview]
Message-ID: <1237245756.4276.85.camel@localhost> (raw)
In-Reply-To: <20090316204717.699511f0@snowcone>

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


Thanks a lot for your work.

Am Montag, den 16.03.2009, 20:47 +0000 schrieb Ciaran McCreesh:
> I've got a very rough draft of what EAPI 3 might end up looking like,
> based upon discussion:
> 
>     http://github.com/ciaranm/pms/tree/eapi-3
> 
> Note that I will probably rebase and modifying the branch quite a bit,
> so if you don't know how to deal with that when using git, don't track
> it.
> 
> It should be one commit per feature, which makes it fairly easy to
> remove anything that ends up not making it, and very easy to see what's
> proposed, which currently looks like this:
> 
> * Introduce eapi 3
> * Rework tables for EAPI 3.
> * EAPI 3 has pkg_pretend.
> * EAPI 3 supports slot operator dependencies
> * EAPI 3 has use dependency defaults
> * PROPERTIES, DEFINED_PHASES mandatory in EAPI 3
> * EAPI 3 has a default src_install
> * EAPI 3 has controllable compression and docompress
> * EAPI 3 has dodoc -r
> * EAPI 3 requires doins support for symlinks
> * EAPI 3 bans || ( use? ( ... ) )
> * dohard and dosed banned in EAPI 3
> * doinclude, newinclude for EAPI 3
> * EAPI 3 supports .xz, .tar.xz
> * EAPI 3 has more econf arguments
> * EAPI 3 supports pkg_info on installed packages
> * USE is stricter in EAPI 3
> * Note that (+) won't work on USE_EXPAND etc things
> * AA, KV gone in EAPI 3
> 
> Still to work out:
> 
> * The exact details for the new USE restrictions. In particular, do we
>   want IUSE_IMPLICIT? We'll also need an accurate list of all
>   possible values for things like LINGUAS.
> 
> * The [use(+)] thing. For various really pesky reasons, there's no way
>   things like [video_cards_radeon(+)] can be expected to work when
>   applied against EAPIs before 3, but it can be made to work if we know
>   it'll only ever be applied against things with EAPI 3 or later. Is it
>   easier to just say it's never allowed, though?
> 
> * What's a doexample?


> 
> * What's default_src_install going to do? I've seen a load of
>   variations. It looks like our choices are between things that ignore
>   docs, making it largely worthless, or things that use a DOCS
>   variable, which Donnie hates (despite making extensive use of such
>   things himself in eclasses).
Well, we have distutils and gnome2 eclass using DOCS (to name a few,
short glep shows around 18 eclasses), so I'd say: if we go for a
default_src_install it needs surely DOCS.
If default_src_install should install some DOCS automatically, I'd like
to have a way to disable that behaviour without having to roll my own
src_install.
You forgot to mentioned that we probably also want that
default_src_configure/src_compile die when they try to `cd` to an
invalid ${S}.



> 
> * "Provide ebuilds a way to differentiate between updates and
>   removals". I suggested REPLACING_VERSIONS and REPLACED_BY_VERSION,
>   but I've not had any feedback on that.


> 
> * "Utility commands, even the ones that aren't functions, should die.".
>   Is Portage likely to be able to do this in the timeframe we're after?
I'd say this is a pretty isolated task even people without in-depth
portage knowledge can work on, so I guess it can be implemented.

> 
> * "Calling unpack on an unrecognised extension should be fatal, unless
>   --if-compressed is specified.". There've been questions on this, but
>   no obvious outrage. Is this in or out?
I'd vote for "in" here since I prefer defined behaviour over undefined
and people who want unpack to unpack not-packed files should state it
explicitly.

> 
> * I've left out killing off dohtml. Was a decision reached on that?
No.


> 
> * RDEPEND=DEPEND is still in. Again, was a decision reached?
No, but since repoman is already warning when no RDEPEND or DEPEND is
specified I guess most people want it to be explicit.


> 
> * xz is in, but do we really want to do that when there appears to be
>   nothing stable that can deal with xz? lzma going in was a mistake
>   caused by people being too eager here in exactly the same way they
>   were for making Portage handle xz...
> 
> * Am I to take it src_test is to remain in its current worthless state?
Yes, I'd like to see it enable by default as well, but we have to
discuss that further. So, not suited for a fast eapi release.


Btw, I put up a document explaining the changes in some detail here:
http://dev.gentoo.org/~dev-zero/docs/EAPI3.{rst,html}
(including references to bugs if any, etc.)
It is completely based on the spreadsheet we used earlier for
discussion. I'll finish it within the next days.

Cheers,
Tiziano


[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2009-03-16 23:23 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 20:47 [gentoo-dev] EAPI 3 PMS Draft Ciaran McCreesh
2009-03-16 22:59 ` Maciej Mrozowski
2009-03-16 23:09   ` Rémi Cardona
2009-03-16 23:20   ` Ciaran McCreesh
2009-03-16 23:26     ` Tomáš Chvátal
2009-03-16 23:35       ` Ciaran McCreesh
2009-03-17  0:05         ` Jorge Manuel B. S. Vicetto
2009-03-17  0:17           ` Ciaran McCreesh
2009-03-17  0:46   ` Thomas Anderson
2009-03-17  4:07     ` Nirbheek Chauhan
2009-03-16 23:22 ` Tiziano Müller [this message]
2009-03-16 23:51   ` [gentoo-dev] " Ryan Hill
2009-03-16 23:54     ` Ciaran McCreesh
2009-03-17  2:47       ` Ryan Hill
2009-04-23  5:32         ` Donnie Berkholz
2009-04-23  6:05           ` Nirbheek Chauhan
2009-03-17  4:45     ` Luca Barbato
2009-03-17  6:47   ` [gentoo-dev] " Ulrich Mueller
2009-03-17  8:15     ` Tiziano Müller
2009-03-17  8:57       ` Ulrich Mueller
2009-03-17 13:55         ` Ciaran McCreesh
2009-03-17 15:11           ` Ulrich Mueller
2009-03-17 15:23             ` Ciaran McCreesh
2009-03-17  8:21   ` Tiziano Müller
2009-03-17  7:50 ` Peter Volkov
2009-03-17  8:05   ` Ulrich Mueller
2009-03-17  8:19     ` Tiziano Müller
2009-03-17 13:54     ` Ciaran McCreesh
2009-03-17 13:55   ` Ciaran McCreesh
2009-04-09  1:12     ` Mart Raudsepp
2009-04-09 14:37       ` Ciaran McCreesh
2009-04-09 16:20         ` Mart Raudsepp
2009-04-09 16:25           ` Ciaran McCreesh
2009-04-11 18:56             ` Alistair Bush
2009-04-11 19:10           ` [gentoo-dev] " Ryan Hill
2009-04-09 16:21         ` [gentoo-dev] " Patrick Lauer
2009-04-09 16:29           ` Ciaran McCreesh
2009-04-09 17:13             ` Richard Freeman
2009-04-09 19:24               ` Tiziano Müller
2009-04-10 10:03         ` [gentoo-dev] " Christian Faulhammer
2009-04-11  3:54           ` James Rowe
2009-04-11 10:57             ` Marijn Schouten (hkBst)
2009-04-11 12:09               ` James Rowe
2009-04-11 19:08       ` [gentoo-dev] " Alistair Bush
2009-03-17 15:47 ` [gentoo-dev] " Ciaran McCreesh
2009-03-27  9:40 ` [gentoo-dev] " Fabian Groffen

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=1237245756.4276.85.camel@localhost \
    --to=dev-zero@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