From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3720E1395E2 for ; Sat, 19 Nov 2016 18:02:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88137E0AB3; Sat, 19 Nov 2016 18:02:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6116CE0AB3 for ; Sat, 19 Nov 2016 18:02:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60CB5340C97 for ; Sat, 19 Nov 2016 18:02:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0C95332 for ; Sat, 19 Nov 2016 18:02:40 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1479578557.feaded53123dd31266b07bcabf60ca5b27e38144.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mysql-connector-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mysql-connector-python/Manifest dev-python/mysql-connector-python/mysql-connector-python-2.1.4.ebuild X-VCS-Directories: dev-python/mysql-connector-python/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: feaded53123dd31266b07bcabf60ca5b27e38144 X-VCS-Branch: master Date: Sat, 19 Nov 2016 18:02:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fdd7d75b-8ed0-4718-af3f-a29f7c7ea497 X-Archives-Hash: dccdb1bfa0d363ee2ba1f8d206d43f08 commit: feaded53123dd31266b07bcabf60ca5b27e38144 Author: Mike Gilbert gentoo org> AuthorDate: Sat Nov 19 18:01:32 2016 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Nov 19 18:02:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feaded53 dev-python/mysql-connector-python: bump to 2.1.4 Package-Manager: portage-2.3.2_p8 dev-python/mysql-connector-python/Manifest | 1 + .../mysql-connector-python-2.1.4.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/mysql-connector-python/Manifest b/dev-python/mysql-connector-python/Manifest index 8677e18..29173b2 100644 --- a/dev-python/mysql-connector-python/Manifest +++ b/dev-python/mysql-connector-python/Manifest @@ -1,3 +1,4 @@ DIST mysql-connector-python-2.0.3.tar.gz 210699 SHA256 b07a42c6c1d0476d47315428df89f3fd84626d1df18045babdaa182a6a331ec8 SHA512 2c9c6ee8042c3a694b7a88841176db682ae17def03e6a9628e098b5652d387eca882cbf1ec3e6d963c3b3913f66bc63e26ce7cc82a5f9fba01dfe00fcb574d7c WHIRLPOOL 41fe675d60b24a73f959117fb9ab85257d821f6f53f7f8f2ca0029aa17100ef30b7201f71dffd52bc64bca3e435f725bb9fac573078b852161507991990f6aca DIST mysql-connector-python-2.1.1.tar.gz 260751 SHA256 5306e982592fbd4adbdc6a89f198f175ac1a7353c7c57def59e1d2e74b954cb3 SHA512 02eef242c186ed648454225bbb75931fa7099d1286cb3425224e86c57ba5e7cca3bb2216892109c8be366596e76c671d4ebde7c6641fc39869cbffeb3738597c WHIRLPOOL 57b7390403b54727fac4cd0d92323190ac37e9f8b18bc588cef569d336b8db2fa36b5ddeaf1887ecff4e61ffab941a156c858ff626060536e8d7cdca6102e53e DIST mysql-connector-python-2.1.3.tar.gz 271939 SHA256 c6b5975de7117c41cb7364f2fb99c7f2e58b33c670b74a2d3c5b4a91a52720e3 SHA512 52c865beae4088bbd3b49ede15f3d2de27fa160ff2bff579d4845f32e2963213c7b31f76689cb040b370e698f63d84adebd2b178df427f472741561c70ab61a8 WHIRLPOOL f5b9cf827880dafd625d01e52525177c183a771d5ce696ac4dc5bb2859f80ed4120ca31a137098dd40a4c84334d2485ec575120edf5669a8f02936747846c318 +DIST mysql-connector-python-2.1.4.tar.gz 11766506 SHA256 f34f2ac9984c3b3065347506653b88cb2661b0a891871c80dc767c3a1352079b SHA512 1071c4b3d0e30dd90cb1ed7d6376a7dd688f16b285ab28c26eccd182a3b3c5bb3c36890aec38b037ccf70e2c2ae24a9013139c7ca71e69ae8e9e29f2c15204d9 WHIRLPOOL 0c461129dabc929400784204672fa39bf16e489a257bfd2c050b366f6ad2f7cd482d1410284ac844ce50c937eb7ec3012149ae1e2de8b25d1b289a37167edf9e diff --git a/dev-python/mysql-connector-python/mysql-connector-python-2.1.4.ebuild b/dev-python/mysql-connector-python/mysql-connector-python-2.1.4.ebuild new file mode 100644 index 00000000..e6d01dc --- /dev/null +++ b/dev-python/mysql-connector-python/mysql-connector-python-2.1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit distutils-r1 + +DESCRIPTION="Python client library for MariaDB/MySQL" +HOMEPAGE="https://dev.mysql.com/downloads/connector/python/" +SRC_URI="https://dev.mysql.com/get/Downloads/Connector-Python/${P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="examples test" + +# tests/mysqld.py does not like MariaDB version strings. +# See the regex MySQLServerBase._get_version. +DEPEND="test? ( dev-db/mysql[server(+)] )" + +# Tests currently fail. +# mysql.connector.errors.DatabaseError: 1300 (HY000): Invalid utf8 character string: '' +RESTRICT="test" + +DOCS=( README.txt CHANGES.txt docs/README_DOCS.txt ) + +python_test() { + "${EPYTHON}" unittests.py --with-mysql="${EPREFIX}/usr" --unix-socket="${T}" +} + +python_install_all(){ + distutils-r1_python_install_all + if use examples ; then + dodoc -r examples + fi +}