aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pymysql/APKBUILD
blob: 92df8e6a7269153a54a17d8d497461201fa1ec57 (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
27
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-pymysql
_pkgname=PyMySQL
pkgver=0.9.3
pkgrel=1
pkgdesc="Pure Python MySQL Client"
url="https://pypi.python.org/pypi/PyMySQL"
arch="noarch"
license="MIT"
options="!check" #require mysql for tests
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-pymysql" # Backwards  compatibility
provides="py-pymysql=$pkgver-r$pkgrel" # Backwards  compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2056bc4aca7a600ca50214b399edc6f3068b288c426aecb115db148f645b0ec7e9a1a7134cf67f39d4820ea59a925dc1ce3ed0e383fb5e16e0651e87449824f9  py3-pymysql-0.9.3.tar.gz"