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 CCA60138334 for ; Tue, 17 Jul 2018 21:16:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7012DE0AFD; Tue, 17 Jul 2018 21:16:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3B677E0AFD for ; Tue, 17 Jul 2018 21:16:07 +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 9383E335C2E for ; Tue, 17 Jul 2018 21:16:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A43F3375 for ; Tue, 17 Jul 2018 21:16:04 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1531862152.a2a1d0c499be645540253335cca367bc7b9319b3.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/mouse-brain-atlases/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/mouse-brain-atlases/metadata.xml sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180717.ebuild X-VCS-Directories: sci-biology/mouse-brain-atlases/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: a2a1d0c499be645540253335cca367bc7b9319b3 X-VCS-Branch: master Date: Tue, 17 Jul 2018 21:16:04 +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-Archives-Salt: 0a87a5ec-6598-4c76-bc3f-200ae3b42a79 X-Archives-Hash: c7b7319d2623398a9a47f8866d8c3a0e commit: a2a1d0c499be645540253335cca367bc7b9319b3 Author: Horea Christian yandex com> AuthorDate: Tue Jul 17 21:15:52 2018 +0000 Commit: Horea Christian gmail com> CommitDate: Tue Jul 17 21:15:52 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a2a1d0c4 sci-biology/mouse-brain-atlases: version bump Package-Manager: Portage-2.3.41, Repoman-2.3.9 sci-biology/mouse-brain-atlases/metadata.xml | 3 ++ .../mouse-brain-atlases-0.1.20180717.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sci-biology/mouse-brain-atlases/metadata.xml b/sci-biology/mouse-brain-atlases/metadata.xml index 4562cfeb1..a8c20f15c 100644 --- a/sci-biology/mouse-brain-atlases/metadata.xml +++ b/sci-biology/mouse-brain-atlases/metadata.xml @@ -13,4 +13,7 @@ Digital mouse brain atlases in NIfTI format for use in magnetic resonance mouse brain imaging. + + Also install high-resolution atlases. + diff --git a/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180717.ebuild b/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180717.ebuild new file mode 100644 index 000000000..48cfab4bb --- /dev/null +++ b/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180717.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit check-reqs + +DESCRIPTION="A collection of mouse brain atlases in NIfTI format" +HOMEPAGE="http://imaging.org.au/AMBMC/Model" +SRC_URI=" + http://chymera.eu/distfiles/${P}.tar.xz + hires? ( http://chymera.eu/distfiles/${PN}HD-${PV}.tar.xz ) + " + +LICENSE="fairuse" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="hires" + +RDEPEND="" +DEPEND="" + +pkg_pretend() { + if use hires; then + CHECKREQS_DISK_BUILD="4G" + CHECKREQS_DISK_USR="4G" + CHECKREQS_DISK_VAR="8G" + else + CHECKREQS_DISK_BUILD="500M" + fi + check-reqs_pkg_pretend +} + +# We disable this phase to not check requirements twice. +pkg_setup() { :; } + +src_install() { + insinto "/usr/share/${PN}" + doins * + if use hires; then + cd "../${PN}HD-${PV}" + doins * + fi +}