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 0BEE7138334 for ; Thu, 13 Sep 2018 19:42:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4E8EE0BF4; Thu, 13 Sep 2018 19:42:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 725DEE0BF4 for ; Thu, 13 Sep 2018 19:42:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DAC1335CF2 for ; Thu, 13 Sep 2018 19:42:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FFEE3D5 for ; Thu, 13 Sep 2018 19:42:18 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1536867708.1d2c680f6c4d63595d2d57fec8197d88342048d2.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mysql-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild X-VCS-Directories: dev-python/mysql-python/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 1d2c680f6c4d63595d2d57fec8197d88342048d2 X-VCS-Branch: master Date: Thu, 13 Sep 2018 19:42:18 +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: 2ad4c887-39da-425b-9acf-e3c9207ee43e X-Archives-Hash: 79b7328f082077be7f5a03657a57c490 commit: 1d2c680f6c4d63595d2d57fec8197d88342048d2 Author: Virgil Dupras gentoo org> AuthorDate: Thu Sep 13 19:41:48 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Thu Sep 13 19:41:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2c680f dev-python/mysql-python: drop virtual/mysql dependency Replace it with dev-db/mysql-connector-c Closes: https://bugs.gentoo.org/665890 Package-Manager: Portage-2.3.49, Repoman-2.3.10 .../mysql-python/mysql-python-1.2.5-r2.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild b/dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild new file mode 100644 index 00000000000..e82fab99879 --- /dev/null +++ b/dev-python/mysql-python/mysql-python-1.2.5-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 flag-o-matic + +MY_PN="MySQL-python" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python interface to MySQL" +HOMEPAGE="https://sourceforge.net/projects/mysql-python/ https://pypi.org/project/MySQL-python/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +RDEPEND="dev-db/mysql-connector-c" +DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND} + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +DOCS=( HISTORY README.md doc/{FAQ,MySQLdb}.rst ) + +python_configure_all() { + append-flags -fno-strict-aliasing +} + +python_compile_all() { + use doc && sphinx-build -b html doc doc/_build/ +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/. ) + distutils-r1_python_install_all +}