From 39ddfccf213c01f0b7ee9b99956a069a62189d0a Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 25 Oct 2020 21:38:14 +0000 Subject: python-mysqlclient: 2.0.1 --- .../python_modules/python-mysqlclient/PKGBUILD | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/core/python_modules/python-mysqlclient/PKGBUILD 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 +# Contributor: Massimiliano Torromeo + +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') -- cgit v0.12