Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/
Date: Thu, 31 Dec 2020 04:41:41
Message-Id: 1609389671.4f0dc74b37fd027e08f1834dc1d1604bf09716d0.epsilon-0@gentoo
1 commit: 4f0dc74b37fd027e08f1834dc1d1604bf09716d0
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Thu Dec 31 04:41:11 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Thu Dec 31 04:41:11 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4f0dc74b
7
8 sci-chemistry/MotionCor2: drop old version
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild | 49 ------------------------
14 sci-chemistry/MotionCor2/metadata.xml | 1 -
15 2 files changed, 50 deletions(-)
16
17 diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild b/sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild
18 deleted file mode 100644
19 index 006c06b64..000000000
20 --- a/sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild
21 +++ /dev/null
22 @@ -1,49 +0,0 @@
23 -# Copyright 2019 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -DESCRIPTION="Correction of electron beam-induced sample motion"
29 -HOMEPAGE="https://emcore.ucsf.edu/ucsf-motioncor2"
30 -SRC_URI="${PN}_${PV}.zip"
31 -
32 -LICENSE="UCSF-Motioncor2"
33 -SLOT="0"
34 -KEYWORDS="~amd64"
35 -IUSE="cuda92 +cuda101"
36 -
37 -DEPEND="
38 - cuda92? ( =dev-util/nvidia-cuda-toolkit-9.2* )
39 - cuda101? ( =dev-util/nvidia-cuda-toolkit-10.1* )
40 - media-libs/tiff
41 - app-arch/xz-utils
42 - || ( media-libs/jpeg:62 media-libs/libjpeg-turbo )
43 -"
44 -RDEPEND="${DEPEND}"
45 -BDEPEND=""
46 -
47 -REQUIRED_USE="^^ ( cuda92 cuda101 )"
48 -
49 -RESTRICT="fetch"
50 -VERSION="MotionCor2 v1.2.6 (05-22.2019, Linux) now Cuda v8.0,9.2,10.1"
51 -
52 -S="${WORKDIR}"
53 -
54 -pkg_nofetch() {
55 - echo
56 - elog "Please download ${PN}_${PV}.zip from"
57 - elog "${HOMEPAGE}."
58 - elog "Be sure to select the version ${VERSION} tarball!!"
59 - elog "Then move the tarball to"
60 - elog "${DISTDIR}/${PN}_${PV}.zip"
61 - echo
62 -}
63 -
64 -src_install() {
65 - dodoc MotionCor2-UserManual-09-13-2018.pdf
66 - if use cuda92; then
67 - newbin MotionCor2_1.2.6-Cuda92 ${PN}
68 - elif use cuda101; then
69 - newbin MotionCor2_1.2.6-Cuda101 ${PN}
70 - fi
71 -}
72
73 diff --git a/sci-chemistry/MotionCor2/metadata.xml b/sci-chemistry/MotionCor2/metadata.xml
74 index 0cc6baff1..5035d4d85 100644
75 --- a/sci-chemistry/MotionCor2/metadata.xml
76 +++ b/sci-chemistry/MotionCor2/metadata.xml
77 @@ -11,7 +11,6 @@
78 </maintainer>
79 <use>
80 <flag name="cuda92">Install cuda-9.2 version</flag>
81 - <flag name="cuda101">Install cuda-10.1 version</flag>
82 <flag name="cuda102">Install cuda-10.2 version</flag>
83 </use>
84 </pkgmetadata>