1 |
commit: 6dafecdb7b6f5a498a11d2b67b98d93fb4059f49 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Tue Feb 2 22:48:54 2021 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Feb 2 22:48:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6dafecdb |
7 |
|
8 |
sci-biology/rat-brain-templates: new package |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-biology/rat-brain-templates/metadata.xml | 17 +++++++++++++++ |
14 |
.../rat-brain-templates-0.2.ebuild | 25 ++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/sci-biology/rat-brain-templates/metadata.xml b/sci-biology/rat-brain-templates/metadata.xml |
18 |
new file mode 100644 |
19 |
index 000000000..ac271f806 |
20 |
--- /dev/null |
21 |
+++ b/sci-biology/rat-brain-templates/metadata.xml |
22 |
@@ -0,0 +1,17 @@ |
23 |
+<?xml version="1.0" encoding="UTF-8"?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+ <maintainer type="person"> |
27 |
+ <email>horea.christ@×××××.com</email> |
28 |
+ <name>Horea Christian</name> |
29 |
+ </maintainer> |
30 |
+ <maintainer type="project"> |
31 |
+ <email>sci@g.o</email> |
32 |
+ <name>Gentoo Science Project</name> |
33 |
+ </maintainer> |
34 |
+ <longdescription lang="en"> |
35 |
+ Digital rat brain template collection containing data files in NIfTI |
36 |
+ format oriented in the standard RAS space, with origin at bregma for |
37 |
+ use in magnetic resonance rat brain imaging. |
38 |
+ </longdescription> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/sci-biology/rat-brain-templates/rat-brain-templates-0.2.ebuild b/sci-biology/rat-brain-templates/rat-brain-templates-0.2.ebuild |
42 |
new file mode 100644 |
43 |
index 000000000..faecd8848 |
44 |
--- /dev/null |
45 |
+++ b/sci-biology/rat-brain-templates/rat-brain-templates-0.2.ebuild |
46 |
@@ -0,0 +1,25 @@ |
47 |
+# Copyright 2021 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=7 |
51 |
+ |
52 |
+DESCRIPTION="A collection of rat brain templates in NIfTI format" |
53 |
+HOMEPAGE="https://gitlab.com/FOS-FMI/rat-brain-templates_generator" |
54 |
+SRC_URI="http://chymera.eu/distfiles/${P}.tar.xz" |
55 |
+ |
56 |
+LICENSE="fairuse" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
59 |
+ |
60 |
+pkg_pretend() { |
61 |
+ CHECKREQS_DISK_BUILD="16G" |
62 |
+ check-reqs_pkg_pretend |
63 |
+} |
64 |
+ |
65 |
+# We disable this phase to not check requirements twice. |
66 |
+pkg_setup() { :; } |
67 |
+ |
68 |
+src_install() { |
69 |
+ insinto "/usr/share/${PN}" |
70 |
+ doins * |
71 |
+} |