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

Evgeniy Alekseev arcanis at archlinux.org
Mon Aug 27 06:57:22 UTC 2018


    Date: Monday, August 27, 2018 @ 06:57:22
  Author: arcanis
Revision: 374704

archrelease: copy trunk to community-any

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

-----------+
 ChangeLog |   73 ++++++++++++++++++++++++----------------------
 PKGBUILD  |   94 ++++++++++++++++++++++++++++++------------------------------
 2 files changed, 85 insertions(+), 82 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2018-08-27 06:57:03 UTC (rev 374703)
+++ ChangeLog	2018-08-27 06:57:22 UTC (rev 374704)
@@ -1,35 +0,0 @@
-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]

Copied: python-mysql-connector/repos/community-any/ChangeLog (from rev 374703, python-mysql-connector/trunk/ChangeLog)
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2018-08-27 06:57:22 UTC (rev 374704)
@@ -0,0 +1,38 @@
+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	2018-08-27 06:57:03 UTC (rev 374703)
+++ PKGBUILD	2018-08-27 06:57:22 UTC (rev 374704)
@@ -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.11
-pkgrel=2
-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=('9fd08f6ea7d9c60a9b9e21628d77ff41e967242441651ff46e7eaaa7dda727357f83e134e21a2bbc82a10b973abe3c56af411ae5ee68715378dc70ed9f25e27f')
-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 374703, python-mysql-connector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-27 06:57:22 UTC (rev 374704)
@@ -0,0 +1,47 @@
+# 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.12
+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=('ec18b39db250ce289f4e7ee382b9f3b12385e393dc032380753e0a60992ec1e2c6bc63559545cc3ade90a8b378407d7afe780d0b36a27294bdd38f071f0ad4d5')
+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