commit: d290d69a0b4425f6d232d85afd107df1a7aefcd5
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 4 11:23:51 2019 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Oct 4 11:24:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d290d69a
sci-chemistry/gromacs: Fix some pkgchek warnings
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
sci-chemistry/gromacs/gromacs-2018.7.ebuild | 2 ++
sci-chemistry/gromacs/gromacs-2018.9999.ebuild | 2 ++
sci-chemistry/gromacs/gromacs-2019.2.ebuild | 2 ++
sci-chemistry/gromacs/gromacs-2019.3.ebuild | 2 ++
sci-chemistry/gromacs/gromacs-2019.4.ebuild | 2 ++
sci-chemistry/gromacs/gromacs-2019.9999.ebuild | 18 +++++++++++-------
sci-chemistry/gromacs/gromacs-9999.ebuild | 2 ++
7 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/sci-chemistry/gromacs/gromacs-2018.7.ebuild
b/sci-chemistry/gromacs/gromacs-2018.7.ebuild
index fd73db9a981..8e5e3827188 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 0c57c8b32c1..0f1504ebd16 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 1e54e37089d..58d733d2c33 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 67a1967e581..5254b1f3f38 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 07847d417d6..a08d3ecc902 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 f91506d7e52..a08d3ecc902 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 1fcf6ea1703..f9d980d7c0f 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