summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql-python
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mysql-python')
-rw-r--r--abs/core-testing/mysql-python/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/abs/core-testing/mysql-python/PKGBUILD b/abs/core-testing/mysql-python/PKGBUILD
index 1e3dea0..a2c8606 100644
--- a/abs/core-testing/mysql-python/PKGBUILD
+++ b/abs/core-testing/mysql-python/PKGBUILD
@@ -1,20 +1,19 @@
-# $Id: PKGBUILD 16696 2008-10-22 02:26:55Z allan $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 59043 2009-11-19 16:20:45Z andrea $
+# Contributor: damir <damir@archlinux.org>
pkgname=mysql-python
-pkgver=1.2.2
+pkgver=1.2.3c1
pkgrel=2
pkgdesc="MySQL support for Python"
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/mysql-python"
license=('GPL2')
-depends=('python>=2.6' 'libmysqlclient')
-makedepends=('mysql>=5.0.23' 'setuptools')
-source=("http://downloads.sourceforge.net/sourceforge/mysql-python/MySQL-python-${pkgver}.tar.gz")
-md5sums=('532268f02870bea18c1d465e88afff30')
-
+depends=('python>=2.6' 'libmysqlclient>=5.1.41-2')
+makedepends=('mysql>=5.1.41-2' 'setuptools')
+source=("http://downloads.sourceforge.net/${pkgname}/MySQL-python-${pkgver}.tar.gz")
+md5sums=('310dd856e439d070b59ece6dd7a0734d')
build() {
- cd ${startdir}/src/MySQL-python-${pkgver}
- yes | python setup.py install --root=${startdir}/pkg
+ cd ${srcdir}/MySQL-python-${pkgver}
+ python setup.py install --root=${pkgdir} || return 1
}