Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/sqlite: ChangeLog sqlite-3.6.8.ebuild
Date: Tue, 13 Jan 2009 17:50:46
Message-Id: E1LMnPX-00052a-Dp@stork.gentoo.org
1 betelgeuse 09/01/13 17:50:43
2
3 Modified: ChangeLog
4 Added: sqlite-3.6.8.ebuild
5 Log:
6 Version bump. Fixes bug #251461.
7 (Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
8
9 Revision Changes Path
10 1.204 dev-db/sqlite/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.204&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.204&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.203&r2=1.204
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v
19 retrieving revision 1.203
20 retrieving revision 1.204
21 diff -u -r1.203 -r1.204
22 --- ChangeLog 4 Dec 2008 19:37:42 -0000 1.203
23 +++ ChangeLog 13 Jan 2009 17:50:43 -0000 1.204
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-db/sqlite
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.203 2008/12/04 19:37:42 betelgeuse Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.204 2009/01/13 17:50:43 betelgeuse Exp $
30 +
31 +*sqlite-3.6.8 (13 Jan 2009)
32 +
33 + 13 Jan 2009; Petteri Räty <betelgeuse@g.o> +sqlite-3.6.8.ebuild:
34 + Version bump. Fixes bug #251461.
35
36 04 Dec 2008; Petteri Räty <betelgeuse@g.o> sqlite-3.6.6.2.ebuild:
37 Add link to upstream bug on doc naming schema.
38
39
40
41 1.1 dev-db/sqlite/sqlite-3.6.8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sqlite-3.6.8.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.8.ebuild,v 1.1 2009/01/13 17:50:43 betelgeuse Exp $
51
52 EAPI="1"
53
54 inherit versionator eutils flag-o-matic libtool
55
56 DESCRIPTION="an SQL Database Engine in a C Library"
57 HOMEPAGE="http://www.sqlite.org/"
58 DOC_BASE="$(get_version_component_range 1-3)"
59 DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
60 SRC_URI="http://www.sqlite.org/${P}.tar.gz
61 doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
62
63 LICENSE="as-is"
64 SLOT="3"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
66 IUSE="debug doc soundex tcl +threadsafe"
67 RESTRICT="!tcl? ( test )"
68
69 RDEPEND="tcl? ( dev-lang/tcl )"
70 DEPEND="${RDEPEND}
71 doc? ( app-arch/unzip )"
72
73 pkg_setup() {
74 # test
75 if has test ${FEATURES}; then
76 if ! has userpriv ${FEATURES}; then
77 ewarn "The userpriv feature must be enabled to run tests."
78 eerror "Testsuite will not be run."
79 fi
80 if ! use tcl; then
81 ewarn "You must enable the tcl use flag if you want to run the testsuite."
82 eerror "Testsuite will not be run."
83 fi
84 fi
85 }
86
87 src_unpack() {
88 unpack ${A}
89 cd "${S}"
90
91 epatch "${FILESDIR}"/sandbox-fix2.patch
92
93 elibtoolize
94 epunt_cxx
95 }
96
97 src_compile() {
98 # not available via configure and requested in bug #143794
99 use soundex && append-flags -DSQLITE_SOUNDEX=1
100
101 econf \
102 $(use_enable debug) \
103 $(use_enable threadsafe) \
104 $(use_enable threadsafe cross-thread-connections) \
105 $(use_enable tcl)
106 emake all || die "emake all failed"
107 }
108
109 src_test() {
110 if has userpriv ${FEATURES}; then
111 local test=test
112 use debug && tets=fulltest
113 emake ${test} || die "some test(s) failed"
114 fi
115 }
116
117 src_install() {
118 emake \
119 DESTDIR="${D}" \
120 TCLLIBDIR="/usr/$(get_libdir)" \
121 install \
122 || die "emake install failed"
123
124 doman sqlite3.1 || die
125
126 if use doc; then
127 # Naming scheme changes randomly between - and _ in releases
128 # http://www.sqlite.org/cvstrac/tktview?tn=3523
129 dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
130 fi
131 }
132
133 pkg_postinst() {
134 elog "sqlite-3.6.X is not totally backwards compatible, see"
135 elog "http://www.sqlite.org/releaselog/3_6_0.html for full details."
136 }