commit:     baaa1d9add70081d6b57e39a48265c46bcd896d3
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Thu Jul 19 18:34:54 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Jul 19 18:34:54 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=baaa1d9a

sci-biology/mouse-brain-atlases: version bump

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../mouse-brain-atlases-0.1.20180719.ebuild        | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git 
a/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180719.ebuild 
b/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180719.ebuild
new file mode 100644
index 000000000..48cfab4bb
--- /dev/null
+++ b/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.1.20180719.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
+}

Reply via email to