Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycairo: pycairo-1.8.10.ebuild ChangeLog
Date: Fri, 02 Jul 2010 23:49:32
Message-Id: 20100702234924.E1CBE2C621@corvid.gentoo.org
1 arfrever 10/07/02 23:49:24
2
3 Modified: pycairo-1.8.10.ebuild ChangeLog
4 Log:
5 Fix tests (bug #326635).
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-python/pycairo/pycairo-1.8.10.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild?r1=1.1&r2=1.2
14
15 Index: pycairo-1.8.10.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- pycairo-1.8.10.ebuild 18 Jun 2010 17:53:28 -0000 1.1
22 +++ pycairo-1.8.10.ebuild 2 Jul 2010 23:49:24 -0000 1.2
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v 1.1 2010/06/18 17:53:28 arfrever Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v 1.2 2010/07/02 23:49:24 arfrever Exp $
28
29 EAPI="3"
30 PYTHON_DEPEND="2:2.6"
31 @@ -34,24 +34,37 @@
32 }
33
34 src_configure() {
35 - if use doc; then
36 - econf
37 - fi
38 -
39 if ! use svg; then
40 export PYCAIRO_DISABLE_SVG="1"
41 fi
42 }
43
44 +distutils_src_compile_post_hook() {
45 + cp src/__init__.py "$(ls -d build-${PYTHON_ABI}/lib.*/cairo)" || die "Copying of src/__init__.py failed"
46 +}
47 +
48 src_compile() {
49 append-flags -fno-strict-aliasing
50 distutils_src_compile
51
52 if use doc; then
53 - emake html || die "emake html failed"
54 + einfo "Generation of documentation"
55 + pushd doc > /dev/null
56 + sphinx-build -b html -d .build/doctrees . .build/html || die "Generation of documentation failed"
57 + popd > /dev/null
58 fi
59 }
60
61 +src_test() {
62 + # python_execute_py.test -P '$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)'
63 +
64 + testing() {
65 + echo PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)" py.test
66 + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)" py.test
67 + }
68 + python_execute_function testing
69 +}
70 +
71 src_install() {
72 PKGCONFIG_DIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" distutils_src_install
73
74
75
76
77 1.86 dev-python/pycairo/ChangeLog
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.86&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.86&content-type=text/plain
81 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/ChangeLog?r1=1.85&r2=1.86
82
83 Index: ChangeLog
84 ===================================================================
85 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v
86 retrieving revision 1.85
87 retrieving revision 1.86
88 diff -u -r1.85 -r1.86
89 --- ChangeLog 18 Jun 2010 17:53:28 -0000 1.85
90 +++ ChangeLog 2 Jul 2010 23:49:24 -0000 1.86
91 @@ -1,6 +1,10 @@
92 # ChangeLog for dev-python/pycairo
93 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
94 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.85 2010/06/18 17:53:28 arfrever Exp $
95 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.86 2010/07/02 23:49:24 arfrever Exp $
96 +
97 + 02 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
98 + pycairo-1.8.10.ebuild:
99 + Fix tests (bug #326635).
100
101 *pycairo-1.8.10 (18 Jun 2010)