mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
29 lines
973 B
Plaintext
29 lines
973 B
Plaintext
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
|
pkgname=py-mysqldb
|
|
pkgver=1.2.5
|
|
pkgrel=1
|
|
pkgdesc="MySQL database connector for Python (legacy version)"
|
|
url="https://github.com/farcepest/MySQLdb1"
|
|
arch="all"
|
|
license="GPL"
|
|
depends="python2"
|
|
makedepends="mariadb-connector-c-dev python2-dev py-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/M/MySQL-python/MySQL-python-$pkgver.zip
|
|
mariadb.patch"
|
|
|
|
builddir="$srcdir"/MySQL-python-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0 MySQL-python-1.2.5.zip
|
|
fcb15e47a1cc5faa9c6ef33826a661d2728a0bd59ee2d35f7046b5079875741574a3a80ff95f86b419fd6ae58d59fce8f391b1d0630aaec034098054683487ca mariadb.patch"
|