public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nibabel/
Date: Wed,  6 Jan 2021 10:38:00 +0000 (UTC)	[thread overview]
Message-ID: <1609929467.ab5fb3e71f8ff3a9d9166077b42e509c7e4c8239.andrewammerlaan@gentoo> (raw)

commit:     ab5fb3e71f8ff3a9d9166077b42e509c7e4c8239
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Jan  6 10:37:02 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <andrewammerlaan <AT> 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


             reply	other threads:[~2021-01-06 10:38 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 10:38 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-11 16:55 [gentoo-commits] proj/sci:master commit in: sci-libs/nibabel/ Horea Christian
2023-12-11 16:55 Horea Christian
2023-05-02 23:48 Horea Christian
2023-05-02 23:48 Horea Christian
2023-01-30 10:27 Horea Christian
2023-01-30 10:26 Horea Christian
2023-01-12 12:18 Andrew Ammerlaan
2022-07-11 13:40 Horea Christian
2022-07-11 12:24 Horea Christian
2022-07-11 12:24 Horea Christian
2022-07-07  4:54 Sam James
2021-01-13 21:06 Andrew Ammerlaan
2020-12-24 11:06 Horea Christian
2020-09-27  3:26 Horea Christian
2020-09-25  9:17 Horea Christian
2020-03-13 17:50 Horea Christian
2020-01-08 21:49 Horea Christian
2019-11-10 12:20 Horea Christian
2018-12-31  8:06 Horea Christian
2018-12-31  5:43 Horea Christian
2018-12-31  3:51 Horea Christian
2018-07-31 14:14 Horea Christian
2018-07-27 15:42 Horea Christian
2017-08-25  4:04 Benda XU
2016-10-12  6:30 Marius Brehler
2015-09-01 11:47 Justin Lecher
2015-06-15  7:24 Justin Lecher
2014-01-06 18:33 Justin Lecher
2013-11-11 21:48 Nicolas Bock
2013-11-11 21:48 Nicolas Bock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609929467.ab5fb3e71f8ff3a9d9166077b42e509c7e4c8239.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox