Gentoo Archives: gentoo-commits

From: "Lukasz Strzygowski (lucass)" <lucass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pysqlite: ChangeLog pysqlite-2.4.1.ebuild pysqlite-2.4.0.ebuild pysqlite-2.3.3.ebuild
Date: Tue, 05 Feb 2008 16:31:01
Message-Id: E1JMQgf-00031z-1E@stork.gentoo.org
1 lucass 08/02/05 16:30:21
2
3 Modified: ChangeLog
4 Added: pysqlite-2.4.1.ebuild
5 Removed: pysqlite-2.4.0.ebuild pysqlite-2.3.3.ebuild
6 Log:
7 Version bump (bug #209012). Dropped old versions.
8 (Portage version: 2.1.4.1)
9
10 Revision Changes Path
11 1.85 dev-python/pysqlite/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/ChangeLog?rev=1.85&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/ChangeLog?rev=1.85&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/ChangeLog?r1=1.84&r2=1.85
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v
20 retrieving revision 1.84
21 retrieving revision 1.85
22 diff -u -r1.84 -r1.85
23 --- ChangeLog 26 Dec 2007 01:25:57 -0000 1.84
24 +++ ChangeLog 5 Feb 2008 16:30:20 -0000 1.85
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pysqlite
27 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.84 2007/12/26 01:25:57 hawking Exp $
29 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.85 2008/02/05 16:30:20 lucass Exp $
31 +
32 +*pysqlite-2.4.1 (05 Feb 2008)
33 +
34 + 05 Feb 2008; Lukasz Strzygowski <lucass@g.o>
35 + -pysqlite-2.3.3.ebuild, -pysqlite-2.4.0.ebuild, +pysqlite-2.4.1.ebuild:
36 + Version bump (bug #209012). Dropped old versions.
37
38 *pysqlite-2.4.0 (26 Dec 2007)
39
40
41
42
43 1.1 dev-python/pysqlite/pysqlite-2.4.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/pysqlite-2.4.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/pysqlite-2.4.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pysqlite-2.4.1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/pysqlite-2.4.1.ebuild,v 1.1 2008/02/05 16:30:20 lucass Exp $
53
54 NEED_PYTHON=2.3
55
56 inherit distutils
57
58 DESCRIPTION="Python wrapper for the local database Sqlite"
59 SRC_URI="http://initd.org/pub/software/pysqlite/releases/${PV:0:3}/${PV}/pysqlite-${PV}.tar.gz"
60 HOMEPAGE="http://initd.org/tracker/pysqlite/"
61
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 LICENSE="pysqlite"
64 SLOT="2"
65 IUSE="examples"
66
67 DEPEND=">=dev-db/sqlite-3.1"
68
69 PYTHON_MODNAME="pysqlite2"
70
71 src_unpack() {
72 distutils_src_unpack
73 # don't install pysqlite2.test
74 sed -i -e 's/, "pysqlite2.test"//' \
75 setup.py || die "sed in setup.py failed"
76 # workaround to make checks work without installing them
77 sed -i -e "s/pysqlite2.test/test/" \
78 pysqlite2/test/__init__.py || die "sed failed"
79 # correct encoding
80 sed -i -e "s/\(coding: \)ISO-8859-1/\1utf-8/" \
81 pysqlite2/__init__.py pysqlite2/dbapi2.py || die "sed failed"
82 }
83
84 src_install() {
85 DOCS="doc/usage-guide.txt"
86 distutils_src_install
87
88 rm -rf "${D}"/usr/pysqlite2-doc
89
90 if use examples; then
91 insinto /usr/share/doc/${PF}
92 doins -r doc/code
93 fi
94 }
95
96 src_test() {
97 cd pysqlite2
98 # tests use this as a nonexistant file
99 addpredict /foo/bar
100 PYTHONPATH="$(ls -d ../build/lib.*)" "${python}" -c \
101 "from test import test;import sys;sys.exit(test())" \
102 || die "test failed"
103 }
104
105
106
107 --
108 gentoo-commits@l.g.o mailing list