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.60) (envelope-from ) id 1Lh3uv-00058n-Ob for garchives@archives.gentoo.org; Tue, 10 Mar 2009 15:30:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 777F6E039D; Tue, 10 Mar 2009 15:30:15 +0000 (UTC) Received: from mail-ew0-f173.google.com (mail-ew0-f173.google.com [209.85.219.173]) by pigeon.gentoo.org (Postfix) with ESMTP id 10C73E039D for ; Tue, 10 Mar 2009 15:30:14 +0000 (UTC) Received: by ewy21 with SMTP id 21so1130079ewy.34 for ; Tue, 10 Mar 2009 08:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=g/KR0WhCXrHEMgnd6aINZ+llPAKkn0iroZGS1Cq9moQ=; b=YYfJspqXizDtXkXEbvqeyRLNp54Sivs+n6hBGtJbHjjfAkn256I+WqeZ9H4kMjdGqK +VZCHGCOX33O+bb6uKqljPCHSd14FK5q8jRD/IVwZyo9t3BPWGUXeFLF81SVd8AH/3jn Lf5CSLrzvcEHcB3X3nXTD3gQKhktDokpWwweE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=n/pRhoutPiRVXVxLKy5A7Mus6o4H/9YnOL72Wy/nhF0hd+wkdxj2QI+9Odrb7Hlw/U 188TrspyO+DCZUIgQzLqaNjX8vCPbUKF2HERg3hf7SScBUTQBeTxEMBZRSzVa35gZxu1 EndgYli/FAfsZ0gjCVSHoflMIDfnYbmKR78xw= Received: by 10.216.29.84 with SMTP id h62mr2792942wea.122.1236699014237; Tue, 10 Mar 2009 08:30:14 -0700 (PDT) Received: from snowcone (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id k7sm9766779nfh.35.2009.03.10.08.30.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Mar 2009 08:30:13 -0700 (PDT) Date: Tue, 10 Mar 2009 15:30:06 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Message-ID: <20090310153006.0dd1c419@snowcone> In-Reply-To: <1236498557.6854.51.camel@neuromancer> References: <1236498557.6854.51.camel@neuromancer> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; x86_64-pc-linux-gnu) 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="Sig_/Ky3N3XuBgv8SsPKTvjt9De8"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: cc50d7b2-c9d2-4bd8-861d-4ab507b41519 X-Archives-Hash: c760b1300ad5056a7e9cde5f18928359 --Sig_/Ky3N3XuBgv8SsPKTvjt9De8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 08 Mar 2009 08:49:16 +0100 Tiziano M=C3=BCller wrote: > With eapis 1 and 2 we introduced nice features but also a couple of > new problems. One of them are the use dependencies when the package > you depend on doesn't have the use flag anymore (see [1] for an > example). Here's another one to consider: If S=3D is wrong (which it often is, for packages with icky tarballs), src_configure and src_compile won't error out. These days this isn't a huge deal, because your custom src_install will probably fail. But if we're introducing a default src_install, it will instead see no Makefile and just do nothing, resulting in an empty package being installed. Currently, at the start of src_configure, the package manager does a cd to ${S} if ${S} exists, and to ${WORKDIR} otherwise. I'd like to propose that ${S} not existing should instead be an error if either of the following conditions are met: * ${A} is non-empty * Any of src_unpack, src_configure, src_compile or src_install is a defined phase. Ebuilds where this would trigger a false positive would have to specify S=3D${WORKDIR}. --=20 Ciaran McCreesh --Sig_/Ky3N3XuBgv8SsPKTvjt9De8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm2h4EACgkQ96zL6DUtXhHhnACfb8QQeg4efpyEv6ibSpRB5NRQ yhkAn2LJrEMfYpv+ndp5A9l1vrLMELIN =fdL6 -----END PGP SIGNATURE----- --Sig_/Ky3N3XuBgv8SsPKTvjt9De8--