Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2833 - (show annotations) (download)
Sat Jul 11 12:11:46 2009 UTC (14 years, 10 months ago) by niro
File size: 844 byte(s)
auto added: ver bump to 2.5.5-r1
1 # $Id$
2
3 PNAME="pysqlite"
4 PVER="2.5.5"
5 PBUILD="r1"
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://initd.org/tracker/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://initd.org/pub/software/${PNAME}/releases/${PVER:0:3}/${PVER}/${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