commit:     45a1aa11ca88530be7230c350a47c17604ab5018
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 08:53:51 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 08:53:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a1aa11

sci-chemistry/pymol: Inherit optfeature.eclass

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-chemistry/pymol/pymol-2.3.0-r3.ebuild | 4 ++--
 1 file 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 58c0d6707c4..e469b6431e8 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"

Reply via email to