commit: 18271c7c67a0bf33cacbee05217c8abd536e9f15 Author: Horea Christian <horea.christ <AT> yandex <DOT> com> AuthorDate: Thu Aug 10 13:51:08 2017 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Fri Aug 25 04:03:31 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=18271c7c
sci-libs/nipy: version bump Package-Manager: Portage-2.3.6, Repoman-2.3.3 sci-libs/nipy/metadata.xml | 28 ++++++++++++++-------------- sci-libs/nipy/nipy-0.4.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 14 deletions(-) diff --git a/sci-libs/nipy/metadata.xml b/sci-libs/nipy/metadata.xml index 940d59042..16398ad90 100644 --- a/sci-libs/nipy/metadata.xml +++ b/sci-libs/nipy/metadata.xml @@ -1,18 +1,18 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Horea Christian</name> - </maintainer> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - NIPY is a python project for analysis of structural and functional neuroimaging data. - </longdescription> - <upstream> - <remote-id type="pypi">nipy</remote-id> - </upstream> + <maintainer type="person"> + <email>[email protected]</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + NIPY is a python project for analysis of structural and functional neuroimaging data. + </longdescription> + <upstream> + <remote-id type="pypi">nipy</remote-id> + </upstream> </pkgmetadata> diff --git a/sci-libs/nipy/nipy-0.4.1.ebuild b/sci-libs/nipy/nipy-0.4.1.ebuild new file mode 100644 index 000000000..a886c1c42 --- /dev/null +++ b/sci-libs/nipy/nipy-0.4.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 eutils multilib flag-o-matic + +DESCRIPTION="Neuroimaging tools for Python" +HOMEPAGE="http://nipy.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-python/prov[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + >=sci-libs/nibabel-1.2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + " + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${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 +}
