Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 791 Bytes
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.
pkgname=python-pymysql
pkgver=0.9.2
pkgrel=2
pkgdesc='Pure Python MySQL Driver.'
arch=('any')
url='https://pypi.org/project/PyMySQL/#files'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/d9/ab/bc9be64876fc9b1590d8ae62b471981b4489c23d6c3f0319af570748d408/PyMySQL-$pkgver.tar.gz")
sha512sums=('4918802808fb12417db682831290adfa5a785ca34da5674b7a8ccc7c942a1de424c3085282912df326131e978daf771d71c6b33aeb3cb2590c70b5ff6e557b07')
build() {
cd "PyMySQL-$pkgver"
python setup.py build
}
package() {
cd "PyMySQL-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
--skip-build
}