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