[arch-commits] Commit in python-mysql-connector/repos/community-any (3 files)
Lukas Fleischer
lfleischer at archlinux.org
Mon Oct 28 14:16:22 UTC 2019
Date: Monday, October 28, 2019 @ 14:16:22
Author: lfleischer
Revision: 520843
archrelease: copy trunk to community-any
Added:
python-mysql-connector/repos/community-any/PKGBUILD
(from rev 520842, python-mysql-connector/trunk/PKGBUILD)
Deleted:
python-mysql-connector/repos/community-any/ChangeLog
python-mysql-connector/repos/community-any/PKGBUILD
-----------+
ChangeLog | 44 ----------------------------
PKGBUILD | 93 +++++++++++++++++++++++++++++-------------------------------
2 files changed, 46 insertions(+), 91 deletions(-)
Deleted: ChangeLog
===================================================================
--- ChangeLog 2019-10-28 14:16:16 UTC (rev 520842)
+++ ChangeLog 2019-10-28 14:16:22 UTC (rev 520843)
@@ -1,44 +0,0 @@
-8.0.15-1:
-upstream update
-
-8.0.13-1:
-upstream update
-
-8.0.12-1:
-upstream update
-
-2.1.7-1:
-upstream update
-
-2.1.6-1:
-upstream update
-
-2.1.5-1:
-upstream update
-
-2.1.4-1:
-upstream update
-
-2.1.3-1:
-upstream update
-
-2.0.4-2:
-python3.5 rebuild
-
-2.0.4-1:
-upstream update
-
-2.0.3-1:
-upstream update
-
-2.0.2-1:
-upstream update
-
-2.0.1-1:
-upstream update
-
-1.2.3-1:
-upstream update
-
-1.2.2-1:
-move from AUR into [community]
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-28 14:16:16 UTC (rev 520842)
+++ PKGBUILD 2019-10-28 14:16:22 UTC (rev 520843)
@@ -1,47 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Contributor: Raphaël Doursenaud <rdoursenaud at free dot fr>
-
-pkgbase=python-mysql-connector
-pkgname=('python-mysql-connector' 'python2-mysql-connector')
-_pkgname=mysql-connector-python
-pkgver=8.0.15
-pkgrel=1
-pkgdesc="A standardized database driver for Python platforms and development"
-arch=('any')
-url="http://dev.mysql.com/downloads/connector/python/"
-license=('GPL')
-depends=('python' 'python2')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('7c4bb2d5e85996a32d92f948e6b7235b87fe1258ecb4e87e01d64feae46662de0c12b5aea598bb4a8fccc0a1cea51694b8027ba6e3b7462ca58ed5e65b86c6ed')
-changelog=ChangeLog
-
-prepare() {
- cp -r "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"
- # change python to python2
- find "${_pkgname}-${pkgver}-py2" -name '*.py' -type f -exec \
- sed -i 's|env python|env python2|' {} \;
-}
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py build
-
- cd "${srcdir}/${_pkgname}-${pkgver}-py2"
- python2 setup.py build
-}
-
-package_python-mysql-connector() {
- depends=('python')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-mysql-connector() {
- depends=('python2')
-
- cd "${srcdir}/${_pkgname}-${pkgver}-py2"
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: python-mysql-connector/repos/community-any/PKGBUILD (from rev 520842, python-mysql-connector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-28 14:16:22 UTC (rev 520843)
@@ -0,0 +1,46 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Raphaël Doursenaud <rdoursenaud at free dot fr>
+
+pkgbase=python-mysql-connector
+pkgname=('python-mysql-connector' 'python2-mysql-connector')
+_pkgname=mysql-connector-python
+pkgver=8.0.18
+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' 'python2')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('cb441a6388de8609b56e4d9885ae2491d207c7b1e3bb387341d55853d383eff6e268e34feb32b42797c7b210d35f9d6dbc302ea4c9ed2441a76b91ea66d504b2')
+
+prepare() {
+ cp -r "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"
+ # change python to python2
+ find "${_pkgname}-${pkgver}-py2" -name '*.py' -type f -exec \
+ sed -i 's|env python|env python2|' {} \;
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+
+ cd "${srcdir}/${_pkgname}-${pkgver}-py2"
+ python2 setup.py build
+}
+
+package_python-mysql-connector() {
+ depends=('python')
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-mysql-connector() {
+ depends=('python2')
+
+ cd "${srcdir}/${_pkgname}-${pkgver}-py2"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list