summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2019-10-04 14:23:51 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2019-10-04 14:24:11 +0300
commitd290d69a0b4425f6d232d85afd107df1a7aefcd5 (patch)
treede11b210f4dff828bde548688027b0d76a43bac5 /sci-chemistry/gromacs
parentsci-libs/openfoam-bin: Remove last-rited pkg (diff)
downloadgentoo-d290d69a0b4425f6d232d85afd107df1a7aefcd5.tar.gz
gentoo-d290d69a0b4425f6d232d85afd107df1a7aefcd5.tar.bz2
gentoo-d290d69a0b4425f6d232d85afd107df1a7aefcd5.zip
sci-chemistry/gromacs: Fix some pkgchek warnings
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'sci-chemistry/gromacs')
-rw-r--r--sci-chemistry/gromacs/gromacs-2018.7.ebuild2
-rw-r--r--sci-chemistry/gromacs/gromacs-2018.9999.ebuild2
-rw-r--r--sci-chemistry/gromacs/gromacs-2019.2.ebuild2
-rw-r--r--sci-chemistry/gromacs/gromacs-2019.3.ebuild2
-rw-r--r--sci-chemistry/gromacs/gromacs-2019.4.ebuild2
-rw-r--r--sci-chemistry/gromacs/gromacs-2019.9999.ebuild18
-rw-r--r--sci-chemistry/gromacs/gromacs-9999.ebuild2
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 fd73db9a9811..8e5e3827188b 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 0c57c8b32c12..0f1504ebd169 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 1e54e37089df..58d733d2c332 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 67a1967e581f..5254b1f3f38b 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 07847d417d66..a08d3ecc9027 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 f91506d7e52c..a08d3ecc9027 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 1fcf6ea17036..f9d980d7c0f3 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