Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/
Date: Tue, 01 Jun 2021 08:56:57
Message-Id: 1622537806.717464e1e4f838443a39d2bd22f786daf0fbd176.andrewammerlaan@gentoo
1 commit: 717464e1e4f838443a39d2bd22f786daf0fbd176
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 1 08:56:46 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 1 08:56:46 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=717464e1
7
8 sci-chemistry/MotionCor2: drop support for cuda 9.2
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild | 10 ++--------
14 sci-chemistry/MotionCor2/metadata.xml | 1 -
15 2 files changed, 2 insertions(+), 9 deletions(-)
16
17 diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
18 index 7092e39a7..c4d991410 100644
19 --- a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
20 +++ b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
21 @@ -11,12 +11,10 @@ S="${WORKDIR}"/${PN}_${PV}
22 LICENSE="UCSF-Motioncor2"
23 SLOT="0"
24 KEYWORDS="~amd64"
25 -IUSE="cuda92 +cuda102"
26 -REQUIRED_USE="^^ ( cuda92 cuda102 )"
27 +IUSE="+cuda102"
28 RESTRICT="fetch"
29
30 RDEPEND="
31 - cuda92? ( =dev-util/nvidia-cuda-toolkit-9.2* )
32 cuda102? ( =dev-util/nvidia-cuda-toolkit-10.2* )
33 media-libs/tiff
34 app-arch/xz-utils
35 @@ -38,11 +36,7 @@ src_install() {
36 # package also has 10.0 10.1 11.0 versions
37 # but these cuda versions are not in ::gentoo
38 local mcbin
39 - if use cuda92; then
40 - mcbin="${PN}_${PV}_Cuda92"
41 - elif use cuda102; then
42 - mcbin="${PN}_${PV}_Cuda102"
43 - fi
44 + mcbin="${PN}_${PV}_Cuda102"
45 dobin "${mcbin}"
46 dosym "${mcbin}" /usr/bin/MotionCor2
47 }
48
49 diff --git a/sci-chemistry/MotionCor2/metadata.xml b/sci-chemistry/MotionCor2/metadata.xml
50 index 5035d4d85..8571bf1df 100644
51 --- a/sci-chemistry/MotionCor2/metadata.xml
52 +++ b/sci-chemistry/MotionCor2/metadata.xml
53 @@ -10,7 +10,6 @@
54 <name>Alexey Shvetsov</name>
55 </maintainer>
56 <use>
57 - <flag name="cuda92">Install cuda-9.2 version</flag>
58 <flag name="cuda102">Install cuda-10.2 version</flag>
59 </use>
60 </pkgmetadata>