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 674071384B4 for ; Mon, 23 Nov 2015 10:51:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E36321C0AD; Mon, 23 Nov 2015 10:51:48 +0000 (UTC) Received: from a1www.kph.uni-mainz.de (a1www.kph.uni-mainz.de [134.93.134.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5733221C081 for ; Mon, 23 Nov 2015 10:51:47 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id tANApjJG030284 for ; Mon, 23 Nov 2015 11:51:45 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id tANApjWD032687; Mon, 23 Nov 2015 11:51:45 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id tANApjUM032683; Mon, 23 Nov 2015 11:51:45 +0100 Message-ID: <22098.61376.926913.588159@a1i15.kph.uni-mainz.de> Date: Mon, 23 Nov 2015 11:51:44 +0100 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [EAPI 7] The future goals for PORTDIR, ECLASSDIR and... LICENSEDIR? In-Reply-To: <20151122092733.50da46bc.mgorny@gentoo.org> References: <20151121223657.494e63b0.mgorny@gentoo.org> <565102EF.4040003@gentoo.org> <20151122092733.50da46bc.mgorny@gentoo.org> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="pgp+signed+WSRmnd98nJiJnVz"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 7003c97d-f9e4-4755-960d-5d2597094bbd X-Archives-Hash: 9c391c04448b04dc1b7278668e15cc87 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --pgp+signed+WSRmnd98nJiJnVz Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable >>>>> On Sun, 22 Nov 2015, Micha=B3 G=F3rny wrote: > On Sat, 21 Nov 2015 18:49:03 -0500 > Ian Stakenvicius wrote: >> All told, I think i'm in favour of banning the variables, and >> potentially providing getter functions that would output the path >> of these files if they need to be accessed -- '$(get=5Feclasspath >> [name])' or $(get=5Flicensepath [name]) or the like. I don't know i= f >> these could be implemented in-eclass or if they would be something >> that would have to be added to EAPI7..=3F The more I think about the idea of having a LICENSEDIR containing symlinks, the less I like it. It would add the overhead of creating the dir to all ebuilds, whereas it would be used in a handful of cases only. Also the symlinks won't be permanent, so postinst messages like "read the license at ${LICENSEDIR}/GPL-2" cannot be used, unless the ebuild would follow the link (e.g. using readlink) which seems clumsy. So IMO a function like get=5Flicense=5Fpath is the better solution here= =2E > And if I understand your idea correctly, get=5Flicensepath would stil= l > not work for binary packages. Is there a scenario where LICENSEDIR would work, but the function would not=3F Ulrich --pgp+signed+WSRmnd98nJiJnVz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBCAAGBQJWUu+4AAoJEMMJBoUcYcJzeagH/2aDrBBISLVanDT1GUcQ69Y4 y95VLnRCycnBKgtAOGn3pqrHaobb04cCmcLqOSWHF0aUa1pPVkBfZNkKundvAXdn aNpy7wnjwGXwePq1FEcWTEWCJruskIz2KQj25rvRG0BvuZlJMWfNdi36Cscnw6uv mwkhPhNFfl9cu3nhl3gHOLjKQ0QREJrxPC3XIEEyRn1UMIumFAvoC03YmgknNMsQ hzVtF1nM87qkngkViovgJdTNj0pVHBOFJcCvgG7T81cwZcZk33mQBOxo0pWwtbmR dGW7revmGDOSlZXhTy40deurQ4ui6GIBdijOXsW/VSvI28O4e81GXwopCPX5Isw= =7K59 -----END PGP SIGNATURE----- --pgp+signed+WSRmnd98nJiJnVz--