Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/sqlite: ChangeLog sqlite-3.6.15.ebuild
Date: Sun, 21 Jun 2009 00:33:59
Message-Id: E1MIB0P-0006Lb-06@stork.gentoo.org
1 arfrever 09/06/21 00:33:56
2
3 Modified: ChangeLog
4 Added: sqlite-3.6.15.ebuild
5 Log:
6 Version bump. Documentation seems to be no longer available.
7 (Portage version: 13655-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.254 dev-db/sqlite/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.254&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.254&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.253&r2=1.254
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v
19 retrieving revision 1.253
20 retrieving revision 1.254
21 diff -u -r1.253 -r1.254
22 --- ChangeLog 28 May 2009 20:53:11 -0000 1.253
23 +++ ChangeLog 21 Jun 2009 00:33:56 -0000 1.254
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-db/sqlite
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.253 2009/05/28 20:53:11 fmccor Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.254 2009/06/21 00:33:56 arfrever Exp $
29 +
30 +*sqlite-3.6.15 (21 Jun 2009)
31 +
32 + 21 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +sqlite-3.6.15.ebuild:
34 + Version bump. Documentation seems to be no longer available.
35
36 28 May 2009; Ferris McCormick <fmccor@g.o> sqlite-3.6.14.2.ebuild:
37 re-keyword for ~sparc, Bug #270867 Comment #8, #10.
38
39
40
41 1.1 dev-db/sqlite/sqlite-3.6.15.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.15.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.15.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sqlite-3.6.15.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-db/sqlite/sqlite-3.6.15.ebuild,v 1.1 2009/06/21 00:33:56 arfrever Exp $
51
52 EAPI="2"
53
54 inherit eutils flag-o-matic multilib versionator
55
56 DESCRIPTION="an SQL Database Engine in a C Library"
57 HOMEPAGE="http://www.sqlite.org/"
58 SRC_URI="http://www.sqlite.org/${P}.tar.gz"
59
60 LICENSE="as-is"
61 SLOT="3"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
63 IUSE="debug soundex tcl +threadsafe"
64 RESTRICT="!tcl? ( test )"
65
66 RDEPEND="tcl? ( dev-lang/tcl )"
67 DEPEND="${RDEPEND}"
68
69 pkg_setup() {
70 if has test ${FEATURES} ; then
71 if ! has userpriv ${FEATURES} ; then
72 ewarn "The userpriv feature must be enabled to run tests."
73 eerror "Testsuite will not be run."
74 fi
75 if ! use tcl ; then
76 ewarn "You must enable the tcl use flag if you want to run the testsuite."
77 eerror "Testsuite will not be run."
78 fi
79 fi
80 }
81
82 src_prepare() {
83 # note: this sandbox fix is no longer needed with sandbox-1.3+
84 epatch "${FILESDIR}"/sandbox-fix2.patch
85
86 epunt_cxx
87 }
88
89 src_configure() {
90 # Enable column metadata, bug #266651
91 append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
92
93 # not available via configure and requested in bug #143794
94 use soundex && append-cppflags -DSQLITE_SOUNDEX
95
96 econf \
97 $(use_enable debug) \
98 $(use_enable threadsafe) \
99 $(use_enable threadsafe cross-thread-connections) \
100 $(use_enable tcl)
101 }
102
103 src_compile() {
104 emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
105 }
106
107 src_test() {
108 if has userpriv ${FEATURES} ; then
109 local test=test
110 use debug && test=fulltest
111 emake ${test} || die "some test(s) failed"
112 fi
113 }
114
115 src_install() {
116 emake \
117 DESTDIR="${D}" \
118 TCLLIBDIR="/usr/$(get_libdir)/${P}" \
119 install \
120 || die "emake install failed"
121
122 doman sqlite3.1 || die "doman sqlite3.1 failed"
123 }