[arch-commits] Commit in mysql-python/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Sep 17 14:38:02 UTC 2014


    Date: Wednesday, September 17, 2014 @ 16:38:01
  Author: fyan
Revision: 221849

distribute -> setuptools, and a bit clean-up

Modified:
  mysql-python/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-17 14:28:25 UTC (rev 221848)
+++ PKGBUILD	2014-09-17 14:38:01 UTC (rev 221849)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org> 
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=mysql-python
@@ -10,11 +11,11 @@
 url="http://mysql-python.sourceforge.net/"
 license=('GPL2')
 depends=('python2' 'libmariadbclient')
-makedepends=('mariadb' 'python2-distribute')
+makedepends=('mariadb' 'python2-setuptools')
 source=("http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-${pkgver}.zip")
 md5sums=('654f75b302db6ed8dc5a898c625e030c')
 
 package() {
-  cd ${srcdir}/MySQL-python-${pkgver}
-  python2 setup.py install --root=${pkgdir} --optimize=1
+  cd "${srcdir}/MySQL-python-${pkgver}"
+  python2 setup.py install --root="${pkgdir}" --optimize=1
 }




More information about the arch-commits mailing list