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 C883A1382C5 for ; Wed, 6 Jan 2021 10:38:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 135DBE0815; Wed, 6 Jan 2021 10:38:03 +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 E9B1EE0815 for ; Wed, 6 Jan 2021 10:38:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CA8E833BF01 for ; Wed, 6 Jan 2021 10:38:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6654048D for ; Wed, 6 Jan 2021 10:38:00 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1609929467.ab5fb3e71f8ff3a9d9166077b42e509c7e4c8239.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nibabel/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/nibabel/nibabel-3.2.1.ebuild sci-libs/nibabel/nibabel-9999.ebuild X-VCS-Directories: sci-libs/nibabel/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ab5fb3e71f8ff3a9d9166077b42e509c7e4c8239 X-VCS-Branch: master Date: Wed, 6 Jan 2021 10:38:00 +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: ca41b3e2-6fac-4927-bb7d-60c3cc34d465 X-Archives-Hash: d5fb6e604324fa2aad0ba5e4f289065c commit: ab5fb3e71f8ff3a9d9166077b42e509c7e4c8239 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Jan 6 10:37:02 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Jan 6 10:37:47 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ab5fb3e7 sci-libs/nibabel: version bump, fix doc building Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> sci-libs/nibabel/nibabel-3.2.1.ebuild | 36 +++++++++++++++++++++++++++++++++++ sci-libs/nibabel/nibabel-9999.ebuild | 28 +++++++++++---------------- 2 files changed, 47 insertions(+), 17 deletions(-) diff --git a/sci-libs/nibabel/nibabel-3.2.1.ebuild b/sci-libs/nibabel/nibabel-3.2.1.ebuild new file mode 100644 index 000000000..03a5f5b48 --- /dev/null +++ b/sci-libs/nibabel/nibabel-3.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dicom" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dicom? ( + sci-libs/pydicom + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +BDEPEND="test? ( + dev-python/pytest-doctestplus[${PYTHON_USEDEP}] +)" + +distutils_enable_sphinx doc/source dev-python/texext dev-python/numpydoc dev-python/matplotlib +distutils_enable_tests pytest diff --git a/sci-libs/nibabel/nibabel-9999.ebuild b/sci-libs/nibabel/nibabel-9999.ebuild index 1fa595d11..611202ad7 100644 --- a/sci-libs/nibabel/nibabel-9999.ebuild +++ b/sci-libs/nibabel/nibabel-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6..9} ) +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 git-r3 @@ -15,11 +16,11 @@ EGIT_REPO_URI="https://github.com/nipy/nibabel.git" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="dicom doc test" -RESTRICT="!test? ( test )" +IUSE="dicom" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dicom? ( @@ -27,17 +28,10 @@ RDEPEND=" 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 -} +BDEPEND="test? ( + dev-python/pytest-doctestplus[${PYTHON_USEDEP}] +)" + +distutils_enable_sphinx doc/source dev-python/texext dev-python/numpydoc dev-python/matplotlib +distutils_enable_tests pytest