Gentoo Archives: gentoo-user

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is this a dependency bug?
Date: Mon, 27 Feb 2017 13:35:10
Message-Id: 20170227163453.f8c752ca8e0b38cc194bcb98@gentoo.org
In Reply to: [gentoo-user] Is this a dependency bug? by Grant Edwards
1 On Mon, 20 Feb 2017 17:45:28 +0000 (UTC) Grant Edwards wrote:
2 > I installed weasyprint-0.29, but it won't run:
3 >
4 > $ weasyprint
5 > Traceback (most recent call last):
6 > File "/usr/lib/python-exec/python2.7/weasyprint", line 6, in <module>
7 > from pkg_resources import load_entry_point
8 > [...]
9 > File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
10 > raise DistributionNotFound(req, requirers)
11 > pkg_resources.DistributionNotFound: The 'CairoSVG<2,>=1.0.20' distribution was not found and is required by WeasyPrint
12 >
13 > I have cairosvg installed, but apparently it's not recent enough (1.07 vs. 1.20)?
14 >
15 > $ emerge --search cairosvg
16 >
17 > * media-gfx/cairosvg
18 > Latest version available: 1.0.7
19 > Latest version installed: 1.0.7
20 > Size of files: 29 KiB
21 > Homepage: http://cairosvg.org/
22 > Description: A simple cairo based SVG converter with support for PDF, PostScript and PNG formats
23 > License: LGPL-3
24 >
25 > Is this a dependency bug in the weasyprint ebuild?
26
27 Yes, please report on bugzilla.
28
29
30 Best regards,
31 Andrew Savchenko