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 C76081381F3 for ; Wed, 29 May 2013 14:52:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39D38E09DF; Wed, 29 May 2013 14:51:58 +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 3625AE09CB for ; Wed, 29 May 2013 14:51:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 76DEA33E0DB for ; Wed, 29 May 2013 14:51:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.116 X-Spam-Level: X-Spam-Status: No, score=-1.116 tagged_above=-999 required=5.5 tests=[AWL=-0.044, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.07, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XyG03YtnPczI for ; Wed, 29 May 2013 14:51:49 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B17A33E10D for ; Wed, 29 May 2013 14:51:47 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uhhiz-0005rU-ID for gentoo-dev@gentoo.org; Wed, 29 May 2013 16:51:37 +0200 Received: from ppp118-209-27-39.lns20.mel4.internode.on.net ([118.209.27.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 16:51:37 +0200 Received: from kensington by ppp118-209-27-39.lns20.mel4.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 16:51:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Michael Palimaka Subject: [gentoo-dev] Re: PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE Date: Thu, 30 May 2013 00:51:23 +1000 Message-ID: References: <51A37D3D.3070808@gentoo.org> 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: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-209-27-39.lns20.mel4.internode.on.net User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51A37D3D.3070808@gentoo.org> X-Archives-Salt: 97d5df13-9b87-444d-9c70-d2b21dd102c6 X-Archives-Hash: a2bd04dbd9797b6ad76074e363dbff97 On 28/05/2013 01:35, Jonathan Callen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > 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 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCgAGBQJRo309AAoJELHSF2kinlg4dVcP/2t3v1t8CId8jK/c4VG8HLWL > zTEvTI3d8wQILuHydI9VkOZllo3dPWhhUhg/1qJjwEXXnKQXiYNUiVzbtwdkGro/ > OlkCrrpDstHgawHiovIZjgyEG9Y+Nz2Z5nKorZIAMFSFepaFsIkihVR3VkeHiG9Q > 7XOOVaH8mqGuj7JWZNqikCmB11a6t08jVM68tzwtTZUuil1IRE2qjO5akMPczsvk > 3ndoMsv5hQwUE4wmmTH4ffiz+wp/JUylK2Ypy6p/UWlMw+oq8IusyvQdKztF2rU4 > SyjnEOHcPtbLXMA24NHSAUov5L3xVcSu4he5A+QnY0Ghn0dZ7Wbk72aRZQP+MOk+ > e18tdPRaXE35ux8s0ogLeuD04lju6z5/esJbP8LF8H6loiKCURxVOfYEhUugIMIc > ihb6h4o4cflz2tYV6USOHxUQ6pA78X7ftXGJhOOR1sf1/2GZcg7ZQvD0WqjNLbAo > U52yQl3/bKMVpezYLhkLxgzmRAdwbBdBFdiav8dX+QNYabLPG/0y6mkqK0pc59sS > Lsse/dXCPrxfI6MVbsSQAaFt4s/YNrf9NLabdPHShRlWX8pRc16feQFb7FoTCmWe > BzwBwG63Mvw2OOS0GrXIfXdFs9klbezoZ8Ql8Zb3CIZPWaBPAOYfCqZDHkDDAyQL > UYQyPJdIntHmxKbtMQr9 > =frSU > -----END PGP SIGNATURE----- > > Would it be possible to add repoman checks for this, and other common failures like missing PYTHON_USEDEP?