summaryrefslogtreecommitdiff
path: root/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/pymol/pymol-2.3.0-r3.ebuild')
-rw-r--r--sci-chemistry/pymol/pymol-2.3.0-r3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild b/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild
index 58c0d6707c41..e469b6431e82 100644
--- a/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild
+++ b/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
-inherit distutils-r1 desktop eutils flag-o-matic xdg-utils
+inherit distutils-r1 desktop optfeature flag-o-matic xdg-utils
DESCRIPTION="A Python-extensible molecular graphics system"
HOMEPAGE="https://www.pymol.org/"
@@ -81,7 +81,7 @@ python_install_all() {
# These environment variables should not go in the wrapper script, or else
# it will be impossible to use the PyMOL libraries from Python.
- cat >> "${T}"/20pymol <<- EOF
+ cat >> "${T}"/20pymol <<- EOF || die
PYMOL_PATH="${EPREFIX}/usr/share/pymol"
PYMOL_DATA="${EPREFIX}/usr/share/pymol/data"
PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts"