commit: 717464e1e4f838443a39d2bd22f786daf0fbd176
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 1 08:56:46 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 1 08:56:46 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=717464e1
sci-chemistry/MotionCor2: drop support for cuda 9.2
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild | 10 ++--------
sci-chemistry/MotionCor2/metadata.xml | 1 -
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
index 7092e39a7..c4d991410 100644
--- a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
+++ b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
@@ -11,12 +11,10 @@ S="${WORKDIR}"/${PN}_${PV}
LICENSE="UCSF-Motioncor2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="cuda92 +cuda102"
-REQUIRED_USE="^^ ( cuda92 cuda102 )"
+IUSE="+cuda102"
RESTRICT="fetch"
RDEPEND="
- cuda92? ( =dev-util/nvidia-cuda-toolkit-9.2* )
cuda102? ( =dev-util/nvidia-cuda-toolkit-10.2* )
media-libs/tiff
app-arch/xz-utils
@@ -38,11 +36,7 @@ src_install() {
# package also has 10.0 10.1 11.0 versions
# but these cuda versions are not in ::gentoo
local mcbin
- if use cuda92; then
- mcbin="${PN}_${PV}_Cuda92"
- elif use cuda102; then
- mcbin="${PN}_${PV}_Cuda102"
- fi
+ mcbin="${PN}_${PV}_Cuda102"
dobin "${mcbin}"
dosym "${mcbin}" /usr/bin/MotionCor2
}
diff --git a/sci-chemistry/MotionCor2/metadata.xml
b/sci-chemistry/MotionCor2/metadata.xml
index 5035d4d85..8571bf1df 100644
--- a/sci-chemistry/MotionCor2/metadata.xml
+++ b/sci-chemistry/MotionCor2/metadata.xml
@@ -10,7 +10,6 @@
<name>Alexey Shvetsov</name>
</maintainer>
<use>
- <flag name="cuda92">Install cuda-9.2 version</flag>
<flag name="cuda102">Install cuda-10.2 version</flag>
</use>
</pkgmetadata>