From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70893138334 for ; Tue, 29 Oct 2019 09:09:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E6C7E090E; Tue, 29 Oct 2019 09:09:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A94BE090E for ; Tue, 29 Oct 2019 09:09:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E1C834C34C for ; Tue, 29 Oct 2019 09:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAC06898 for ; Tue, 29 Oct 2019 09:09:43 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1572340165.d0ba0e33274628d86bfa3ace5efc31c0821487cd.alexxy@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild sci-chemistry/MotionCor2/metadata.xml X-VCS-Directories: sci-chemistry/MotionCor2/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: d0ba0e33274628d86bfa3ace5efc31c0821487cd X-VCS-Branch: master Date: Tue, 29 Oct 2019 09:09:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e6aa4bb8-3345-423b-b430-c7a1799ef7db X-Archives-Hash: 0c74e8f63b048359922f1a0edfe73b59 commit: d0ba0e33274628d86bfa3ace5efc31c0821487cd Author: Alexey Shvetsov gentoo org> AuthorDate: Tue Oct 29 09:09:25 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Tue Oct 29 09:09:25 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d0ba0e33 sci-chemistry/MotionCor2: Add motioncor2 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Alexey Shvetsov gentoo.org> sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild | 49 ++++++++++++++++++++++++ sci-chemistry/MotionCor2/metadata.xml | 16 ++++++++ 2 files changed, 65 insertions(+) diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild b/sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild new file mode 100644 index 000000000..8fae639a3 --- /dev/null +++ b/sci-chemistry/MotionCor2/MotionCor2-1.2.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019 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" + +LICENSE="UCSF-Motioncor2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cuda92 +cuda101" + +DEPEND=" + cuda92? ( =dev-util/nvidia-cuda-toolkit-9.2* ) + cuda101? ( =dev-util/nvidia-cuda-toolkit-10.1* ) + media-libs/tiff + app-arch/xz-utils + || ( media-libs/jpeg:62 media-libs/libjpeg-turbo ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +REQUIRED_USE="^^ ( cuda92 cuda101 )" + +RESTRICT="fetch" +VERSION="MotionCor2 v1.2.6 (05-22.2019, Linux) now Cuda v8.0,9.2,10.1" + +S="${WORKDIR}" + +pkg_nofetch() { + echo + elog "Please download ${PN}_${PV}.zip from" + elog "${HOMEPAGE}." + elog "Be sure to select the version ${VERSION} tarball!!" + elog "Then move the tarball to" + elog "${DISTDIR}/${P}.tar.gz" + echo +} + +src_install() { + dodoc MotionCor2-UserManual-09-13-2018.pdf + if use cuda92; then + newbin MotionCor2_1.2.6-Cuda92 ${PN} + elif use cuda101; then + newbin MotionCor2_1.2.6-Cuda101 ${PN} + fi +} diff --git a/sci-chemistry/MotionCor2/metadata.xml b/sci-chemistry/MotionCor2/metadata.xml new file mode 100644 index 000000000..75c4f5d9f --- /dev/null +++ b/sci-chemistry/MotionCor2/metadata.xml @@ -0,0 +1,16 @@ + + + + + sci-chemistry@gentoo.org + Gentoo Chemistry Project + + + alexxy@gentoo.org + Alexey Shvetsov + + + Install cuda-9.2 version + Install cuda-10.1 version + +