On 28/07/13 05:07 PM, Walter Dnes wrote: > On Sat, Jul 27, 2013 at 09:59:38AM +0200, Ulrich Mueller wrote >>>>>>> On Sat, 27 Jul 2013, Leho Kraav wrote: >> >>> php5-5 vs python2_7 >>> Why, how did that happen? >> >> Using the hyphen is cleaner, because the underscore is used as the >> separator for USE_EXPAND. >> >> (OTOH, as long a nobody will introduce a PYTHON_TARGETS_PYTHON2 >> variable, python2_7 will also work fine.) > > Out of sheer curiousity, why does make.conf need all 3 of... > > PYTHON_SINGLE_TARGET="python2_7"
Because some packages only accept a single version of Python. e.g. Blender, systemd. I think this also applies to the default Python version for packages that install executables. > PYTHON_TARGETS="python2_7" Because the Python ABI [*] requires different libraries to be built for different versions and installed in different places. /usr/lib/python?.? [*] not really a binary interface, but let's call it that > USE_PYTHON="2.7" This is deprecated, AFAIK and used for old packages that do not support PYTHON_TARGETS. (something to do with EAPI or eclass or something like that)
signature.asc
Description: OpenPGP digital signature