aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2014-04-03 14:07:10 +0200
committerAndreas Schäfer <gentryx@gmx.de>2014-04-03 14:07:10 +0200
commit4c4ab5a02e275539e663df8f611a8372e3f320aa (patch)
tree208ab89fd9e805562edb8b5ade6227e19d0fc8b5 /sci-visualization/visit
parentadd Python packages to path (diff)
downloadsci-4c4ab5a02e275539e663df8f611a8372e3f320aa.tar.gz
sci-4c4ab5a02e275539e663df8f611a8372e3f320aa.tar.bz2
sci-4c4ab5a02e275539e663df8f611a8372e3f320aa.zip
now symlinking Python packages instead of modifying the environment
Diffstat (limited to 'sci-visualization/visit')
-rw-r--r--sci-visualization/visit/visit-2.7.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-visualization/visit/visit-2.7.2.ebuild b/sci-visualization/visit/visit-2.7.2.ebuild
index c259e6977..464d9bf40 100644
--- a/sci-visualization/visit/visit-2.7.2.ebuild
+++ b/sci-visualization/visit/visit-2.7.2.ebuild
@@ -69,9 +69,13 @@ src_configure() {
src_install() {
cmake-utils_src_install
+ cd ${ED}/opt/visit/${PV}/linux-`arch`/lib/site-packages
+ for i in *; do
+ dosym "/opt/visit/${PV}/linux-`arch`/lib/site-packages/${i}" "$(python_get_sitedir)/$i"
+ done
+
cat > "${T}"/99visit <<- EOF
PATH=${EPREFIX}/opt/visit/bin
- PYTHONPATH=/opt/visit/${PV}/linux-`arch`/lib/site-packages
EOF
doenvd "${T}"/99visit
}