diff options
-rw-r--r-- | abs/core/python_modules/mysql-python/PKGBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/abs/core/python_modules/mysql-python/PKGBUILD b/abs/core/python_modules/mysql-python/PKGBUILD index 590c2db..f9fcd0d 100644 --- a/abs/core/python_modules/mysql-python/PKGBUILD +++ b/abs/core/python_modules/mysql-python/PKGBUILD @@ -2,19 +2,27 @@ # Contributor: damir <damir@archlinux.org> pkgname=mysql-python -pkgver=1.2.3c1 -pkgrel=4 +pkgver=1.2.3 +pkgrel=5 pkgdesc="MySQL support for Python" arch=("i686" "x86_64") url="http://sourceforge.net/projects/mysql-python" license=('GPL2') -depends=('python2' 'libmysqlclient>=5.1.41-2') -makedepends=('mysql>=5.1.41-2' 'setuptools') +depends=('python2>=2.3' 'python2<2.7' 'libmysqlclient>=5.1.59') +makedepends=('mysql>=5.1.59' 'setuptools') source=("http://downloads.sourceforge.net/${pkgname}/MySQL-python-${pkgver}.tar.gz") -md5sums=('310dd856e439d070b59ece6dd7a0734d') build() { + + /bin/true + +} + +package() { + cd ${srcdir}/MySQL-python-${pkgver} python2 setup.py install --root=${pkgdir} || return 1 + } +md5sums=('215eddb6d853f6f4be5b4afc4154292f') |