Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/tdb: tdb-1.2.1-r1.ebuild ChangeLog
Date: Wed, 29 Dec 2010 21:36:24
Message-Id: 20101229213614.EE3CA20057@flycatcher.gentoo.org
1 vostorga 10/12/29 21:36:14
2
3 Modified: tdb-1.2.1-r1.ebuild ChangeLog
4 Log:
5 Improving python related code, patch thanks to Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> bug #316959
6
7 (Portage version: 2.1.9.25/cvs/Linux i686)
8
9 Revision Changes Path
10 1.4 sys-libs/tdb/tdb-1.2.1-r1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild?r1=1.3&r2=1.4
15
16 Index: tdb-1.2.1-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- tdb-1.2.1-r1.ebuild 27 Sep 2010 16:26:05 -0000 1.3
23 +++ tdb-1.2.1-r1.ebuild 29 Dec 2010 21:36:14 -0000 1.4
24 @@ -1,8 +1,9 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild,v 1.3 2010/09/27 16:26:05 leio Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild,v 1.4 2010/12/29 21:36:14 vostorga Exp $
29
30 EAPI="2"
31 +PYTHON_DEPEND="python? 2"
32
33 inherit autotools python
34
35 @@ -15,12 +16,17 @@
36 IUSE="python static-libs tools tdbtest"
37
38 RDEPEND=""
39 -DEPEND="python? ( dev-lang/python )
40 - !<net-fs/samba-libs-3.4
41 - !<net-fs/samba-3.3
42 +DEPEND="!<net-fs/samba-3.3
43 app-text/docbook-xsl-stylesheets
44 dev-libs/libxslt"
45
46 +pkg_setup() {
47 + if use python; then
48 + python_set_active_version 2
49 + python_pkg_setup
50 + fi
51 +}
52 +
53 src_prepare() {
54 eautoconf -Ilibreplace
55 sed -i \
56 @@ -34,10 +40,20 @@
57 }
58
59 src_configure() {
60 + local myconf=()
61 +
62 + if use python; then
63 + myconf+=(
64 + PYTHON_CONFIG="${EPREFIX}/usr/bin/python-config-$(python_get_version)"
65 + PYTHON="$(PYTHON -a)"
66 + )
67 + fi
68 +
69 econf \
70 --sysconfdir=/etc/samba \
71 --localstatedir=/var \
72 - $(use_enable python)
73 + $(use_enable python) \
74 + "${myconf[@]}"
75 }
76
77 src_compile() {
78
79
80
81 1.24 sys-libs/tdb/ChangeLog
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.24&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.24&content-type=text/plain
85 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tdb/ChangeLog?r1=1.23&r2=1.24
86
87 Index: ChangeLog
88 ===================================================================
89 RCS file: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v
90 retrieving revision 1.23
91 retrieving revision 1.24
92 diff -u -r1.23 -r1.24
93 --- ChangeLog 27 Sep 2010 16:26:05 -0000 1.23
94 +++ ChangeLog 29 Dec 2010 21:36:14 -0000 1.24
95 @@ -1,6 +1,10 @@
96 # ChangeLog for sys-libs/tdb
97 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
98 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.23 2010/09/27 16:26:05 leio Exp $
99 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.24 2010/12/29 21:36:14 vostorga Exp $
100 +
101 + 29 Dec 2010; VĂ­ctor Ostorga <vostorga@g.o> tdb-1.2.1-r1.ebuild:
102 + Improving python related code, patch thanks to Arfrever Frehtes Taifersar
103 + Arahesis <arfrever@g.o> bug #316959
104
105 27 Sep 2010; Mart Raudsepp <leio@g.o> tdb-1.2.1-r1.ebuild:
106 Marked ~mips for bug #285952