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

Evgeniy Alekseev arcanis at archlinux.org
Sun Apr 26 18:40:30 UTC 2015


    Date: Sunday, April 26, 2015 @ 20:40:30
  Author: arcanis
Revision: 132279

archrelease: copy trunk to community-any

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

-----------+
 ChangeLog |   31 +++++++++++---------
 PKGBUILD  |   92 ++++++++++++++++++++++++++++++------------------------------
 2 files changed, 63 insertions(+), 60 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2015-04-26 18:40:22 UTC (rev 132278)
+++ ChangeLog	2015-04-26 18:40:30 UTC (rev 132279)
@@ -1,14 +0,0 @@
-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 132278, python-mysql-connector/trunk/ChangeLog)
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2015-04-26 18:40:30 UTC (rev 132279)
@@ -0,0 +1,17 @@
+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	2015-04-26 18:40:22 UTC (rev 132278)
+++ PKGBUILD	2015-04-26 18:40:30 UTC (rev 132279)
@@ -1,46 +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.0.3
-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=("http://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('cc350f4ab1231e790fe60051a8ee87f2')
-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 132278, python-mysql-connector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-26 18:40:30 UTC (rev 132279)
@@ -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.0.4
+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=("http://cdn.mysql.com/Downloads/Connector-Python/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('d6f5532a79c80f0daa90c0f8fc3a0952')
+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