[arch-commits] Commit in python-mysqlclient/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:03:04 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:03:04
  Author: felixonmars
Revision: 749257

archrelease: copy trunk to community-staging-x86_64

Added:
  python-mysqlclient/repos/community-staging-x86_64/
  python-mysqlclient/repos/community-staging-x86_64/PKGBUILD
    (from rev 749256, python-mysqlclient/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-mysqlclient/repos/community-staging-x86_64/PKGBUILD (from rev 749256, python-mysqlclient/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 05:03:04 UTC (rev 749257)
@@ -0,0 +1,26 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-mysqlclient
+_libname=${pkgname/python-/}
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="Fork of MySQL-python with support for Python 3"
+arch=('x86_64')
+url="https://github.com/PyMySQL/mysqlclient-python"
+license=('GPL')
+depends=('python' 'mariadb-libs')
+makedepends=('mariadb' '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')



More information about the arch-commits mailing list