commit:     8aef8082283167d6efba9d44cdf35d9f20942f7d
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 11:16:51 2024 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 11:17:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aef8082

sci-chemistry/gromacs: Update deps for man/help build

Closes: https://bugs.gentoo.org/946229
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/gromacs/gromacs-2025.0_beta.ebuild | 11 ++++++++++-
 sci-chemistry/gromacs/gromacs-2025.9999.ebuild   | 11 ++++++++++-
 sci-chemistry/gromacs/gromacs-9999.ebuild        | 11 ++++++++++-
 3 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/gromacs/gromacs-2025.0_beta.ebuild 
b/sci-chemistry/gromacs/gromacs-2025.0_beta.ebuild
index 5008ec6e3402..b3605cdfa525 100644
--- a/sci-chemistry/gromacs/gromacs-2025.0_beta.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2025.0_beta.ebuild
@@ -63,6 +63,15 @@ CDEPEND="
 BDEPEND="${CDEPEND}
        virtual/pkgconfig
        clang? ( >=llvm-core/clang-6:* )
+       doc? (
+               $(python_gen_cond_dep '
+                       dev-python/sphinx[${PYTHON_USEDEP}]
+                       dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
+                       dev-python/sphinx-inline-tabs[${PYTHON_USEDEP}]
+                       dev-python/sphinx-argparse[${PYTHON_USEDEP}]
+                       dev-python/sphinxcontrib-autoprogram[${PYTHON_USEDEP}]
+               ')
+       )
        build-manual? (
                app-text/doxygen
                $(python_gen_cond_dep '
@@ -244,7 +253,7 @@ src_configure() {
                -DGMX_USE_HDF5=off
                -DGMX_HWLOC=$(usex hwloc)
                -DGMX_DEFAULT_SUFFIX=off
-               -DGMX_BUILD_HELP=on
+               -DGMX_BUILD_HELP=$(usex doc)
                -DGMX_SIMD="$acce"
                -DGMX_NNPOT="$nnpot"
                
-DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"

diff --git a/sci-chemistry/gromacs/gromacs-2025.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2025.9999.ebuild
index 246e16303e94..bec110e3340c 100644
--- a/sci-chemistry/gromacs/gromacs-2025.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2025.9999.ebuild
@@ -63,6 +63,15 @@ CDEPEND="
 BDEPEND="${CDEPEND}
        virtual/pkgconfig
        clang? ( >=llvm-core/clang-6:* )
+       doc? (
+               $(python_gen_cond_dep '
+                       dev-python/sphinx[${PYTHON_USEDEP}]
+                       dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
+                       dev-python/sphinx-inline-tabs[${PYTHON_USEDEP}]
+                       dev-python/sphinx-argparse[${PYTHON_USEDEP}]
+                       dev-python/sphinxcontrib-autoprogram[${PYTHON_USEDEP}]
+               ')
+       )
        build-manual? (
                app-text/doxygen
                $(python_gen_cond_dep '
@@ -239,7 +248,7 @@ src_configure() {
                -DGMX_USE_HDF5=off
                -DGMX_HWLOC=$(usex hwloc)
                -DGMX_DEFAULT_SUFFIX=off
-               -DGMX_BUILD_HELP=on
+               -DGMX_BUILD_HELP=$(usex doc)
                -DGMX_SIMD="$acce"
                -DGMX_NNPOT="$nnpot"
                
-DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"

diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild 
b/sci-chemistry/gromacs/gromacs-9999.ebuild
index 42d8e3a5c0c7..1cc913c0aeed 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -64,6 +64,15 @@ CDEPEND="
 BDEPEND="${CDEPEND}
        virtual/pkgconfig
        clang? ( >=llvm-core/clang-6:* )
+       doc? (
+               $(python_gen_cond_dep '
+                       dev-python/sphinx[${PYTHON_USEDEP}]
+                       dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
+                       dev-python/sphinx-inline-tabs[${PYTHON_USEDEP}]
+                       dev-python/sphinx-argparse[${PYTHON_USEDEP}]
+                       dev-python/sphinxcontrib-autoprogram[${PYTHON_USEDEP}]
+               ')
+       )
        build-manual? (
                app-text/doxygen
                $(python_gen_cond_dep '
@@ -240,7 +249,7 @@ src_configure() {
                -DGMX_USE_HDF5=$(usex hdf5)
                -DGMX_HWLOC=$(usex hwloc)
                -DGMX_DEFAULT_SUFFIX=off
-               -DGMX_BUILD_HELP=on
+               -DGMX_BUILD_HELP=$(usex doc)
                -DGMX_SIMD="$acce"
                -DGMX_NNPOT="$nnpot"
                
-DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"

Reply via email to