aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mysqldb/APKBUILD
blob: a802c6bd4333860c781f27b164fecd8d547192d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-mysqldb
pkgver=1.2.3
pkgrel=2
pkgdesc="MySQL Module for python"
url="http://sourceforge.net/projects/mysql-python/"
arch="all"
license="GPL2+"
depends=""
makedepends="python-dev py-setuptools mysql-dev"
source="http://downloads.sourceforge.net/mysql-python/MySQL-python-${pkgver}.tar.gz"

_builddir="$srcdir"/MySQL-python-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --root="$pkgdir" || return 1
}

md5sums="215eddb6d853f6f4be5b4afc4154292f  MySQL-python-1.2.3.tar.gz"
sha256sums="7de66fbbf923634e7c965aeaefa74642ba75ae20ee1cefcefc3009595b7a7e6e  MySQL-python-1.2.3.tar.gz"
sha512sums="8c1c88ccf833744ac1f78673cb306cafe7f9bfc85ab2ce6dee1024b86571c17f006e3ab8452dba3527976f39aca64757b2d961c30ef4ac61c9a27e60a5f1abf5  MySQL-python-1.2.3.tar.gz"