From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-968876-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E09E1396D1 for <garchives@archives.gentoo.org>; Fri, 25 Aug 2017 04:04:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B6B51FC03D; Fri, 25 Aug 2017 04:04:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B12C1FC03D for <gentoo-commits@lists.gentoo.org>; Fri, 25 Aug 2017 04:04:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24AAD34166C for <gentoo-commits@lists.gentoo.org>; Fri, 25 Aug 2017 04:04:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7016181CF for <gentoo-commits@lists.gentoo.org>; Fri, 25 Aug 2017 04:04:42 +0000 (UTC) From: "Benda XU" <heroxbd@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" <heroxbd@gentoo.org> Message-ID: <1503633811.18271c7c67a0bf33cacbee05217c8abd536e9f15.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nipy/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/nipy/metadata.xml sci-libs/nipy/nipy-0.4.1.ebuild X-VCS-Directories: sci-libs/nipy/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 18271c7c67a0bf33cacbee05217c8abd536e9f15 X-VCS-Branch: master Date: Fri, 25 Aug 2017 04:04:42 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: add96be2-df43-4e81-8b30-17fc83489b1c X-Archives-Hash: 571ec1aab77611f7705a096e26821a3a 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>horea.christ@gmail.com</email> - <name>Horea Christian</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</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>horea.christ@gmail.com</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</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 +}