diff --git a/sci-chemistry/gromacs/gromacs-2018.7.ebuild b/sci-chemistry/gromacs/gromacs-2018.7.ebuild index fd73db9a98119..8e5e3827188be 100644 --- a/sci-chemistry/gromacs/gromacs-2018.7.ebuild +++ b/sci-chemistry/gromacs/gromacs-2018.7.ebuild @@ -65,6 +65,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/sci-chemistry/gromacs/gromacs-2018.9999.ebuild b/sci-chemistry/gromacs/gromacs-2018.9999.ebuild index 0c57c8b32c12d..0f1504ebd169b 100644 --- a/sci-chemistry/gromacs/gromacs-2018.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-2018.9999.ebuild @@ -65,6 +65,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/sci-chemistry/gromacs/gromacs-2019.2.ebuild b/sci-chemistry/gromacs/gromacs-2019.2.ebuild index 1e54e37089df8..58d733d2c332d 100644 --- a/sci-chemistry/gromacs/gromacs-2019.2.ebuild +++ b/sci-chemistry/gromacs/gromacs-2019.2.ebuild @@ -73,6 +73,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/sci-chemistry/gromacs/gromacs-2019.3.ebuild b/sci-chemistry/gromacs/gromacs-2019.3.ebuild index 67a1967e581f6..5254b1f3f38ba 100644 --- a/sci-chemistry/gromacs/gromacs-2019.3.ebuild +++ b/sci-chemistry/gromacs/gromacs-2019.3.ebuild @@ -73,6 +73,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/sci-chemistry/gromacs/gromacs-2019.4.ebuild b/sci-chemistry/gromacs/gromacs-2019.4.ebuild index 07847d417d661..a08d3ecc90279 100644 --- a/sci-chemistry/gromacs/gromacs-2019.4.ebuild +++ b/sci-chemistry/gromacs/gromacs-2019.4.ebuild @@ -73,6 +73,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi diff --git a/sci-chemistry/gromacs/gromacs-2019.9999.ebuild b/sci-chemistry/gromacs/gromacs-2019.9999.ebuild index f91506d7e52cd..a08d3ecc90279 100644 --- a/sci-chemistry/gromacs/gromacs-2019.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-2019.9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 CMAKE_MAKEFILE_GENERATOR="ninja" @@ -51,7 +51,7 @@ CDEPEND=" mpi? ( virtual/mpi ) ${PYTHON_DEPS} " -DEPEND="${CDEPEND} +BDEPEND="${CDEPEND} virtual/pkgconfig doc? ( app-doc/doxygen @@ -73,6 +73,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi @@ -233,9 +235,11 @@ src_configure() { mycmakeargs=( ${mycmakeargs_pre[@]} ${p} -DGMX_THREAD_MPI=OFF - -DGMX_MPI=ON ${cuda} + -DGMX_MPI=ON -DGMX_OPENMM=OFF -DGMXAPI=OFF + "${opencl[@]}" + "${cuda[@]}" -DGMX_BUILD_MDRUN_ONLY=ON -DBUILD_SHARED_LIBS=OFF -DGMX_BUILD_MANUAL=OFF @@ -289,14 +293,14 @@ src_install() { doins src/external/tng_io/include/tng/*h fi # drop unneeded stuff - rm "${ED}"usr/bin/GMXRC* || die - for x in "${ED}"usr/bin/gmx-completion-*.bash ; do + rm "${ED}"/usr/bin/GMXRC* || die + for x in "${ED}"/usr/bin/gmx-completion-*.bash ; do local n=${x##*/gmx-completion-} n="${n%.bash}" - cat "${ED}"usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die + cat "${ED}"/usr/bin/gmx-completion.bash "$x" > "${T}/${n}" || die newbashcomp "${T}"/"${n}" "${n}" done - rm "${ED}"usr/bin/gmx-completion*.bash || die + rm "${ED}"/usr/bin/gmx-completion*.bash || die readme.gentoo_create_doc } diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild index 1fcf6ea170360..f9d980d7c0f3d 100644 --- a/sci-chemistry/gromacs/gromacs-9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-9999.ebuild @@ -68,6 +68,8 @@ REQUIRED_USE=" DOCS=( AUTHORS README ) +RESTRICT="!test? ( test )" + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/${PN}-${PV/_/-}" fi