On 2016-05-31, Willie M <matthews.willi...@gmail.com> wrote:
> On 05/31/2016 03:05 PM, Grant Edwards wrote:
>> I can't install cairosvg. After an hour of googling and beating my
>> head against the wall, I still have absolutely no idea why:
>> 
>>  # eselect python list
>>  Available Python interpreters:
>>    [1]   python2.7 *
>>    [2]   python3.4
>>    [3]   python3.5
>> 
>>  # grep PYTHON /etc/portage/make.conf
>>  PYTHON_TARGETS="python2_7 python3_4 python3_5"
>> 
>>  # emerge -av cairosvg
>> 
>>  These are the packages that would be merged, in order:
>> 
>>  Calculating dependencies... done!
>> 
>>  emerge: there are no ebuilds to satisfy 
>> "dev-python/cairocffi[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]".
>>  (dependency required by "media-gfx/cairosvg-1.0.7::gentoo" [ebuild])
>>  (dependency required by "cairosvg" [argument])
>> 
>> I've tried dozens of settings for PYTHON_TARGETS and
>> PYTHON_SINGLE_TARGET and have gotten exactly nowhere.  Is there an
>> English translation of the emerge error message available?
>
> I only have "python2_7 python3_4" and it will emerge just fine and I
> have python2.7 selected like you do.

I finally installed it for python2_7 only, and that worked.

But how is one supposed to know what versions of python are supported?
In the cairo-1.0.7.ebuild file it says this:

  PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )

So I assumed that it should install for 2.7, 3.4, and 3.5.
  
And why the complaints about cairocffi?  It installs just fine on its
own for 2.7, 3.4, 3.5.
  
-- 
Grant

  






Reply via email to