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 DC9DA1387FD for ; Thu, 12 Jun 2014 16:04:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01CDDE07F2; Thu, 12 Jun 2014 16:04:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84F67E07F2 for ; Thu, 12 Jun 2014 16:04:04 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B5E133F8DC for ; Thu, 12 Jun 2014 16:04:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 62F05181A9 for ; Thu, 12 Jun 2014 16:04:01 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1402588948.626e983a151a3f1c2e0f348c6de624d8bb97fc9e.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop-python/ X-VCS-Repository: proj/kde X-VCS-Files: dev-util/kdevelop-python/kdevelop-python-4.9999.ebuild X-VCS-Directories: dev-util/kdevelop-python/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 626e983a151a3f1c2e0f348c6de624d8bb97fc9e X-VCS-Branch: master Date: Thu, 12 Jun 2014 16:04:01 +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: 89e9b5c2-cc92-4b84-b43b-205c22752303 X-Archives-Hash: 7ba68b2c6ebd93ac857ba1b258f17d07 commit: 626e983a151a3f1c2e0f348c6de624d8bb97fc9e Author: Michael Palimaka gentoo org> AuthorDate: Thu Jun 12 16:02:28 2014 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu Jun 12 16:02:28 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=626e983a [dev-util/kdevelop-python] Fix build when Python 3 is system default wrt bug #512654. Package-Manager: portage-2.2.10 --- dev-util/kdevelop-python/kdevelop-python-4.9999.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dev-util/kdevelop-python/kdevelop-python-4.9999.ebuild b/dev-util/kdevelop-python/kdevelop-python-4.9999.ebuild index 0966b15..c9be191 100644 --- a/dev-util/kdevelop-python/kdevelop-python-4.9999.ebuild +++ b/dev-util/kdevelop-python/kdevelop-python-4.9999.ebuild @@ -8,7 +8,8 @@ KDEBASE="kdevelop" KMNAME="kdev-python" KDE_LINGUAS="bs ca ca@valencia da de es fi fr gl it kk nl pt pt_BR sk sl sv uk zh_TW" -inherit kde4-base +PYTHON_COMPAT=( python2_7 ) +inherit kde4-base python-any-r1 MY_PN="${KMNAME}" MY_P="${MY_PN}-${PV}" @@ -24,14 +25,20 @@ fi DESCRIPTION="Python plugin for KDevelop 4" IUSE="debug" -DEPEND=">=dev-util/kdevplatform-${PV}:4" +COMMON_DEPEND=">=dev-util/kdevplatform-${PV}:4" +DEPEND="${PYTHON_DEPS}" RDEPEND=" - ${DEPEND} + ${COMMON_DEPEND} dev-util/kdevelop:4 " RESTRICT="test" +pkg_setup() { + python-any-r1_pkg_setup + kde4-base_pkg_setup +} + src_compile() { pushd "${WORKDIR}"/${P}_build > /dev/null emake parser