Magellan Linux

Contents of /trunk/extras/pysqlite/pysqlite-2.5.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3793 - (show annotations) (download)
Wed Nov 4 07:56:14 2009 UTC (14 years, 5 months ago) by niro
File size: 813 byte(s)
auto added: ver bump to 2.5.5-r2
1 # $Id$
2
3 PNAME="pysqlite"
4 PVER="2.5.5"
5 PBUILD="r2"
6
7 PCATEGORIE="dev-python"
8 STATE="unstable"
9
10 DESCRIPTION="A DB-API 2.0 database interface for Python and SQLite."
11 HOMEPAGE="http://code.google.com/p/pysqlite/"
12
13 DEPEND=">= dev-lang/python-2.6
14 >= dev-db/sqlite-3.6"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude python
20
21 SRC_URI=(
22 http://${PNAME}.googlecode.com/files/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # fix encoding - trac needs this, see:
34 # http://www.mail-archive.com/trac-users@googlegroups.com/msg07793.html
35 # and
36 # http://trac.edgewall.org/changeset/6223
37 sed -i "s/\(coding: \)ISO-8859-1/\1utf-8/" pysqlite2/__init__.py pysqlite2/dbapi2.py || die
38 }

Properties

Name Value
svn:keywords Id