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.16.ebuild sqlite-3.6.14.ebuild sqlite-3.6.12.ebuild sqlite-3.6.14.1.ebuild
Date: Sat, 27 Jun 2009 21:31:03
Message-Id: E1MKfUD-00013R-0J@stork.gentoo.org
1 arfrever 09/06/27 21:31:01
2
3 Modified: ChangeLog
4 Added: sqlite-3.6.16.ebuild
5 Removed: sqlite-3.6.14.ebuild sqlite-3.6.12.ebuild
6 sqlite-3.6.14.1.ebuild
7 Log:
8 Version bump.
9 (Portage version: 13716-svn/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.257 dev-db/sqlite/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.257&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.257&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.256&r2=1.257
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v
21 retrieving revision 1.256
22 retrieving revision 1.257
23 diff -u -r1.256 -r1.257
24 --- ChangeLog 27 Jun 2009 15:48:41 -0000 1.256
25 +++ ChangeLog 27 Jun 2009 21:31:00 -0000 1.257
26 @@ -1,6 +1,16 @@
27 # ChangeLog for dev-db/sqlite
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.256 2009/06/27 15:48:41 ranger Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.257 2009/06/27 21:31:00 arfrever Exp $
31 +
32 +*sqlite-3.6.16 (27 Jun 2009)
33 +
34 + 27 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + -files/sandbox-fix1.patch, -files/sqlite-3.3.3-tcl-fix.patch,
36 + -sqlite-3.6.12.ebuild, -sqlite-3.6.14.ebuild,
37 + -files/sqlite-3-test-fix-3.3.4.patch, -sqlite-3.6.14.1.ebuild,
38 + +sqlite-3.6.16.ebuild, -files/sqlite-64bit-test-fix.patch,
39 + -files/sqlite-64bit-test-fix2.patch:
40 + Version bump.
41
42 27 Jun 2009; Brent Baude <ranger@g.o> sqlite-3.6.14.2.ebuild:
43 Marking sqlite-3.6.14.2 ppc64 for bug 275592
44
45
46
47 1.1 dev-db/sqlite/sqlite-3.6.16.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.16.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.16.ebuild?rev=1.1&content-type=text/plain
51
52 Index: sqlite-3.6.16.ebuild
53 ===================================================================
54 # Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.16.ebuild,v 1.1 2009/06/27 21:31:00 arfrever Exp $
57
58 EAPI="2"
59
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 DOC_BASE="$(get_version_component_range 1-3)"
65 DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
66 SRC_URI="http://www.sqlite.org/${P}.tar.gz
67 doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
68
69 LICENSE="as-is"
70 SLOT="3"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
72 IUSE="debug doc soundex tcl +threadsafe"
73 RESTRICT="!tcl? ( test )"
74
75 RDEPEND="tcl? ( dev-lang/tcl )"
76 DEPEND="${RDEPEND}
77 doc? ( app-arch/unzip )"
78
79 pkg_setup() {
80 if has test ${FEATURES}; then
81 if ! has userpriv ${FEATURES}; then
82 ewarn "The userpriv feature must be enabled to run tests."
83 eerror "Testsuite will not be run."
84 fi
85 if ! use tcl; then
86 ewarn "You must enable the tcl use flag if you want to run the testsuite."
87 eerror "Testsuite will not be run."
88 fi
89 fi
90 }
91
92 src_prepare() {
93 # note: this sandbox fix is no longer needed with sandbox-1.3+
94 epatch "${FILESDIR}"/sandbox-fix2.patch
95
96 epunt_cxx
97 }
98
99 src_configure() {
100 # Enable column metadata, bug #266651
101 append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
102
103 # not available via configure and requested in bug #143794
104 use soundex && append-cppflags -DSQLITE_SOUNDEX
105
106 econf \
107 $(use_enable debug) \
108 $(use_enable threadsafe) \
109 $(use_enable threadsafe cross-thread-connections) \
110 $(use_enable tcl)
111 }
112
113 src_compile() {
114 emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
115 }
116
117 src_test() {
118 if has userpriv ${FEATURES}; then
119 local test=test
120 use debug && test=fulltest
121 emake ${test} || die "some test(s) failed"
122 fi
123 }
124
125 src_install() {
126 emake \
127 DESTDIR="${D}" \
128 TCLLIBDIR="/usr/$(get_libdir)/${P}" \
129 install \
130 || die "emake install failed"
131
132 doman sqlite3.1 || die "doman sqlite3.1 failed"
133
134 if use doc; then
135 # Naming scheme changes randomly between - and _ in releases
136 # http://www.sqlite.org/cvstrac/tktview?tn=3523
137 dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die "dohtml failed"
138 fi
139 }