From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pycairo: ChangeLog pycairo-1.8.2.ebuild |
Date: | Sat, 24 Jan 2009 16:27:45 |
Message-Id: | E1LQlME-0006LI-AH@stork.gentoo.org |
1 | patrick 09/01/24 16:27:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pycairo-1.8.2.ebuild |
5 | Log: |
6 | Bump to 1.8.2, fixes #255360 |
7 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.61 dev-python/pycairo/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.61&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.61&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/ChangeLog?r1=1.60&r2=1.61 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v |
19 | retrieving revision 1.60 |
20 | retrieving revision 1.61 |
21 | diff -u -r1.60 -r1.61 |
22 | --- ChangeLog 10 Nov 2008 11:33:19 -0000 1.60 |
23 | +++ ChangeLog 24 Jan 2009 16:27:42 -0000 1.61 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/pycairo |
26 | -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.60 2008/11/10 11:33:19 armin76 Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.61 2009/01/24 16:27:42 patrick Exp $ |
30 | + |
31 | +*pycairo-1.8.2 (24 Jan 2009) |
32 | + |
33 | + 24 Jan 2009; Patrick Lauer <patrick@g.o> +pycairo-1.8.2.ebuild: |
34 | + Bump to 1.8.2, fixes #255360 |
35 | |
36 | 10 Nov 2008; Raúl Porcel <armin76@g.o> pycairo-1.4.12.ebuild: |
37 | arm/sh stable |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pycairo/pycairo-1.8.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/pycairo-1.8.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycairo/pycairo-1.8.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pycairo-1.8.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 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.8.2.ebuild,v 1.1 2009/01/24 16:27:42 patrick 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 | DOCS="AUTHORS doc/*" |
71 | |
72 | src_unpack() { |
73 | unpack ${A} |
74 | cd "${S}" |
75 | |
76 | # don't run py-compile |
77 | sed -i \ |
78 | -e '/if test -n "$$dlist"; then/,/else :; fi/d' \ |
79 | cairo/Makefile.in || die "sed in cairo/Makefile.in failed" |
80 | } |
81 | |
82 | src_install() { |
83 | distutils_src_install |
84 | |
85 | if use examples ; then |
86 | insinto /usr/share/doc/${PF}/examples |
87 | doins -r examples/* |
88 | rm "${D}"/usr/share/doc/${PF}/examples/Makefile* |
89 | fi |
90 | } |
91 | |
92 | src_test() { |
93 | cd test |
94 | PYTHONPATH="$(ls -d ${S}/build/lib.*)" "${python}" test.py || die "tests failed" |
95 | } |