core/python2-mysql/PKGBUILD
totte 4fa66c12ef multiple: s/setuptools/python{2,3}-setuptools/, s/python{2,3}-distribute/python{2,3}-setuptools/
Conflicts:
	mysql-python/PKGBUILD
	net-snmp/PKGBUILD
	python-cssutils/PKGBUILD
	python-dateutil/PKGBUILD
	python-distutils-extra/PKGBUILD
	python-jinja/PKGBUILD
	python-markupsafe/PKGBUILD
	python-simplejson/PKGBUILD
	python2-udev/PKGBUILD
2013-12-13 14:48:01 +01:00

22 lines
688 B
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: A Boersma (abveritas) <abveritas@chakra-project.org>
pkgname=python2-mysql
pkgver=1.2.4
pkgrel=1
pkgdesc="MySQL support for Python"
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/mysql-python"
license=('GPL2')
depends=('python2' 'libmariadbclient')
makedepends=('mariadb' 'python2-distribute')
source=("http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-${pkgver}.zip")
sha1sums=('9af66e09713a79a08a312a7da87f0f0dccfc0a91')
conflicts=('mysql-python')
replaces=('mysql-python')
package() {
cd ${srcdir}/MySQL-python-${pkgver}
python2 setup.py install --root=${pkgdir} --optimize=1
}