diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-11-19 13:01:32 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-11-19 13:02:37 -0500 |
commit | feaded53123dd31266b07bcabf60ca5b27e38144 (patch) | |
tree | c12edb1eb52313598eb3dae173e70ae01e2900cc /dev-python/mysql-connector-python | |
parent | sci-libs/opencascade: Restore installing modules into /etc/env.d/${PN} (diff) | |
download | gentoo-feaded53123dd31266b07bcabf60ca5b27e38144.tar.gz gentoo-feaded53123dd31266b07bcabf60ca5b27e38144.tar.bz2 gentoo-feaded53123dd31266b07bcabf60ca5b27e38144.zip |
dev-python/mysql-connector-python: bump to 2.1.4
Package-Manager: portage-2.3.2_p8
Diffstat (limited to 'dev-python/mysql-connector-python')
-rw-r--r-- | dev-python/mysql-connector-python/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mysql-connector-python/mysql-connector-python-2.1.4.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/mysql-connector-python/Manifest b/dev-python/mysql-connector-python/Manifest index 8677e187538b..29173b2a5855 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 000000000000..e6d01dccfa40 --- /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 +} |