Magellan Linux

Annotation of /branches/magellan-next/extras/pysqlite/pysqlite-2.6.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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