Date: Friday, October 7, 2011 @ 16:30:59
  Author: angvp
Revision: 140135

upgpkg: python-pysqlite 2.6.3-1

Version bump to 2.6.3

Modified:
  python-pysqlite/trunk/ChangeLog
  python-pysqlite/trunk/PKGBUILD

-----------+
 ChangeLog |    3 +++
 PKGBUILD  |   19 ++++++++++++-------
 2 files changed, 15 insertions(+), 7 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog   2011-10-07 19:20:48 UTC (rev 140134)
+++ ChangeLog   2011-10-07 20:30:59 UTC (rev 140135)
@@ -1,3 +1,6 @@
+2011-10-07  Angel Velasquez <an...@archlinux.org>
+       * Updated to: 2.6.3
+           * Added check function
 
 2009-08-06  Douglas Soares de Andrade  <doug...@archlinux.org>
 

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-10-07 19:20:48 UTC (rev 140134)
+++ PKGBUILD    2011-10-07 20:30:59 UTC (rev 140135)
@@ -1,11 +1,10 @@
 # $Id$
+# Maintainer: Angel Velasquez <an...@archlinux.org> 
 # Contributor: Aaron Griffin <aa...@archlinux.org>
-# Contributor: Aaron Griffin <aa...@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1...@archlinux.us>
-
+# Contributor: Daniel J Griffiths <ghost1...@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')
@@ -14,8 +13,14 @@
 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 .

Reply via email to