Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/sqlite: ChangeLog sqlite-3.6.11.ebuild
Date: Tue, 31 Mar 2009 23:53:13
Message-Id: E1LonlX-0001LX-NP@stork.gentoo.org
1 vapier 09/03/31 23:53:11
2
3 Modified: ChangeLog sqlite-3.6.11.ebuild
4 Log:
5 Cleanup ebuild a bit and avoid running autotools.
6 (Portage version: 2.2_rc28/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.224 dev-db/sqlite/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.224&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.224&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.223&r2=1.224
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v
18 retrieving revision 1.223
19 retrieving revision 1.224
20 diff -u -r1.223 -r1.224
21 --- ChangeLog 1 Mar 2009 02:56:38 -0000 1.223
22 +++ ChangeLog 31 Mar 2009 23:53:11 -0000 1.224
23 @@ -1,6 +1,9 @@
24 # ChangeLog for dev-db/sqlite
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.223 2009/03/01 02:56:38 tommy Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.224 2009/03/31 23:53:11 vapier Exp $
28 +
29 + 31 Mar 2009; Mike Frysinger <vapier@g.o> sqlite-3.6.11.ebuild:
30 + Cleanup ebuild a bit and avoid running autotools.
31
32 *sqlite-3.6.11 (01 Mar 2009)
33
34
35
36
37 1.2 dev-db/sqlite/sqlite-3.6.11.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild?r1=1.1&r2=1.2
42
43 Index: sqlite-3.6.11.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- sqlite-3.6.11.ebuild 1 Mar 2009 02:56:38 -0000 1.1
50 +++ sqlite-3.6.11.ebuild 31 Mar 2009 23:53:11 -0000 1.2
51 @@ -1,10 +1,10 @@
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild,v 1.1 2009/03/01 02:56:38 tommy Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild,v 1.2 2009/03/31 23:53:11 vapier Exp $
56
57 EAPI="1"
58
59 -inherit autotools eutils flag-o-matic libtool versionator
60 +inherit eutils flag-o-matic multilib versionator
61
62 DESCRIPTION="an SQL Database Engine in a C Library"
63 HOMEPAGE="http://www.sqlite.org/"
64 @@ -24,13 +24,12 @@
65 doc? ( app-arch/unzip )"
66
67 pkg_setup() {
68 - # test
69 - if has test ${FEATURES}; then
70 - if ! has userpriv ${FEATURES}; then
71 + if has test ${FEATURES} ; then
72 + if ! has userpriv ${FEATURES} ; then
73 ewarn "The userpriv feature must be enabled to run tests."
74 eerror "Testsuite will not be run."
75 fi
76 - if ! use tcl; then
77 + if ! use tcl ; then
78 ewarn "You must enable the tcl use flag if you want to run the testsuite."
79 eerror "Testsuite will not be run."
80 fi
81 @@ -41,16 +40,18 @@
82 unpack ${A}
83 cd "${S}"
84
85 + # note: this sandbox fix is no longer needed with sandbox-1.3+
86 epatch "${FILESDIR}"/sandbox-fix2.patch
87 epatch "${FILESDIR}"/${P}-reference.patch
88
89 - eautoreconf
90 + # avoid having to run autotools
91 + sed -i 's:3\.6\.10:3.6.11:g' configure
92 epunt_cxx
93 }
94
95 src_compile() {
96 # not available via configure and requested in bug #143794
97 - use soundex && append-flags -DSQLITE_SOUNDEX=1
98 + use soundex && append-cppflags -DSQLITE_SOUNDEX=1
99
100 econf \
101 $(use_enable debug) \
102 @@ -61,7 +62,7 @@
103 }
104
105 src_test() {
106 - if has userpriv ${FEATURES}; then
107 + if has userpriv ${FEATURES} ; then
108 local test=test
109 use debug && tets=fulltest
110 emake ${test} || die "some test(s) failed"
111 @@ -77,7 +78,7 @@
112
113 doman sqlite3.1 || die
114
115 - if use doc; then
116 + if use doc ; then
117 # Naming scheme changes randomly between - and _ in releases
118 # http://www.sqlite.org/cvstrac/tktview?tn=3523
119 dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die