1
0
mirror of synced 2024-12-22 21:00:20 +01:00
TheChymera-overlay/sci-libs/torchio/torchio-0.17.42.ebuild
Horea Christian eb5bd4b01e
sci-libs/torchio: general fixes
Signed-off-by: Horea Christian <chr@chymera.eu>
2022-08-25 20:11:46 -04:00

37 lines
958 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8,9,10} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Efficiently process 3D images in deep learning applications."
HOMEPAGE="https://torchio.readthedocs.io/"
SRC_URI="https://github.com/fepegar/torchio/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
$(python_gen_cond_dep '
dev-python/click[${PYTHON_USEDEP}]
dev-python/humanize[${PYTHON_USEDEP}]
sci-libs/nibabel[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/deprecation[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
sci-libs/pytorch[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
')
sci-libs/simpleitk[${PYTHON_SINGLE_USEDEP}]
"
RDEPEND="${DEPEND}"
distutils_enable_tests pytest