commit: 5c3116b436f6c0e23bcfd4459d47bc52c14d0181
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 01:42:26 2018 +0000
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 01:42:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3116b4
sci-chemistry/gromacs: fix python dep
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>
sci-chemistry/gromacs/gromacs-2019.9999.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/gromacs/gromacs-2019.9999.ebuild
b/sci-chemistry/gromacs/gromacs-2019.9999.ebuild
index 8a643e0fb30..2fde5b4b55b 100644
--- a/sci-chemistry/gromacs/gromacs-2019.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2019.9999.ebuild
@@ -5,7 +5,9 @@ EAPI=6
CMAKE_MAKEFILE_GENERATOR="ninja"
-inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1
toolchain-funcs xdg-utils
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 cmake-utils cuda eutils multilib python-any-r1
readme.gentoo-r1 toolchain-funcs xdg-utils
if [[ $PV = *9999* ]]; then
EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
@@ -53,7 +55,8 @@ DEPEND="${CDEPEND}
virtual/pkgconfig
doc? (
app-doc/doxygen
- dev-python/sphinx
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
media-gfx/mscgen
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
@@ -165,6 +168,7 @@ src_configure() {
-DGMX_COOL_QUOTES=$(usex offensive)
-DGMX_USE_TNG=$(usex tng)
-DGMX_BUILD_MANUAL=$(usex doc)
+ -DPYTHON_EXECUTABLE="${PYTHON}"
-DGMX_HWLOC=$(usex hwloc)
-DGMX_DEFAULT_SUFFIX=off
-DGMX_SIMD="$acce"