summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-07 10:53:51 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-07 10:53:51 +0200
commit45a1aa11ca88530be7230c350a47c17604ab5018 (patch)
tree41a38683ff8448d435798f12d10feb00b0056253 /sci-chemistry/pymol
parentsci-chemistry/openbabel: Inherit optfeature.eclass (diff)
downloadgentoo-45a1aa11ca88530be7230c350a47c17604ab5018.tar.gz
gentoo-45a1aa11ca88530be7230c350a47c17604ab5018.tar.bz2
gentoo-45a1aa11ca88530be7230c350a47c17604ab5018.zip
sci-chemistry/pymol: Inherit optfeature.eclass
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry/pymol')
-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"