1 |
patrick 09/03/31 20:54:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pysqlite-2.5.5.ebuild |
5 |
Log: |
6 |
Bump to 2.5.5, fixes #246499 |
7 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.89 dev-python/pysqlite/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/ChangeLog?rev=1.89&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/ChangeLog?rev=1.89&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/ChangeLog?r1=1.88&r2=1.89 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v |
19 |
retrieving revision 1.88 |
20 |
retrieving revision 1.89 |
21 |
diff -u -r1.88 -r1.89 |
22 |
--- ChangeLog 9 Oct 2008 20:23:41 -0000 1.88 |
23 |
+++ ChangeLog 31 Mar 2009 20:54:24 -0000 1.89 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/pysqlite |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.88 2008/10/09 20:23:41 maekke Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.89 2009/03/31 20:54:24 patrick Exp $ |
30 |
+ |
31 |
+*pysqlite-2.5.5 (31 Mar 2009) |
32 |
+ |
33 |
+ 31 Mar 2009; Patrick Lauer <patrick@g.o> +pysqlite-2.5.5.ebuild: |
34 |
+ Bump to 2.5.5, fixes #246499 |
35 |
|
36 |
09 Oct 2008; Markus Meier <maekke@g.o> pysqlite-2.4.1.ebuild: |
37 |
amd64/x86 stable, bug #240385 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pysqlite/pysqlite-2.5.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/pysqlite-2.5.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pysqlite/pysqlite-2.5.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pysqlite-2.5.5.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-python/pysqlite/pysqlite-2.5.5.ebuild,v 1.1 2009/03/31 20:54:24 patrick Exp $ |
51 |
|
52 |
NEED_PYTHON=2.3 |
53 |
|
54 |
inherit distutils |
55 |
|
56 |
DESCRIPTION="Python wrapper for the local database Sqlite" |
57 |
#SRC_URI="http://initd.org/pub/software/pysqlite/releases/${PV:0:3}/${PV}/pysqlite-${PV}.tar.gz" |
58 |
SRC_URI="http://oss.itsystementwicklung.de/download/pysqlite/${PV:0:3}/${PV}/pysqlite-${PV}.tar.gz" |
59 |
HOMEPAGE="http://pysqlite.org/" |
60 |
|
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 |
LICENSE="pysqlite" |
63 |
SLOT="2" |
64 |
IUSE="examples" |
65 |
|
66 |
DEPEND=">=dev-db/sqlite-3.1" |
67 |
RDEPEND=${DEPEND} |
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 |
distutils_src_install |
86 |
|
87 |
rm -rf "${D}"/usr/pysqlite2-doc |
88 |
|
89 |
if use examples; then |
90 |
insinto /usr/share/doc/${PF} |
91 |
doins -r doc/code |
92 |
fi |
93 |
} |
94 |
|
95 |
src_test() { |
96 |
cd pysqlite2 |
97 |
# tests use this as a nonexistant file |
98 |
addpredict /foo/bar |
99 |
PYTHONPATH="$(ls -d ../build/lib.*)" "${python}" -c \ |
100 |
"from test import test;import sys;sys.exit(test())" \ |
101 |
|| die "test failed" |
102 |
} |