1 |
commit: c319cd108eec3b4bff665efc579f26a82f137964 |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Mon Dec 31 02:07:04 2018 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Dec 31 02:08:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c319cd10 |
7 |
|
8 |
sci-biology/mouse-brain-atlases: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com> |
12 |
|
13 |
.../mouse-brain-atlases-0.5.3.ebuild | 44 ++++++++++++++++++++++ |
14 |
1 file changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.5.3.ebuild b/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.5.3.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..65963d55a |
19 |
--- /dev/null |
20 |
+++ b/sci-biology/mouse-brain-atlases/mouse-brain-atlases-0.5.3.ebuild |
21 |
@@ -0,0 +1,44 @@ |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit check-reqs |
28 |
+ |
29 |
+DESCRIPTION="A collection of mouse brain atlases in NIfTI format" |
30 |
+HOMEPAGE="https://github.com/IBT-FMI/mouse-brain-atlases" |
31 |
+SRC_URI=" |
32 |
+ http://chymera.eu/distfiles/${P}.tar.xz |
33 |
+ hires? ( http://chymera.eu/distfiles/${PN}HD-${PV}.tar.xz ) |
34 |
+ " |
35 |
+ |
36 |
+LICENSE="fairuse" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
39 |
+IUSE="hires" |
40 |
+ |
41 |
+RDEPEND="" |
42 |
+DEPEND="" |
43 |
+ |
44 |
+pkg_pretend() { |
45 |
+ if use hires; then |
46 |
+ CHECKREQS_DISK_BUILD="4G" |
47 |
+ CHECKREQS_DISK_USR="4G" |
48 |
+ CHECKREQS_DISK_VAR="8G" |
49 |
+ else |
50 |
+ CHECKREQS_DISK_BUILD="500M" |
51 |
+ fi |
52 |
+ check-reqs_pkg_pretend |
53 |
+} |
54 |
+ |
55 |
+# We disable this phase to not check requirements twice. |
56 |
+pkg_setup() { :; } |
57 |
+ |
58 |
+src_install() { |
59 |
+ insinto "/usr/share/${PN}" |
60 |
+ doins * |
61 |
+ if use hires; then |
62 |
+ cd "../${PN}HD-${PV}" |
63 |
+ doins * |
64 |
+ fi |
65 |
+} |