1 |
commit: 049fe45baceb3654fc454f21e3d0a1ea4578206e |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 09:34:11 2017 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 09:35:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=049fe45b |
7 |
|
8 |
dev-python/weasyprint: Version Bump |
9 |
|
10 |
Now depends on packages to pass tests fixing bug 580536. |
11 |
|
12 |
Now depends on x11-libs/gdk-pixbuf to enable support for additional |
13 |
image formats. |
14 |
|
15 |
Correctly depend on >=media-gfx/cairosvg-1.0.20 fixing bug 620286. |
16 |
|
17 |
Bug: 580536, 620286 |
18 |
|
19 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
20 |
|
21 |
dev-python/weasyprint/Manifest | 1 + |
22 |
dev-python/weasyprint/weasyprint-0.39.ebuild | 50 ++++++++++++++++++++++++++++ |
23 |
2 files changed, 51 insertions(+) |
24 |
|
25 |
diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest |
26 |
index 8ee4a269961..8ad2e6805a8 100644 |
27 |
--- a/dev-python/weasyprint/Manifest |
28 |
+++ b/dev-python/weasyprint/Manifest |
29 |
@@ -1 +1,2 @@ |
30 |
DIST WeasyPrint-0.29.tar.gz 1418105 SHA256 4edf5538b330be3e559f006db76a5a948c25f3792746aafb20f2a9d6185f0e71 SHA512 3875240b7bed6991372f6a45f82d32f0d2f3add29ab1937001c5559368405737d185aa85871358730989a91ee6b17e62cc21535735c884c47705d0d2d38bb167 WHIRLPOOL cbefe32d42e5bbc26993b58f88b2ebc26291579dd717805c8fc9c54d41fe69b3a05eb8f301e9c21b426766404c9a683cce6c115ed8193456d17c83b44c8513a9 |
31 |
+DIST WeasyPrint-0.39.tar.gz 386613 SHA256 ed0be652bd396a9b818f015c8bc5fb32040864ee86cda6f0160cdef1dd4f42d0 SHA512 668eed8c4f2502b3412166ea8e7b15b838b971b175ac3ec2370097b83557070684fa7bc9c62c3222056294093781649f263aba756091fb87d50ceea339e32e43 WHIRLPOOL d7b987dbef301346a83418f7a8796f0d7c3076c5b8aadc66da1779e86198864e8c6c91ea3edc7d3ebbe8820a0e5a73b11c07a7cf1b7b7a9a9c3aeebb900d7490 |
32 |
|
33 |
diff --git a/dev-python/weasyprint/weasyprint-0.39.ebuild b/dev-python/weasyprint/weasyprint-0.39.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..0c87b9ee57e |
36 |
--- /dev/null |
37 |
+++ b/dev-python/weasyprint/weasyprint-0.39.ebuild |
38 |
@@ -0,0 +1,50 @@ |
39 |
+# Copyright 1999-2017 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI="6" |
43 |
+ |
44 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
45 |
+ |
46 |
+inherit distutils-r1 |
47 |
+ |
48 |
+DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" |
49 |
+MY_PN="WeasyPrint" |
50 |
+MY_P="${MY_PN}-${PV}" |
51 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
52 |
+HOMEPAGE="http://weasyprint.org https://github.com/Kozea/WeasyPrint" |
53 |
+ |
54 |
+LICENSE="BSD" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64" |
57 |
+IUSE="jpeg jpeg2k test tiff" |
58 |
+ |
59 |
+# Note: specific subslot of pango since it inlines some of pango headers. |
60 |
+RDEPEND=" |
61 |
+ x11-libs/cairo |
62 |
+ x11-libs/gdk-pixbuf[jpeg?,jpeg2k?,tiff?] |
63 |
+ x11-libs/pango:0/0 |
64 |
+ >=dev-python/cairocffi-0.5[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/cssselect-0.6[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/lxml-3.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/pyphen-0.8[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/tinycss2-0.5[${PYTHON_USEDEP}] |
71 |
+ >=media-gfx/cairosvg-1.0.20[${PYTHON_USEDEP}] |
72 |
+" |
73 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
74 |
+ test? ( |
75 |
+ ${RDEPEND} |
76 |
+ dev-python/pytest-cov[${PYTHON_USEDEP}] |
77 |
+ dev-python/pytest-flake8[${PYTHON_USEDEP}] |
78 |
+ dev-python/pytest-isort[${PYTHON_USEDEP}] |
79 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
80 |
+ media-fonts/ahem |
81 |
+ ) |
82 |
+" |
83 |
+ |
84 |
+S="${WORKDIR}/${MY_P}" |
85 |
+ |
86 |
+python_test() { |
87 |
+ py.test || die "testsuite failed under ${EPYTHON}" |
88 |
+} |