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 42E351397E6 for ; Mon, 17 Aug 2015 16:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA69DE0858; Mon, 17 Aug 2015 16:29: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 89E70E0858 for ; Mon, 17 Aug 2015 16:29:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4648340B4F for ; Mon, 17 Aug 2015 16:29:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C879913F for ; Mon, 17 Aug 2015 16:29:22 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1439828960.633d3227d5b301fe91c7ffb775789db38fa7e952.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prodecomp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/prodecomp/prodecomp-3.0-r1.ebuild sci-chemistry/prodecomp/prodecomp-3.0.ebuild X-VCS-Directories: sci-chemistry/prodecomp/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 633d3227d5b301fe91c7ffb775789db38fa7e952 X-VCS-Branch: master Date: Mon, 17 Aug 2015 16:29:22 +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: 194f430f-36d2-4809-b58d-315a8e30c18b X-Archives-Hash: 4e005c74f18c42581ec09dc6dd860bad commit: 633d3227d5b301fe91c7ffb775789db38fa7e952 Author: Justin Lecher gentoo org> AuthorDate: Mon Aug 17 16:29:16 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Aug 17 16:29:20 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633d3227 sci-chemistry/prodecomp: Fix launcher and double Prefix Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> .../prodecomp/{prodecomp-3.0.ebuild => prodecomp-3.0-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sci-chemistry/prodecomp/prodecomp-3.0.ebuild b/sci-chemistry/prodecomp/prodecomp-3.0-r1.ebuild similarity index 83% rename from sci-chemistry/prodecomp/prodecomp-3.0.ebuild rename to sci-chemistry/prodecomp/prodecomp-3.0-r1.ebuild index 28791c9..a424245 100644 --- a/sci-chemistry/prodecomp/prodecomp-3.0.ebuild +++ b/sci-chemistry/prodecomp/prodecomp-3.0-r1.ebuild @@ -24,6 +24,7 @@ DEPEND="" S="${WORKDIR}"/NMRProjAnalys src_install() { + python_export if use examples; then insinto /usr/share/${PN} doins -r ExampleData Results @@ -38,9 +39,9 @@ src_install() { cat >> "${T}"/${PN} <<- EOF #!/bin/bash - ${PYTHON} -O "${EPREFIX}"/$(python_get_sitedir)/${PN}/ProjAnalys.py $@ + ${PYTHON} -O $(python_get_sitedir)/${PN}/ProjAnalys.py \$@ EOF dobin "${T}"/${PN} - dosym ../../../../share/doc/${PF}/Manual.pdf $(python_get_sitedir)/${PN}/Manual.pdf + dosym ../../../../share/doc/${PF}/Manual.pdf "${PYTHON_SITEDIR##${EPREFIX}}"/${PN}/Manual.pdf }