1 |
commit: 45a1aa11ca88530be7230c350a47c17604ab5018 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 7 08:53:51 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 7 08:53:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a1aa11 |
7 |
|
8 |
sci-chemistry/pymol: Inherit optfeature.eclass |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sci-chemistry/pymol/pymol-2.3.0-r3.ebuild | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild b/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild |
17 |
index 58c0d6707c4..e469b6431e8 100644 |
18 |
--- a/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild |
19 |
+++ b/sci-chemistry/pymol/pymol-2.3.0-r3.ebuild |
20 |
@@ -5,7 +5,7 @@ EAPI=7 |
21 |
|
22 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
23 |
|
24 |
-inherit distutils-r1 desktop eutils flag-o-matic xdg-utils |
25 |
+inherit distutils-r1 desktop optfeature flag-o-matic xdg-utils |
26 |
|
27 |
DESCRIPTION="A Python-extensible molecular graphics system" |
28 |
HOMEPAGE="https://www.pymol.org/" |
29 |
@@ -81,7 +81,7 @@ python_install_all() { |
30 |
|
31 |
# These environment variables should not go in the wrapper script, or else |
32 |
# it will be impossible to use the PyMOL libraries from Python. |
33 |
- cat >> "${T}"/20pymol <<- EOF |
34 |
+ cat >> "${T}"/20pymol <<- EOF || die |
35 |
PYMOL_PATH="${EPREFIX}/usr/share/pymol" |
36 |
PYMOL_DATA="${EPREFIX}/usr/share/pymol/data" |
37 |
PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts" |