Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 889 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/pysqlite/pysqlite-2.4.1-r1.smage2,v 1.1 2008/02/12 11:07:14 niro Exp $
2
3 PNAME="pysqlite"
4 PVER="2.4.1"
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.5
14 >= dev-db/sqlite-3.5"
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 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # fix encoding - trac needs this, see:
32 # http://www.mail-archive.com/trac-users@googlegroups.com/msg07793.html
33 # and
34 # http://trac.edgewall.org/changeset/6223
35 sed -i "s/\(coding: \)ISO-8859-1/\1utf-8/" pysqlite2/__init__.py pysqlite2/dbapi2.py || die
36 }

Properties

Name Value
svn:keywords Id