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 F12BE13877A for ; Tue, 2 Sep 2014 08:33:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA975E0D12; Tue, 2 Sep 2014 08:33:25 +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 88FCDE0D12 for ; Tue, 2 Sep 2014 08:33:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E1DB33FDBF for ; Tue, 2 Sep 2014 08:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B3F847FF for ; Tue, 2 Sep 2014 08:33:23 +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: <1409646786.12003265b0ac60fa20eb59fce66b93f9ab67b64a.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-base/pykde4/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/pykde4/pykde4-4.14.49.9999.ebuild X-VCS-Directories: kde-base/pykde4/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 12003265b0ac60fa20eb59fce66b93f9ab67b64a X-VCS-Branch: master Date: Tue, 2 Sep 2014 08:33:23 +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: 7532ff10-85ff-42be-ae69-f98c1143601b X-Archives-Hash: 724fbae29224438948d7600a04e48055 commit: 12003265b0ac60fa20eb59fce66b93f9ab67b64a Author: Michael Palimaka gentoo org> AuthorDate: Tue Sep 2 08:33:06 2014 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Tue Sep 2 08:33:06 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=12003265 [kde-base/pykde4] Sync with portage. Package-Manager: portage-2.2.10 --- kde-base/pykde4/pykde4-4.14.49.9999.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kde-base/pykde4/pykde4-4.14.49.9999.ebuild b/kde-base/pykde4/pykde4-4.14.49.9999.ebuild index 1c76427..1e1ebf3 100644 --- a/kde-base/pykde4/pykde4-4.14.49.9999.ebuild +++ b/kde-base/pykde4/pykde4-4.14.49.9999.ebuild @@ -25,7 +25,7 @@ RDEPEND=" nepomuk? ( >=dev-libs/soprano-2.9.0 ) " DEPEND="${RDEPEND} - dev-lang/python-exec:0[${PYTHON_USEDEP}] + dev-lang/python-exec:2[${PYTHON_USEDEP}] sys-devel/libtool " @@ -127,12 +127,16 @@ src_install() { installation() { emake DESTDIR="${D}" install - mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die + mkdir -p "${D%/}$(python_get_scriptdir)" || die + mv "${ED%/}/usr/bin/pykdeuic4-${EPYTHON/python/}" \ + "${D%/}$(python_get_scriptdir)"/pykdeuic4 || die + + python_fix_shebang "${D%/}$(python_get_scriptdir)"/pykdeuic4 python_optimize } python_foreach_impl run_in_build_dir installation - dosym python-exec /usr/bin/pykdeuic4 + dosym ../lib/python-exec/python-exec2 /usr/bin/pykdeuic4 # As we don't call the eclass's src_install, we have to install the docs manually DOCS=("${S}"/{AUTHORS,NEWS,README})