From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 2FD3C13997F for ; Sun, 10 Nov 2019 12:20:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46982E096D; Sun, 10 Nov 2019 12:20:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 EF209E0940 for ; Sun, 10 Nov 2019 12:20:42 +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 3ACD234CB1B for ; Sun, 10 Nov 2019 12:20:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05D6088E for ; Sun, 10 Nov 2019 12:20:39 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1573388425.9fb36b6a13413ad351f954bc1733351af4d64b79.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nibabel/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/nibabel/metadata.xml sci-libs/nibabel/nibabel-2.5.1.ebuild X-VCS-Directories: sci-libs/nibabel/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 9fb36b6a13413ad351f954bc1733351af4d64b79 X-VCS-Branch: master Date: Sun, 10 Nov 2019 12:20:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40bb0287-53cd-4019-a74d-601b727d4d26 X-Archives-Hash: 7c46f1ec9fe83279a2e38c44c66e7122 commit: 9fb36b6a13413ad351f954bc1733351af4d64b79 Author: Horea Christian chymera eu> AuthorDate: Sun Nov 10 12:20:25 2019 +0000 Commit: Horea Christian gmail com> CommitDate: Sun Nov 10 12:20:25 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9fb36b6a sci-libs/nibabel: version bump 2.5.1 with added test suite support Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Horea Christian chymera.eu> sci-libs/nibabel/metadata.xml | 12 +++++----- sci-libs/nibabel/nibabel-2.5.1.ebuild | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/sci-libs/nibabel/metadata.xml b/sci-libs/nibabel/metadata.xml index 59e566e2d..66f8b64ec 100644 --- a/sci-libs/nibabel/metadata.xml +++ b/sci-libs/nibabel/metadata.xml @@ -10,12 +10,12 @@ Gentoo Science Project -The package provides read and write access to some common medical and -neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2), GIFTI, -NIfTI1, MINC, MGH and ECAT as well as PAR/REC. It can read and write Freesurfer -geometry, and read Freesurfer morphometry and annotation files. There is some -very limited support for DICOM. NiBabel is the successor of PyNIfTI. - + The package provides read and write access to some common medical and + neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2), GIFTI, + NIfTI1, MINC, MGH and ECAT as well as PAR/REC. It can read and write Freesurfer + geometry, and read Freesurfer morphometry and annotation files. There is some + very limited support for DICOM. NiBabel is the successor of PyNIfTI. + Adds limited read support for the DICOM imaging format. diff --git a/sci-libs/nibabel/nibabel-2.5.1.ebuild b/sci-libs/nibabel/nibabel-2.5.1.ebuild new file mode 100644 index 000000000..a76565117 --- /dev/null +++ b/sci-libs/nibabel/nibabel-2.5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Access a cacophony of neuro-imaging file formats" +HOMEPAGE="http://nipy.org/nibabel/" +SRC_URI="https://github.com/nipy/nibabel/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" + +LICENSE="MIT" +SLOT="0" +IUSE="dicom doc test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dicom? ( + sci-libs/pydicom[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +python_test() { + cd "${BUILD_DIR}" || die + echo "backend: Agg" > matplotlibrc + MPLCONFIGDIR=. nosetests || die +}