sci-biology/dipy - 1.1.1 (science)

Search

Install

Install this version:

emerge -a =sci-biology/dipy-1.1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-biology/dipy-1.1.1

Or alternatively:

emerge --autounmask-write -a =sci-biology/dipy-1.1.1

Package Information

Description:
Computational neuroanatomy project focusing on diffusion MRI
Homepage:
https://github.com/nipy/dipy
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.1.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )

inherit distutils-r1

DESCRIPTION="Computational neuroanatomy project focusing on diffusion MRI"
HOMEPAGE="https://github.com/nipy/dipy"
SRC_URI="https://github.com/nipy/dipy/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="
	sci-libs/nibabel[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/scipy[${PYTHON_USEDEP}]
"
DEPEND="
	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/cython[${PYTHON_USEDEP}]
	dev-python/h5py[${PYTHON_USEDEP}]
	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"

# Tests fail because they require data download:
# https://github.com/dipy/dipy/issues/2092
RESTRICT="test"

python_test() {
	distutils_install_for_testing
	cd "${TEST_DIR}"/lib || die
	pytest -m "not network" || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-biology/dipy | euse -E <flag> -p sci-biology/dipy | euse -D <flag> -p sci-biology/dipy

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-python/packaging[]
	dev-python/cython[]
	dev-python/h5py[]
	test? ( dev-python/pytest[] )

RDEPEND

	sci-libs/nibabel[]
	dev-python/numpy[]
	dev-python/scipy[]

Manifest for 1.1.1

Type File Size Source URLs
DIST dipy-1.1.1.tar.gz 6021111 bytes https://github.com/nipy/dipy/archive/1.1.1.tar.gz