[arch-commits] Commit in python-mysql-connector/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 08:28:44 UTC 2020
Date: Tuesday, November 10, 2020 @ 08:28:44
Author: foutrelis
Revision: 749426
archrelease: copy trunk to community-staging-any
Added:
python-mysql-connector/repos/community-staging-any/
python-mysql-connector/repos/community-staging-any/PKGBUILD
(from rev 749425, python-mysql-connector/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-mysql-connector/repos/community-staging-any/PKGBUILD (from rev 749425, python-mysql-connector/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 08:28:44 UTC (rev 749426)
@@ -0,0 +1,26 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Raphaël Doursenaud <rdoursenaud at free dot fr>
+
+pkgname=python-mysql-connector
+_pkgname=mysql-connector-python
+pkgver=8.0.22
+pkgrel=1
+pkgdesc="A standardized database driver for Python platforms and development"
+arch=('any')
+url="https://dev.mysql.com/downloads/connector/python/"
+license=('GPL')
+depends=('python' 'python-dnspython')
+makedepends=('python-setuptools')
+source=("https://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('07f380922c18f9ade38f95d8e107fe8f90b8a7901fb9a36bbdfdb2b29f9cb79b0b6387a608e89bf90e9344c635d47184c750a206beacb2c9cc7615d6a7df2c29')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list