From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1417434-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16ABD158094 for <garchives@archives.gentoo.org>; Mon, 11 Jul 2022 14:39:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51AEBE09C4; Mon, 11 Jul 2022 14:39:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19343E09C4 for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jul 2022 14:39:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1847F340B10 for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jul 2022 14:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7183F480 for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jul 2022 14:39:05 +0000 (UTC) From: "Horea Christian" <horea.christ@gmail.com> 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" <horea.christ@gmail.com> Message-ID: <1657550340.ac5a5ff03452db2dbcaff780a74fde8e5731d7de.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nipy/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/nipy/nipy-0.4.2.ebuild sci-libs/nipy/nipy-0.5.0.ebuild X-VCS-Directories: sci-libs/nipy/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: ac5a5ff03452db2dbcaff780a74fde8e5731d7de X-VCS-Branch: master Date: Mon, 11 Jul 2022 14:39:05 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 97b0b07e-c1bf-44f6-b7be-a9251133cdc7 X-Archives-Hash: 0748ae31a08e88445c68dc9498b8e51a commit: ac5a5ff03452db2dbcaff780a74fde8e5731d7de Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Mon Jul 11 14:39:00 2022 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Mon Jul 11 14:39:00 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ac5a5ff0 sci-libs/nipy: EAPI/PYTHON_COMPAT bump and restricted tests Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Horea Christian <chr <AT> chymera.eu> sci-libs/nipy/nipy-0.4.2.ebuild | 10 ++++---- sci-libs/nipy/nipy-0.5.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 4 deletions(-) diff --git a/sci-libs/nipy/nipy-0.4.2.ebuild b/sci-libs/nipy/nipy-0.4.2.ebuild index c20d904f5..3b483638f 100644 --- a/sci-libs/nipy/nipy-0.4.2.ebuild +++ b/sci-libs/nipy/nipy-0.4.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 flag-o-matic +inherit distutils-r1 DESCRIPTION="Neuroimaging tools for Python" HOMEPAGE="https://nipy.org/" @@ -15,6 +15,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +RESTRICT="test" +# reported upstream: https://github.com/nipy/nipy/issues/493 RDEPEND=" dev-python/prov[${PYTHON_USEDEP}] diff --git a/sci-libs/nipy/nipy-0.5.0.ebuild b/sci-libs/nipy/nipy-0.5.0.ebuild new file mode 100644 index 000000000..81a462c96 --- /dev/null +++ b/sci-libs/nipy/nipy-0.5.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Neuroimaging tools for Python" +HOMEPAGE="https://nipy.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="test" +# reported upstream: https://github.com/nipy/nipy/issues/493 + +RDEPEND=" + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + >=sci-libs/nibabel-1.2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + " +DEPEND="" + +distutils_enable_tests nose + +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 +#}