From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/
Date: Thu, 31 Dec 2020 04:41:37 +0000 (UTC) [thread overview]
Message-ID: <1609389632.23e59ba220dd5688d6e61f94e6522df06c5210a1.epsilon-0@gentoo> (raw)
commit: 23e59ba220dd5688d6e61f94e6522df06c5210a1
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Dec 31 04:40:32 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 31 04:40:32 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=23e59ba2
sci-chemistry/MotionCor2: version bump to 1.4.6
with comments from @AndrewAmmerlaan
Closes: https://github.com/gentoo/sci/pull/1002
Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild | 45 ++++++++++++++++++++++++
sci-chemistry/MotionCor2/metadata.xml | 1 +
2 files changed, 46 insertions(+)
diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
new file mode 100644
index 000000000..99b3b14cd
--- /dev/null
+++ b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Correction of electron beam-induced sample motion"
+HOMEPAGE="https://emcore.ucsf.edu/ucsf-motioncor2"
+SRC_URI="${PN}_${PV}.zip"
+S="${WORKDIR}"/${PN}_${PV}
+
+LICENSE="UCSF-Motioncor2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cuda92 cuda102"
+REQUIRED_USE="^^ ( cuda92 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
+ media-libs/libjpeg-turbo
+"
+BDEPEND="app-arch/unzip"
+
+pkg_nofetch() {
+ elog "Please download ${PN}_${PV}.zip from:"
+ elog "\t ${HOMEPAGE}"
+ elog "and place it into ${DISTDIR}"
+}
+
+src_install() {
+ dodoc MotionCor2-UserManual-10-08-2020.pdf \
+ MotionCor2_1.4.0_ReleaseIntro-10-14-2020.docx
+ docompress -x /usr/share/doc/${PF}
+
+ # package also has 10.0 10.1 11.0 versions
+ # but these cuda versions are not in ::gentoo
+ if use cuda92; then
+ dobin ${PN}_${PV}-Cuda92 ${PN}
+ elif use cuda102; then
+ dobin ${PN}_${PV}-Cuda102 ${PN}
+ fi
+}
diff --git a/sci-chemistry/MotionCor2/metadata.xml b/sci-chemistry/MotionCor2/metadata.xml
index 75c4f5d9f..0cc6baff1 100644
--- a/sci-chemistry/MotionCor2/metadata.xml
+++ b/sci-chemistry/MotionCor2/metadata.xml
@@ -12,5 +12,6 @@
<use>
<flag name="cuda92">Install cuda-9.2 version</flag>
<flag name="cuda101">Install cuda-10.1 version</flag>
+ <flag name="cuda102">Install cuda-10.2 version</flag>
</use>
</pkgmetadata>
next reply other threads:[~2020-12-31 4:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-31 4:41 Aisha Tammy [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-23 13:12 [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/ Andrew Ammerlaan
2021-06-01 8:59 Andrew Ammerlaan
2021-06-01 8:56 Andrew Ammerlaan
2021-03-19 11:09 Andrew Ammerlaan
2020-12-31 4:46 Aisha Tammy
2020-12-31 4:41 Aisha Tammy
2019-10-30 8:51 Alexey Shvetsov
2019-10-29 9:09 Alexey Shvetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609389632.23e59ba220dd5688d6e61f94e6522df06c5210a1.epsilon-0@gentoo \
--to=gentoo@aisha.cc \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox