commit:     11abed023da7f2d1fb261332dacf829a4c1a666b
Author:     Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Wed Nov 11 22:38:40 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 22:38:40 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=11abed02

sci-libs/nipy: version bump

Package-Manager: portage-2.2.23

 sci-libs/nipy/ChangeLog         |  8 ++++++--
 sci-libs/nipy/nipy-0.4.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/sci-libs/nipy/ChangeLog b/sci-libs/nipy/ChangeLog
index cac9346..29eb490 100644
--- a/sci-libs/nipy/ChangeLog
+++ b/sci-libs/nipy/ChangeLog
@@ -1,8 +1,12 @@
 # ChangeLog for sci-libs/nipy
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*nipy-0.4.0 (11 Nov 2015)
+
+  11 Nov 2015; Horea Christian <h....@mail.ru> +nipy-0.4.0.ebuild:
+  sci-libs/nipy: version bump
+
   06 Jan 2014; Justin Lecher <j...@gentoo.org> nipy-0.3.0.ebuild,
   nipy-9999.ebuild, metadata.xml:
   Switch from git-2 to git-r3
-

diff --git a/sci-libs/nipy/nipy-0.4.0.ebuild b/sci-libs/nipy/nipy-0.4.0.ebuild
new file mode 100644
index 0000000..e9d3f13
--- /dev/null
+++ b/sci-libs/nipy/nipy-0.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils multilib flag-o-matic
+
+DESCRIPTION="Neuroimaging tools for Python"
+HOMEPAGE="http://nipy.org/";
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       dev-python/sympy[${PYTHON_USEDEP}]
+       >=sci-libs/nibabel-1.2[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+       distutils-r1_python_prepare_all
+       # bug #397605
+       [[ ${CHOST} == *-darwin* ]] \
+               && append-ldflags -bundle "-undefined dynamic_lookup" \
+               || append-ldflags -shared
+
+       # nipy uses the horrible numpy.distutils automagic
+}

Reply via email to