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 7963B138010 for ; Thu, 6 Sep 2012 23:09:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CD0921C020; Thu, 6 Sep 2012 23:09:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 325CBE07C5 for ; Thu, 6 Sep 2012 23:08:11 +0000 (UTC) Received: from [192.168.1.61] (pool-173-71-200-251.clppva.fios.verizon.net [173.71.200.251]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: abcd) by smtp.gentoo.org (Postfix) with ESMTPSA id 6246333D383 for ; Thu, 6 Sep 2012 23:08:10 +0000 (UTC) Message-ID: <50492CD7.1010302@gentoo.org> Date: Thu, 06 Sep 2012 19:08:07 -0400 From: Jonathan Callen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120808 Thunderbird/14.0 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 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: python-distutils-ng.eclass: allow useflag dependencies for python References: <50490B32.5010507@gentoo.org> <20120906212741.GH18495@localhost> In-Reply-To: <20120906212741.GH18495@localhost> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: f5d8c2fe-43b5-48f5-92a6-14ffc80e2761 X-Archives-Hash: 5733640c76b19716679a2ecb3bcc01a9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 09/06/2012 05:27 PM, Brian Harring wrote: > On Thu, Sep 06, 2012 at 10:44:34PM +0200, hasufell wrote: >> - dep_str="dev-lang/python:${dep_str: -3}" ;; + >> dep_str="dev-lang/python:${dep_str: -3}${_PYTHON_USE}" ;; > should I ask wth the space is for? > Without the space, ${dep_str:-3} means "${dep_str} unless empty or unset, otherwise 3"; with the space, ${dep_str: -3} (can also be written ${dep_str:(-3)}) means "the last 3 characters of ${dep_str}". -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJQSSzXAAoJELHSF2kinlg4UMUP/1xlAEhmy9JfDp//IPssBZ6g SsO1eNbPjFtU8bFAWDAcbCMQ4c4bYB7xeAYCwn90qccpYiyOqftWCRiF5CPdou0T ntUp2dpPkps1NkuuxSEwfk2jr91s38ri8GA3WOlT4AjADhjjjpIQjn7ib9SVYKVj ZywHrwxjpHlkR7SaALAriwg6hkkrdtNKVtqnWyGKfx570e0rGJk+EK5SbnwtzHaD ttmKkSFcHrkyPamTrmLa2udjqnnVMi0wuRi8IC5NP5AgF3osj91fqq1waBpViXxL UVB397OpsHwXxP5uAWJ6O8eFPviCq8HcstRCg+XXnBIdyQYQcVB80aA+r+kfqfjI d2WGBS5wNwYILGW1L5S5z5tcGibJKkraCvwI2vhNYItzL43X2oBuuiwVKo7u0cd2 P04g3vwBAfcMvGKo/GFWyUGvsLrdl9Fcnmiyv86XvJSo8guhx0NO628x/4uFY+uU /IsbgXcWCC48HLmLqypE+kBVofkR7nWGNecEvHlgTe/4oLzpyJzOj/5bgTUbioW+ w9Rj/0S3K/GOYYfbBjvsQKH3vSuYqPP2/6KuG5N/r98lCtkaRujfxj7t7NlSqRT0 1XGr9Y+YZlE6YBQ/JjrfsOH9uotohvutY2aIxUlfe1MFjbixI3Q7p/9EWaZ89Cwq 8saYFqjaWfe9lHmwxxbJ =x+TM -----END PGP SIGNATURE-----