Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Can't install cairosvg
Date: Wed, 01 Jun 2016 14:48:09
Message-Id: nimsid$dvp$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Can't install cairosvg by Neil Bothwick
1 On 2016-06-01, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Tue, 31 May 2016 22:05:24 +0000 (UTC), Grant Edwards wrote:
3 >
4 >> emerge: there are no ebuilds to satisfy
5 >> "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(-)]".
6 >> (dependency required by "media-gfx/cairosvg-1.0.7::gentoo" [ebuild])
7 >> (dependency required by "cairosvg" [argument])
8 >>
9 >> I've tried dozens of settings for PYTHON_TARGETS and
10 >> PYTHON_SINGLE_TARGET and have gotten exactly nowhere. Is there an
11 >> English translation of the emerge error message available?
12 >
13 > It appears to be complaining about the python settings for cairocffi,
14 > what does eix -v cairocffi show?
15
16 # eix -v cairocffi
17 * dev-python/cairocffi
18 Available versions: ~0.5.3-r1 ~0.5.4 ~0.6
19 IUSE (all versions): doc test PYTHON_TARGETS="pypy python2_7 python3_3 python3_4"
20 Installed versions: Version: 0.7.2
21 Date: 05:30:14 PM 05/31/2016
22 USE: -doc -test PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3 -python3_5"
23 DEPEND: dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-lang/python-2.7.5-r2:2.7 dev-lang/python:3.4 >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
24 RDEPEND: >=dev-python/cffi-1.1.0:0/1.5.2=[python_targets_python2_7(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),python_targets_python3_4(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/cffi-1.1.0:0/1.5.2=[python_targets_python2_7(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),python_targets_python3_4(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/xcffib-0.3.2[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] x11-libs/cairo:0/0= x11-libs/gdk-pixbuf[jpeg] >=dev-lang/python-2.7.5-r2:2.7 dev-lang/python:3.4 >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_python2_7(-),
25 -python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
26 EAPI: 5
27 Recommendation: Downgrade
28 Homepage: https://github.com/SimonSapin/cairocffi
29 Find open bugs: https://bugs.gentoo.org/buglist.cgi?quicksearch=dev-python%2Fcairocffi
30 Description: CFFI-based drop-in replacement for Pycairo
31 License: BSD
32
33 Yep. The problem appears to be that cairocffi is not installed for
34 3.5. so python target 3.5 has to be disable for things that depend on
35 cairocffi.
36
37 So this in packagtes.use allows cairosvg to install:
38
39 media-gfx/cairosvg PYTHON_TARGETS: -python3_5
40
41 I'm still trying to figure out why cairocffi won't install for 3.5.
42 It's ebuild seems to think it should -- this is from
43 cairocffi-0.7.2.ebuild:
44
45 PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
46
47 And here's what's in make.conf:
48
49 PYTHON_TARGETS="python2_7 python3_4 python3_5"
50
51 But when I install cairocffi:
52
53 # emerge -av cairocffi
54
55 These are the packages that would be merged, in order:
56
57 Calculating dependencies... done!
58 [ebuild R ] dev-python/cairocffi-0.7.2::gentoo USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) -python3_3 (-python3_5)" 0 KiB
59
60 Total: 1 package (1 reinstall), Size of downloads: 0 KiB
61
62 I don't actually _need_ cairocffi/cairosvg for any particular Python
63 version, since all I wanted them for was to install weasyprint (and I
64 don't care which version of Python it uses).
65
66 But I'd still like to understand what's going on.
67
68 --
69 Grant Edwards grant.b.edwards Yow! This PIZZA symbolizes
70 at my COMPLETE EMOTIONAL
71 gmail.com RECOVERY!!