summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-25 21:38:14 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-25 21:38:14 (GMT)
commit39ddfccf213c01f0b7ee9b99956a069a62189d0a (patch)
treee3236b3bc7860ecf7f0a3c38f549df12620f8778 /abs/core
parent3231403b8def5b8c57f6040ea8c99dd745dbc621 (diff)
downloadlinhes_pkgbuild-39ddfccf213c01f0b7ee9b99956a069a62189d0a.zip
linhes_pkgbuild-39ddfccf213c01f0b7ee9b99956a069a62189d0a.tar.gz
linhes_pkgbuild-39ddfccf213c01f0b7ee9b99956a069a62189d0a.tar.bz2
python-mysqlclient: 2.0.1
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/python-mysqlclient/PKGBUILD26
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')