Gentoo Archives: gentoo-commits

From: "Lukasz Strzygowski (lucass)" <lucass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycairo: ChangeLog pycairo-1.4.12.ebuild
Date: Sat, 15 Dec 2007 11:49:20
Message-Id: E1J3VW2-0003rw-Ro@stork.gentoo.org
1 lucass 07/12/15 11:49:10
2
3 Modified: ChangeLog
4 Added: pycairo-1.4.12.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4_rc9)
8
9 Revision Changes Path
10 1.50 dev-python/pycairo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.50&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.50&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/ChangeLog?r1=1.49&r2=1.50
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v
19 retrieving revision 1.49
20 retrieving revision 1.50
21 diff -u -r1.49 -r1.50
22 --- ChangeLog 6 Aug 2007 04:57:16 -0000 1.49
23 +++ ChangeLog 15 Dec 2007 11:49:10 -0000 1.50
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/pycairo
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.49 2007/08/06 04:57:16 kumba Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.50 2007/12/15 11:49:10 lucass Exp $
29 +
30 +*pycairo-1.4.12 (15 Dec 2007)
31 +
32 + 15 Dec 2007; Lukasz Strzygowski <lucass@g.o>
33 + +pycairo-1.4.12.ebuild:
34 + Version bump.
35
36 06 Aug 2007; Joshua Kinard <kumba@g.o> pycairo-1.4.0.ebuild:
37 Stable on mips, per #185823.
38
39
40
41 1.1 dev-python/pycairo/pycairo-1.4.12.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/pycairo-1.4.12.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/pycairo-1.4.12.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pycairo-1.4.12.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.4.12.ebuild,v 1.1 2007/12/15 11:49:10 lucass Exp $
51
52 NEED_PYTHON=2.4
53
54 inherit distutils
55
56 DESCRIPTION="Python wrapper for cairo vector graphics library"
57 HOMEPAGE="http://cairographics.org/pycairo/"
58 SRC_URI="http://cairographics.org/releases/${P}.tar.gz"
59
60 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="examples"
64
65 RDEPEND=">=x11-libs/cairo-1.4.12"
66 DEPEND="${RDEPEND}
67 dev-util/pkgconfig"
68
69 PYTHON_MODNAME="cairo"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 # don't run py-compile
76 sed -i \
77 -e '/if test -n "$$dlist"; then/,/else :; fi/d' \
78 cairo/Makefile.in || die "sed in cairo/Makefile.in failed"
79 }
80
81 src_install() {
82 distutils_src_install
83
84 if use examples ; then
85 insinto /usr/share/doc/${PF}/examples
86 doins -r examples/*
87 rm "${D}"/usr/share/doc/${PF}/examples/Makefile*
88 fi
89
90 dodoc AUTHORS NOTES doc/*
91 }
92
93 src_test() {
94 cd test
95 PYTHONPATH="$(ls -d ${S}/build/lib.*)" "${python}" test.py || die "tests failed"
96 }
97
98
99
100 --
101 gentoo-commits@g.o mailing list