From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.77)
	(envelope-from <gentoo-dev+bounces-53175-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1So7k3-0007r4-P3
	for garchives@archives.gentoo.org; Mon, 09 Jul 2012 06:46:43 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A969DE0552;
	Mon,  9 Jul 2012 06:46:30 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id B0181E0602
	for <gentoo-dev@lists.gentoo.org>; Mon,  9 Jul 2012 06:45:50 +0000 (UTC)
Received: from pomiocik.lan (178-37-171-8.adsl.inetia.pl [178.37.171.8])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: mgorny)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 2476E1B402E;
	Mon,  9 Jul 2012 06:45:48 +0000 (UTC)
Date: Mon, 9 Jul 2012 08:45:49 +0200
From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: dilfridge@gentoo.org
Subject: Re: [gentoo-dev] base.eclass
Message-ID: <20120709084549.28d3c8a5@pomiocik.lan>
In-Reply-To: <201207082340.35191.dilfridge@gentoo.org>
References: <4FF9C825.2060705@necoro.eu>
	<20120708221002.7accacb0@pomiocik.lan>
	<201207082340.35191.dilfridge@gentoo.org>
Organization: Gentoo
X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA256;
 boundary="Sig_/aLiyhcXHTc0UIqghV_3eta8"; protocol="application/pgp-signature"
X-Archives-Salt: edcfcbb2-d73c-436c-8abb-61e975947458
X-Archives-Hash: fa74b376e86562b99859689f8f74c05a

--Sig_/aLiyhcXHTc0UIqghV_3eta8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 8 Jul 2012 23:40:29 +0200
"Andreas K. Huettel" <dilfridge@gentoo.org> wrote:

> Am Sonntag 08 Juli 2012, 22:10:02 schrieb Micha=C5=82 G=C3=B3rny:
> > On Sun, 08 Jul 2012 19:49:25 +0200
> >=20
> > Ren=C3=A9 Neumann <lists@necoro.eu> wrote:
> > > Hi all,
> > >=20
> > > I'd like just to receive a short clarification about the 'status'
> > > of base.eclass: Is this eclass expected to be available
> > > everywhere, i.e. should each eclass make sure it imports and
> > > incorporates it. Or is it just an eclass like the others and
> > > ebuilds should make sure they inherit it if needed?
> >=20
> > No. It is unmaintained, has serious design flaws and it simply
> > should not be used anywhere. At least in EAPI !=3D [01].
>=20
> Please clarify this.=20
>=20
> A lot of (inheriting eclasses and) packages depend on features
> provided by base.eclass (e.g., PATCHES), which are pretty neat and
> which I would sorely miss. So I would certainly object to deprecating
> base.eclass, unless its relevant functionality is only moving to a
> better place.

base.eclass is randomly exporting non-requested, non-wanted phase
functions colliding with other inherited eclasses. It's just
the lexical order of inherits what stops mayhem from happening.

In other words, base.eclass is only suitable if you are expecting to
export *all* phase functions which simply doesn't happen in eclasses.

For example, if distutils used base eclass, every VCS eclass inherited
before it would be ignored (due to src_unpack() redefined to default
one for no good reason).

--=20
Best regards,
Micha=C5=82 G=C3=B3rny

--Sig_/aLiyhcXHTc0UIqghV_3eta8
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iJwEAQEIAAYFAk/6fh4ACgkQfXuS5UK5QB1URwP+KVp3FuvEt7MdQuod2H/KtJRc
AVxmvjv2FiF+e2mzVcokdtotwoXw9ieuUmoJD8CLmOZJrwSx1qUrRTpUJe/MFkT/
/zfg1JiwqZYoKPH2wqhX9kI4JNDpRXHnsm0vJTFHozJL/8mbEP7k0YPoEqKXwOP0
hj2Vu867fCZN/fI7uww=
=VOi4
-----END PGP SIGNATURE-----

--Sig_/aLiyhcXHTc0UIqghV_3eta8--