Gentoo Archives: gentoo-commits

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