Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/gdl-python: ChangeLog gdl-python-2.19.1-r1.ebuild
Date: Mon, 24 Nov 2008 12:44:50
Message-Id: E1L4ao4-0000Hp-SI@stork.gentoo.org
1 eva 08/11/24 12:44:48
2
3 Modified: ChangeLog
4 Added: gdl-python-2.19.1-r1.ebuild
5 Log:
6 Fix build failure with recent gdl
7 (Portage version: 2.2_rc15/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.3 dev-python/gdl-python/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/gdl-python/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 27 Oct 2008 01:21:31 -0000 1.2
23 +++ ChangeLog 24 Nov 2008 12:44:48 -0000 1.3
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/gdl-python
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gdl-python/ChangeLog,v 1.2 2008/10/27 01:21:31 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gdl-python/ChangeLog,v 1.3 2008/11/24 12:44:48 eva Exp $
29 +
30 +*gdl-python-2.19.1-r1 (24 Nov 2008)
31 +
32 + 24 Nov 2008; Gilles Dartiguelongue <eva@g.o>
33 + +files/gdl-python-2.19.1-gdlicons.patch, +gdl-python-2.19.1-r1.ebuild:
34 + Fix build failure with recent gdl.
35
36 27 Oct 2008; Ali Polatel <hawking@g.o> gdl-python-2.19.1.ebuild:
37 Use python_need_rebuild.
38
39
40
41 1.1 dev-python/gdl-python/gdl-python-2.19.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/gdl-python-2.19.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/gdl-python-2.19.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gdl-python-2.19.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/gdl-python/gdl-python-2.19.1-r1.ebuild,v 1.1 2008/11/24 12:44:48 eva Exp $
51
52 G_PY_PN="gnome-python-extras"
53
54 inherit gnome-python-common python
55
56 PVP="$(get_version_component_range 1-2)"
57 SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2
58 mirror://gentoo/${G_PY_PN}-${PV}-split.patch.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="examples"
64
65 RDEPEND=">=dev-libs/gdl-0.6.1"
66 DEPEND="${RDEPEND}"
67
68 EXAMPLES="examples/gdl/*"
69
70 pkg_setup() {
71 # we need gdl-gnome
72 if ! built_with_use --missing true dev-libs/gdl gnome; then
73 eerror "If you want to build ${PN} you need to build dev-libs/gdl with"
74 eerror "the the 'gnome' USE flag."
75 die "gdl must be built with USE='gnome'"
76 fi
77
78 gnome-python-common_pkg_setup
79 }
80
81 src_unpack() {
82 gnome-python-common_src_unpack
83
84 epatch "${WORKDIR}/${G_PY_PN}-${PV}-split.patch"
85 eautoreconf
86
87 # Fix build failure with recent gdl
88 epatch "${FILESDIR}/${P}-gdlicons.patch"
89 }
90
91 src_install() {
92 python_need_rebuild
93 gnome-python-common_src_install
94 }