Gentoo Archives: gentoo-dev

From: Jonathan Callen <abcd@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: python-distutils-ng.eclass: allow useflag dependencies for python
Date: Thu, 06 Sep 2012 23:09:34
Message-Id: 50492CD7.1010302@gentoo.org
In Reply to: Re: [gentoo-dev] python-distutils-ng.eclass: allow useflag dependencies for python by Brian Harring
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 On 09/06/2012 05:27 PM, Brian Harring wrote:
5 > On Thu, Sep 06, 2012 at 10:44:34PM +0200, hasufell wrote:
6 >> - dep_str="dev-lang/python:${dep_str: -3}" ;; +
7 >> dep_str="dev-lang/python:${dep_str: -3}${_PYTHON_USE}" ;;
8 > should I ask wth the space is for?
9 >
10
11 Without the space, ${dep_str:-3} means "${dep_str} unless empty or
12 unset, otherwise 3"; with the space, ${dep_str: -3} (can also be
13 written ${dep_str:(-3)}) means "the last 3 characters of ${dep_str}".
14 -----BEGIN PGP SIGNATURE-----
15 Version: GnuPG v2.0.19 (GNU/Linux)
16 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
17
18 iQIcBAEBCgAGBQJQSSzXAAoJELHSF2kinlg4UMUP/1xlAEhmy9JfDp//IPssBZ6g
19 SsO1eNbPjFtU8bFAWDAcbCMQ4c4bYB7xeAYCwn90qccpYiyOqftWCRiF5CPdou0T
20 ntUp2dpPkps1NkuuxSEwfk2jr91s38ri8GA3WOlT4AjADhjjjpIQjn7ib9SVYKVj
21 ZywHrwxjpHlkR7SaALAriwg6hkkrdtNKVtqnWyGKfx570e0rGJk+EK5SbnwtzHaD
22 ttmKkSFcHrkyPamTrmLa2udjqnnVMi0wuRi8IC5NP5AgF3osj91fqq1waBpViXxL
23 UVB397OpsHwXxP5uAWJ6O8eFPviCq8HcstRCg+XXnBIdyQYQcVB80aA+r+kfqfjI
24 d2WGBS5wNwYILGW1L5S5z5tcGibJKkraCvwI2vhNYItzL43X2oBuuiwVKo7u0cd2
25 P04g3vwBAfcMvGKo/GFWyUGvsLrdl9Fcnmiyv86XvJSo8guhx0NO628x/4uFY+uU
26 /IsbgXcWCC48HLmLqypE+kBVofkR7nWGNecEvHlgTe/4oLzpyJzOj/5bgTUbioW+
27 w9Rj/0S3K/GOYYfbBjvsQKH3vSuYqPP2/6KuG5N/r98lCtkaRujfxj7t7NlSqRT0
28 1XGr9Y+YZlE6YBQ/JjrfsOH9uotohvutY2aIxUlfe1MFjbixI3Q7p/9EWaZ89Cwq
29 8saYFqjaWfe9lHmwxxbJ
30 =x+TM
31 -----END PGP SIGNATURE-----