[arch-commits] Commit in python-mysql-connector/repos/community-any (4 files)

Evgeniy Alekseev arcanis at archlinux.org
Wed Nov 22 14:30:04 UTC 2017


    Date: Wednesday, November 22, 2017 @ 14:30:03
  Author: arcanis
Revision: 268034

archrelease: copy trunk to community-any

Added:
  python-mysql-connector/repos/community-any/ChangeLog
    (from rev 268033, python-mysql-connector/trunk/ChangeLog)
  python-mysql-connector/repos/community-any/PKGBUILD
    (from rev 268033, python-mysql-connector/trunk/PKGBUILD)
Deleted:
  python-mysql-connector/repos/community-any/ChangeLog
  python-mysql-connector/repos/community-any/PKGBUILD

-----------+
 ChangeLog |   67 ++++++++++++++++++++++---------------------
 PKGBUILD  |   93 +++++++++++++++++++++++++++++-------------------------------
 2 files changed, 81 insertions(+), 79 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2017-11-22 14:29:51 UTC (rev 268033)
+++ ChangeLog	2017-11-22 14:30:03 UTC (rev 268034)
@@ -1,32 +0,0 @@
-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]

Copied: python-mysql-connector/repos/community-any/ChangeLog (from rev 268033, python-mysql-connector/trunk/ChangeLog)
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2017-11-22 14:30:03 UTC (rev 268034)
@@ -0,0 +1,35 @@
+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	2017-11-22 14:29:51 UTC (rev 268033)
+++ PKGBUILD	2017-11-22 14:30:03 UTC (rev 268034)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: 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=2.1.6
-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')
-source=("https://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('8ff1b29e1af0da4d5a4d63b981b25a24')
-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
-}
-md5sums=('32fddb04b0d2840303d92040c394504c')

Copied: python-mysql-connector/repos/community-any/PKGBUILD (from rev 268033, python-mysql-connector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-22 14:30:03 UTC (rev 268034)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: 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=2.1.7
+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')
+source=("https://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('f88c3a6dd3c3c1cd5c16165daef801dbcc7ea9163406273dd751e25687a57dcdf4ffbcdb65bb107e8cd9d7c91029823f625dc19ab34116398263fa074598880a')
+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
+}


More information about the arch-commits mailing list