aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mysqldb/APKBUILD
blob: cf990a1aafa2630e8fee315c9a574c1b83e08f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-mysqldb
pkgver=1.2.3
pkgrel=0
pkgdesc="MySQL Module for python"
url="http://sourceforge.net/projects/mysql-python/"
arch="all"
license="GPL"
depends="python"
makedepends="py-setuptools mysql-dev"
source="http://downloads.sourceforge.net/mysql-python/MySQL-python-${pkgver}.tar.gz"
build() {
	cd "$srcdir"/MySQL-python-$pkgver
	mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
	python setup.py install --root="$pkgdir"
	echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" \
	        > "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth
}
md5sums="215eddb6d853f6f4be5b4afc4154292f  MySQL-python-1.2.3.tar.gz"