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.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 E3AFC158021 for ; Tue, 11 Oct 2022 19:20:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33EBEE07DB; Tue, 11 Oct 2022 19:20:35 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DFC65E07DB for ; Tue, 11 Oct 2022 19:20:34 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CABB4340F6C for ; Tue, 11 Oct 2022 19:20:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3689A5B2 for ; Tue, 11 Oct 2022 19:20:32 +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: <1665514872.6df21099f76d9c9f49670a3bf61b12fc0edb4762.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/fslpy/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/fslpy/fslpy-3.10.0.ebuild X-VCS-Directories: dev-python/fslpy/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 6df21099f76d9c9f49670a3bf61b12fc0edb4762 X-VCS-Branch: master Date: Tue, 11 Oct 2022 19:20:32 +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: 12ede868-cf33-4ef2-b994-13bb5d49ab93 X-Archives-Hash: ef452987d7228a49bb67cc44af5b1639 commit: 6df21099f76d9c9f49670a3bf61b12fc0edb4762 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Oct 11 19:01:12 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Oct 11 19:01:12 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6df21099 dev-python/fslpy: add 3.10.0 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/fslpy/fslpy-3.10.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-python/fslpy/fslpy-3.10.0.ebuild b/dev-python/fslpy/fslpy-3.10.0.ebuild new file mode 100644 index 000000000..7140be033 --- /dev/null +++ b/dev-python/fslpy/fslpy-3.10.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 virtualx + +DESCRIPTION="The FSL Python Library" +HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fslpy" +SRC_URI="https://git.fmrib.ox.ac.uk/fsl/${PN}/-/archive/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/dill[${PYTHON_USEDEP}] + >=dev-python/h5py-2.9[${PYTHON_USEDEP}] + >=dev-python/indexed_gzip-0.7.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1[${PYTHON_USEDEP}] + >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] + >=dev-python/trimesh-2.37.29[${PYTHON_USEDEP}] + =dev-python/wxpython-4*[${PYTHON_USEDEP}] + >=sci-libs/rtree-0.8.3[${PYTHON_USEDEP}] + >=sci-libs/nibabel-2.4[${PYTHON_USEDEP}] + >=dev-python/scipy-0.18[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +python_prepare_all() { + # Do not depend on coverage + sed -i -e 's/--cov=fsl//g' setup.cfg || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + epytest -m "not (dicomtest or longtest or fsltest)" || die "Tests failed with ${EPYTHON}" +}