summaryrefslogtreecommitdiff
path: root/extra/python-pysqlite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/python-pysqlite/PKGBUILD')
-rw-r--r--extra/python-pysqlite/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/extra/python-pysqlite/PKGBUILD b/extra/python-pysqlite/PKGBUILD
index ab00b1e2d..423f84915 100644
--- a/extra/python-pysqlite/PKGBUILD
+++ b/extra/python-pysqlite/PKGBUILD
@@ -1,11 +1,10 @@
-# $Id: PKGBUILD 89652 2010-09-02 20:47:02Z remy $
+# $Id: PKGBUILD 140136 2011-10-07 20:31:49Z angvp $
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Aaron Griffin <aaron@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
-
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=python-pysqlite
-pkgver=2.6.0
-pkgrel=2
+pkgver=2.6.3
+pkgrel=1
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
license=('custom')
arch=('i686' 'x86_64' 'mips64el')
@@ -14,8 +13,14 @@ depends=('python2' 'sqlite3')
replaces=('pysqlite2')
source=(http://pysqlite.googlecode.com/files/pysqlite-${pkgver}.tar.gz \
setup.cfg)
-md5sums=('fc92618b3b39d02e6ff10dc467c36640'
- '86dd356c65afd14a22f2f8f64a26441e')
+md5sums=('711afa1062a1d2c4a67acdf02a33d86e'
+ '86dd356c65afd14a22f2f8f64a26441e')
+
+check() {
+ cd ${pkgdir}/usr/lib/python2.7/site-packages
+ python2 -c "from pysqlite2 import test; test.test()"
+}
+
build() {
cd ${srcdir}/pysqlite-${pkgver}
cp ${srcdir}/setup.cfg .