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 00F621381F3 for ; Mon, 27 May 2013 19:51:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 624CFE0B15; Mon, 27 May 2013 19:51:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FE41E0AF0 for ; Mon, 27 May 2013 19:51:37 +0000 (UTC) Received: from [192.168.1.33] (240.Red-2-137-212.dynamicIP.rima-tde.net [2.137.212.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id 02E2233E0A3 for ; Mon, 27 May 2013 19:51:35 +0000 (UTC) Message-ID: <1369684291.21170.4.camel@localhost> Subject: [gentoo-dev] Re: [gentoo-dev-announce] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE From: Pacho Ramos To: gentoo-dev@lists.gentoo.org Date: Mon, 27 May 2013 21:51:31 +0200 In-Reply-To: <51A37D3D.3070808@gentoo.org> References: <51A37D3D.3070808@gentoo.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.2 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-Transfer-Encoding: 8bit X-Archives-Salt: 78aae6a1-557f-41d8-8393-0c370a89c01b X-Archives-Hash: 48e08175a8a923bc9c18ca008fab0f03 El lun, 27-05-2013 a las 11:35 -0400, Jonathan Callen escribió: > A quick reminder for anyone using python-r1.eclass or > python-single-r1.eclass: > > These eclasses provide a ${PYTHON_REQUIRED_USE} variable that should > be included in REQUIRED_USE under the same USE conditionals (if any) > that ${PYTHON_DEPS} is included in DEPEND/RDEPEND. > > For example, if your ebuild has: > > RDEPEND=" > python? ( ${PYTHON_DEPS} > " > > then you should also have: > > REQUIRED_USE=" > python? ( ${PYTHON_REQUIRED_USE} ) > " > > And if your ebuild just has: > > RDEPEND="${PYTHON_DEPS}" > > then you should also have: > > REQUIRED_USE="${PYTHON_REQUIRED_USE}" > > Failure to include these in REQUIRED_USE may cause the eclass to die > very late in the build process. > > Thank you, > > Jonathan Callen Couldn't a repoman check be added for warning when an ebuild using that eclasses don't set REQUIRED_USE at all?