From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nipy/
Date: Wed, 21 Feb 2024 01:17:53 +0000 (UTC) [thread overview]
Message-ID: <1708478244.11e20960ab3fda75eddcb5d7efca8c7708098d31.chymera@gentoo> (raw)
commit: 11e20960ab3fda75eddcb5d7efca8c7708098d31
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed Feb 21 01:17:24 2024 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed Feb 21 01:17:24 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=11e20960
sci-libs/nipy: version bump, removed deprecated version
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-libs/nipy/nipy-0.5.1_pre20230103.ebuild | 52 -----------------------------
sci-libs/nipy/nipy-0.6.0.ebuild | 37 ++++++++++++++++++++
2 files changed, 37 insertions(+), 52 deletions(-)
diff --git a/sci-libs/nipy/nipy-0.5.1_pre20230103.ebuild b/sci-libs/nipy/nipy-0.5.1_pre20230103.ebuild
deleted file mode 100644
index 25bdee0b8..000000000
--- a/sci-libs/nipy/nipy-0.5.1_pre20230103.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1
-
-MY_HASH="35a5f5205ba2aa54f1f0524564a6f1f8dafb237f"
-
-DESCRIPTION="Neuroimaging tools for Python"
-HOMEPAGE="https://nipy.org/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_HASH}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-python/scipy[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- sci-libs/nibabel[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- "
-DEPEND=""
-
-S="${WORKDIR}/${PN}-${MY_HASH}"
-
-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
-}
-
-#python_test() {
-# distutils-r1_install_for_testing
-# cp nipy/testing/*.nii.gz "${BUILD_DIR}/lib/nipy/testing/"
-# cp nipy/modalities/fmri/tests/*.{mat,npz,txt} "${BUILD_DIR}/lib/nipy/modalities/fmri/tests/"
-# cp nipy/algorithms/statistics/models/tests/test_data.bin "${BUILD_DIR}/lib/nipy/algorithms/statistics/models/tests"
-# cp nipy/labs/spatial_models/tests/some_blobs.nii "${BUILD_DIR}/lib/nipy/labs/spatial_models/tests/some_blobs.nii"
-# mkdir "${BUILD_DIR}/lib/nipy/algorithms/diagnostics/tests/data/"
-# cp nipy/algorithms/diagnostics/tests/data/tsdiff_results.mat "${BUILD_DIR}/lib/nipy/algorithms/diagnostics/tests/data/"
-# cd "${BUILD_DIR}" || die
-# echo "backend : agg" > matplotlibrc
-# nosetests || die
-#}
diff --git a/sci-libs/nipy/nipy-0.6.0.ebuild b/sci-libs/nipy/nipy-0.6.0.ebuild
new file mode 100644
index 000000000..8f8ea83e8
--- /dev/null
+++ b/sci-libs/nipy/nipy-0.6.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_EXT=1
+
+inherit distutils-r1
+
+DESCRIPTION="Neuroimaging tools for Python"
+HOMEPAGE="https://nipy.org/"
+SRC_URI="https://github.com/nipy/nipy/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+# Test data unavailable:
+# https://github.com/nipy/nipy/issues/561#event-11866547632
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/scipy[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ sci-libs/nibabel[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ "
+DEPEND=""
+
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf nipy || die
+ epytest
+}
next reply other threads:[~2024-02-21 1:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 1:17 Horea Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-02 23:58 [gentoo-commits] proj/sci:master commit in: sci-libs/nipy/ Horea Christian
2023-05-02 12:55 Andrew Ammerlaan
2023-01-30 10:41 Horea Christian
2023-01-30 10:41 Horea Christian
2023-01-26 21:16 Horea Christian
2022-07-11 14:39 Horea Christian
2022-07-11 14:39 Horea Christian
2021-12-16 10:57 Andrew Ammerlaan
2021-06-01 8:38 Andrew Ammerlaan
2021-01-30 15:20 Andrew Ammerlaan
2021-01-20 9:39 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2020-12-23 8:04 Horea Christian
2020-09-27 4:21 Horea Christian
2020-09-26 11:38 Horea Christian
2020-03-29 2:55 Horea Christian
2020-01-07 22:00 Horea Christian
2018-07-31 12:20 Horea Christian
2018-07-30 11:51 Horea Christian
2017-08-25 4:04 Benda XU
2016-08-14 19:24 Justin Lecher
2015-11-17 15:46 Justin Lecher
2015-11-17 15:46 Justin Lecher
2015-11-17 15:46 Justin Lecher
2014-01-06 18:33 Justin Lecher
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=1708478244.11e20960ab3fda75eddcb5d7efca8c7708098d31.chymera@gentoo \
--to=horea.christ@gmail.com \
--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