From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D835D1381F3 for ; Sun, 29 Sep 2013 21:02:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD6E9E0FEA; Sun, 29 Sep 2013 21:02:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68C0EE0FEA for ; Sun, 29 Sep 2013 21:02:36 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52EDD33ED83 for ; Sun, 29 Sep 2013 21:02:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id F238EE5309 for ; Sun, 29 Sep 2013 21:02:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1380488594.e795094d40965db8811a59d97e89bac4eb5a970c.mgorny@gentoo> Subject: [gentoo-commits] proj/x11:master commit in: media-libs/mesa/ X-VCS-Repository: proj/x11 X-VCS-Files: media-libs/mesa/mesa-9999.ebuild X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e795094d40965db8811a59d97e89bac4eb5a970c X-VCS-Branch: master Date: Sun, 29 Sep 2013 21:02:33 +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: de66d864-f75b-4432-acb8-023b26d5ecfe X-Archives-Hash: 8f18d4d0d6862892889858fe01f090ee commit: e795094d40965db8811a59d97e89bac4eb5a970c Author: Michał Górny gentoo org> AuthorDate: Sun Sep 29 21:03:14 2013 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 29 21:03:14 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=e795094d media-libs/mesa: Convert to python-any-r1, using the new python_gen_any_dep function. Package-Manager: portage-2.2.7 --- media-libs/mesa/mesa-9999.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index f953f45..ee11af7 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -14,7 +14,7 @@ fi PYTHON_COMPAT=( python{2_6,2_7} ) inherit base autotools multilib multilib-minimal flag-o-matic \ - python-single-r1 toolchain-funcs ${GIT_ECLASS} + python-any-r1 toolchain-funcs ${GIT_ECLASS} OPENGL_DIR="xorg-x11" @@ -136,8 +136,6 @@ DEPEND="${RDEPEND} >=sys-devel/clang-3.3[${MULTILIB_USEDEP}] >=sys-devel/gcc-4.6 ) - ${PYTHON_DEPS} - dev-libs/libxml2[python,${PYTHON_USEDEP}] sys-devel/bison sys-devel/flex virtual/pkgconfig @@ -146,8 +144,13 @@ DEPEND="${RDEPEND} >=x11-proto/xextproto-7.0.99.1[${MULTILIB_USEDEP}] x11-proto/xf86driproto[${MULTILIB_USEDEP}] x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}] + $(python_gen_any_dep 'dev-libs/libxml2[python,${PYTHON_USEDEP}]') " +python_check_deps() { + has_version "dev-libs/libxml2[python,${PYTHON_USEDEP}]" +} + S="${WORKDIR}/${MY_P}" # It is slow without texrels, if someone wants slow @@ -161,7 +164,7 @@ pkg_setup() { # workaround toc-issue wrt #386545 use ppc64 && append-flags -mminimal-toc - python-single-r1_pkg_setup + python-any-r1_pkg_setup } src_unpack() {