diff options
author | Britney Fransen <brfransen@gmail.com> | 2020-10-25 21:38:14 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2020-10-25 21:38:14 (GMT) |
commit | 39ddfccf213c01f0b7ee9b99956a069a62189d0a (patch) | |
tree | e3236b3bc7860ecf7f0a3c38f549df12620f8778 /abs/core/python_modules | |
parent | 3231403b8def5b8c57f6040ea8c99dd745dbc621 (diff) | |
download | linhes_pkgbuild-39ddfccf213c01f0b7ee9b99956a069a62189d0a.zip linhes_pkgbuild-39ddfccf213c01f0b7ee9b99956a069a62189d0a.tar.gz linhes_pkgbuild-39ddfccf213c01f0b7ee9b99956a069a62189d0a.tar.bz2 |
python-mysqlclient: 2.0.1
Diffstat (limited to 'abs/core/python_modules')
-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') |