From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6E72913888F for ; Thu, 22 Oct 2015 21:03:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF771E080C; Thu, 22 Oct 2015 21:03:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69760E0804 for ; Thu, 22 Oct 2015 21:03:16 +0000 (UTC) Received: from sf (host86-128-188-230.range86-128.btcentralplus.com [86.128.188.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: slyfox) by smtp.gentoo.org (Postfix) with ESMTPSA id 6F5CD340A02; Thu, 22 Oct 2015 21:03:13 +0000 (UTC) Date: Thu, 22 Oct 2015 22:03:05 +0100 From: Sergei Trofimovich To: mgorny@gentoo.org Cc: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] repoman: Finally deprecate base.eclass Message-ID: <20151022220305.70d1ba89@sf> In-Reply-To: <1444548200-3454-1-git-send-email-mgorny@gentoo.org> References: <1444548200-3454-1-git-send-email-mgorny@gentoo.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/+xr1zyah6n5TGmuv6X8A8h2"; protocol="application/pgp-signature" X-Archives-Salt: 43630094-403f-49f2-a12d-91b9e96ce006 X-Archives-Hash: dcaa5f7f0a603642b4cb2898ed3e0b00 --Sig_/+xr1zyah6n5TGmuv6X8A8h2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 11 Oct 2015 09:23:20 +0200 Micha=C5=82 G=C3=B3rny wrote: > Contributors are repeatedly adding base.eclass uses, so we should > finally make the deprecation formal, even at the cost of adding warnings > for some frequently used eclasses. >=20 > Signed-off-by: Micha=C5=82 G=C3=B3rny > --- > pym/repoman/checks/ebuilds/checks.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/pym/repoman/checks/ebuilds/checks.py b/pym/repoman/checks/eb= uilds/checks.py > index ae6d96e..a00d518 100644 > --- a/pym/repoman/checks/ebuilds/checks.py > +++ b/pym/repoman/checks/ebuilds/checks.py > @@ -409,6 +409,7 @@ class InheritDeprecated(LineCheck): > =20 > # deprecated eclass : new eclass (False if no new eclass) > deprecated_eclasses =3D { > + "base": False, > "bash-completion": "bash-completion-r1", > "boost-utils": False, > "distutils": "distutils-r1", > --=20 > 2.6.1 I would also suggest: - adding a @DEPRECATED documentation stanza right into base.eclass with a migration strategy link - and a ewarn/eqawarn call to flag all offenders and prevent new ebuilds to creep dependency back --=20 Sergei --Sig_/+xr1zyah6n5TGmuv6X8A8h2 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlYpTwwACgkQcaHudmEf86qn7wCfWxp/JEV89qRZl/r5cTo+d1wL xnQAn0ZKuiS8HEsVf6xlT/PhEd92kVkD =SOhI -----END PGP SIGNATURE----- --Sig_/+xr1zyah6n5TGmuv6X8A8h2--