summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-08-17 18:29:16 +0200
committerJustin Lecher <jlec@gentoo.org>2015-08-17 18:29:20 +0200
commit633d3227d5b301fe91c7ffb775789db38fa7e952 (patch)
tree2f78bae79bbdad95b9357d8c01f8dcfb518825c5 /sci-chemistry
parentmedia-gfx/phototonic: version bump to 1.6.17 (diff)
downloadgentoo-633d3227d5b301fe91c7ffb775789db38fa7e952.tar.gz
gentoo-633d3227d5b301fe91c7ffb775789db38fa7e952.tar.bz2
gentoo-633d3227d5b301fe91c7ffb775789db38fa7e952.zip
sci-chemistry/prodecomp: Fix launcher and double Prefix
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/prodecomp/prodecomp-3.0-r1.ebuild (renamed from sci-chemistry/prodecomp/prodecomp-3.0.ebuild)5
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-chemistry/prodecomp/prodecomp-3.0.ebuild b/sci-chemistry/prodecomp/prodecomp-3.0-r1.ebuild
index 28791c9108b..a424245d30b 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
}