diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/python-mysqlclient/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-mysqlclient/PKGBUILD b/abs/core/python_modules/python-mysqlclient/PKGBUILD new file mode 100644 index 0000000..8b49ff4 --- /dev/null +++ b/abs/core/python_modules/python-mysqlclient/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> + +pkgname=python-mysqlclient +_libname=${pkgname/python-/} +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Fork of MySQL-python with support for Python 3" +arch=('x86_64') +url="https://github.com/PyMySQL/mysqlclient-python" +license=('GPL') +depends=('python' 'libmysqlclient') +makedepends=('mysql' 'python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz") + +build() { + cd "$srcdir"/$_libname-$pkgver + python setup.py build +} + +package() { + cd "$srcdir"/$_libname-$pkgver + python setup.py install -O1 --skip-build --root="$pkgdir" +} + +sha256sums=('fb2f75aea14722390d2d8ddf384ad99da708c707a96656210a7be8af20a2c5e5') |