Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/nireg/
Date: Wed, 12 Oct 2016 06:30:38
Message-Id: 1474636583.96e2cb78a44557e310b7e0407de0e4c440a812e5.marbre@gentoo
1 commit: 96e2cb78a44557e310b7e0407de0e4c440a812e5
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Fri Sep 23 13:16:23 2016 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Fri Sep 23 13:16:23 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=96e2cb78
7
8 sci-biology/nireg:new ebuild (#680)
9
10 Package-Manager: portage-2.3.0
11
12 sci-biology/nireg/metadata.xml | 15 +++++++++++++++
13 sci-biology/nireg/nireg-9999.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/sci-biology/nireg/metadata.xml b/sci-biology/nireg/metadata.xml
17 new file mode 100644
18 index 0000000..0885cf8
19 --- /dev/null
20 +++ b/sci-biology/nireg/metadata.xml
21 @@ -0,0 +1,15 @@
22 +<?xml version="1.0" encoding="UTF-8"?>
23 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 +<pkgmetadata>
25 + <maintainer type="person">
26 + <email>horea.christ@×××××.com</email>
27 + <name>Horea Christian</name>
28 + </maintainer>
29 + <maintainer type="project">
30 + <email>sci@g.o</email>
31 + <name>Gentoo Science Project</name>
32 + </maintainer>
33 + <longdescription lang="en">
34 + Nireg is a package for nytive-python image registration.
35 + </longdescription>
36 +</pkgmetadata>
37
38 diff --git a/sci-biology/nireg/nireg-9999.ebuild b/sci-biology/nireg/nireg-9999.ebuild
39 new file mode 100644
40 index 0000000..15cc644
41 --- /dev/null
42 +++ b/sci-biology/nireg/nireg-9999.ebuild
43 @@ -0,0 +1,33 @@
44 +# Copyright 1999-2016 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Id$
47 +
48 +EAPI=6
49 +
50 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
51 +
52 +inherit distutils-r1 git-r3
53 +
54 +DESCRIPTION="Image registration package for Python."
55 +HOMEPAGE="http://nipy.org/"
56 +SRC_URI=""
57 +EGIT_REPO_URI="https://github.com/nipy/${PN}"
58 +
59 +LICENSE="BSD"
60 +SLOT="0"
61 +IUSE="test"
62 +KEYWORDS=""
63 +
64 +COMMONDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
65 +DEPEND="${COMMONDEPEND}
66 + dev-python/setuptools[${PYTHON_USEDEP}]
67 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
68 +RDEPEND="${COMMONDEPEND}
69 + sci-libs/scipy[${PYTHON_USEDEP}]
70 + sci-libs/nibabel[${PYTHON_USEDEP}]
71 + "
72 +
73 +python_test() {
74 + #nosetests -v || die
75 + python -c "import nireg; nireg.test()" || die
76 +}