Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/weasyprint: weasyprint-0.22.ebuild ChangeLog
Date: Thu, 22 May 2014 03:48:08
Message-Id: 20140522034804.D248E20036@flycatcher.gentoo.org
1 idella4 14/05/22 03:48:04
2
3 Modified: weasyprint-0.22.ebuild ChangeLog
4 Log:
5 adding of py3.4 support held back, upgraded deps, add test phase with failing tests skipped
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.2 dev-python/weasyprint/weasyprint-0.22.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/weasyprint/weasyprint-0.22.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/weasyprint/weasyprint-0.22.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/weasyprint/weasyprint-0.22.ebuild?r1=1.1&r2=1.2
15
16 Index: weasyprint-0.22.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/weasyprint/weasyprint-0.22.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- weasyprint-0.22.ebuild 21 May 2014 03:33:12 -0000 1.1
23 +++ weasyprint-0.22.ebuild 22 May 2014 03:48:04 -0000 1.2
24 @@ -1,8 +1,9 @@
25 # Copyright 1999-2014 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/weasyprint/weasyprint-0.22.ebuild,v 1.1 2014/05/21 03:33:12 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/weasyprint/weasyprint-0.22.ebuild,v 1.2 2014/05/22 03:48:04 idella4 Exp $
29
30 EAPI="5"
31 +# py3.4 support pending
32 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
33
34 inherit distutils-r1
35 @@ -11,7 +12,7 @@
36 MY_PN="WeasyPrint"
37 MY_P="${MY_PN}-${PV}"
38 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
39 -HOMEPAGE="http://weasyprint.org"
40 +HOMEPAGE="http://weasyprint.org https://github.com/Kozea/WeasyPrint"
41
42 LICENSE="BSD"
43 SLOT="0"
44 @@ -19,16 +20,35 @@
45 IUSE="test"
46
47 # Note: specific subslot of pango since it inlines some of pango headers.
48 +#cffi>=0.6
49 RDEPEND="x11-libs/pango:0/0
50 - media-gfx/cairosvg
51 + >=media-gfx/cairosvg-0.4.1[${PYTHON_USEDEP}]
52 + >=dev-python/html5lib-0.999[${PYTHON_USEDEP}]
53 dev-python/cffi:=[${PYTHON_USEDEP}]
54 - dev-python/lxml[${PYTHON_USEDEP}]
55 - dev-python/cairocffi[${PYTHON_USEDEP}]
56 - dev-python/tinycss[${PYTHON_USEDEP}]
57 - dev-python/cssselect[${PYTHON_USEDEP}]
58 - dev-python/pyphen[${PYTHON_USEDEP}]
59 - "
60 + >=dev-python/lxml-3.0[${PYTHON_USEDEP}]
61 + >=dev-python/cairocffi-0.5[${PYTHON_USEDEP}]
62 + ~dev-python/tinycss-0.3[${PYTHON_USEDEP}]
63 + >=dev-python/cssselect-0.6[${PYTHON_USEDEP}]
64 + >=dev-python/pyphen-0.8[${PYTHON_USEDEP}]"
65 # x11-libs/gdk-pixbuf # optional dep
66 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
67 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 + test? ( ${RDEPEND}
69 + dev-python/pytest[${PYTHON_USEDEP}] )"
70
71 S="${WORKDIR}/${MY_P}"
72 +
73 +python_prepare_all() {
74 + # https://github.com/Kozea/WeasyPrint/issues/195
75 + sed -e s':test_annotate_document:_&:' -e s':test_units:_&:' \
76 + -i ${PN}/tests/test_css.py || die
77 + sed -e 's:test_images:_&:' -i ${PN}/tests/test_draw.py || die
78 + sed -e 's:test_vertical_align:_&:' -e s':test_preferred_widths:_&:' \
79 + -e 's:test_overflow_wrap:_&:' \
80 + -i ${PN}/tests/test_layout.py || die
81 +
82 + distutils-r1_python_prepare_all
83 +}
84 +
85 +python_test() {
86 + py.test || die "testsuite failed under ${EPYTHON}"
87 +}
88
89
90
91 1.9 dev-python/weasyprint/ChangeLog
92
93 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/weasyprint/ChangeLog?rev=1.9&view=markup
94 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/weasyprint/ChangeLog?rev=1.9&content-type=text/plain
95 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/weasyprint/ChangeLog?r1=1.8&r2=1.9
96
97 Index: ChangeLog
98 ===================================================================
99 RCS file: /var/cvsroot/gentoo-x86/dev-python/weasyprint/ChangeLog,v
100 retrieving revision 1.8
101 retrieving revision 1.9
102 diff -u -r1.8 -r1.9
103 --- ChangeLog 21 May 2014 03:33:12 -0000 1.8
104 +++ ChangeLog 22 May 2014 03:48:04 -0000 1.9
105 @@ -1,6 +1,10 @@
106 # ChangeLog for dev-python/weasyprint
107 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
108 -# $Header: /var/cvsroot/gentoo-x86/dev-python/weasyprint/ChangeLog,v 1.8 2014/05/21 03:33:12 patrick Exp $
109 +# $Header: /var/cvsroot/gentoo-x86/dev-python/weasyprint/ChangeLog,v 1.9 2014/05/22 03:48:04 idella4 Exp $
110 +
111 + 22 May 2014; Ian Delaney <idella4@g.o> weasyprint-0.22.ebuild:
112 + adding of py3.4 support held back, upgraded deps, add test phase with failing
113 + tests skipped
114
115 *weasyprint-0.22 (21 May 2014)