From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3PDlL6a029301 for ; Mon, 25 Apr 2005 13:47:21 GMT Received: from [62.254.189.226] (helo=snowdrop) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DQ3vr-0007pF-4G for gentoo-dev@lists.gentoo.org; Mon, 25 Apr 2005 13:47:27 +0000 Received: from localhost ([127.0.0.1] helo=snowdrop) by snowdrop with esmtp (Exim 4.43) id 1DQ3vV-0003Rx-VR for gentoo-dev@lists.gentoo.org; Mon, 25 Apr 2005 14:47:06 +0100 Date: Mon, 25 Apr 2005 14:47:03 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Per-category and per-package eclasses Message-ID: <20050425144703.5fb0233e@snowdrop> In-Reply-To: <426CE220.40409@gentoo.org> References: <200504251343.52450@zippy.emcb.local> <46059ce10504250608421915ff@mail.gmail.com> <426CE220.40409@gentoo.org> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Signature_Mon__25_Apr_2005_14_47_03_+0100_Ljbtr1SJ=4u85cao"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Archives-Salt: cf8c37fa-6e76-4b39-8a09-32c51edf03fa X-Archives-Hash: 3bd8e1a0638df91e631a97665b8d3250 --Signature_Mon__25_Apr_2005_14_47_03_+0100_Ljbtr1SJ=4u85cao Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 25 Apr 2005 15:27:12 +0300 Marius Mauch wrote: | Dan Meltzer wrote: | > I can see the use for a category one, but I can see no point for a | > package-local one, if you're going to have it specific for one | > package, why not just put it in the ebuild, and have no eclass at | > all? |=20 | Actually I'd say the opposite: There is definitely a use for=20 | package-local eclasses, however I don't see the point for | category-local eclasses (especially as that would very funny to get | it working). Example for package-local eclasses? Whenever you define a | function in an ebuild that isn't version specific. Category-specific: app-vim/eclass/vim-plugin.eclass Package-specific: any package with a non-trivial build system that doesn't change too much between versions. Making it work is 'easy', just make inherit first try /cat/pkg/eclass/ then /cat/eclass/ then finally /eclass/ . --=20 Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Signature_Mon__25_Apr_2005_14_47_03_+0100_Ljbtr1SJ=4u85cao Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCbPTZ96zL6DUtXhERAsG+AJ0fsF2AZA1Drsend7M7uM3U/6BD1wCdGrHe 6SOJg4KbFrrhmy+2GLi4A+k= =RWYj -----END PGP SIGNATURE----- --Signature_Mon__25_Apr_2005_14_47_03_+0100_Ljbtr1SJ=4u85cao-- -- gentoo-dev@gentoo.org mailing list