added torchio ebuild
This commit is contained in:
parent
6045f9490d
commit
9012867b6c
1
sci-libs/torchio/Manifest
Normal file
1
sci-libs/torchio/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST torchio-0.17.42.tar.gz 23194366 SHA256 afc1a26c61cdaabd34bc44992a0afa72c2130a1d8aa509bdbe7326c4e6546caa SHA512 c6a2696a2b76d3699eb47f77ce490f0aff4aea93bf4d6e64a2bf96801d098f9e898a7f6dd657581aadb3f7edb46f40c1676a31c2c6ded14a38f9457536c07d1e WHIRLPOOL 47733cc96b417a0b2c401a6b98600955a8ff003edc42e50cf328151631a74decac3a3a8dfcdc30be3d6a687b9240a5b9fe8d8e18c8f4a1b3c743918d0627f6b7
|
20
sci-libs/torchio/metadata.xml
Normal file
20
sci-libs/torchio/metadata.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>klugh@ethz.ch</email>
|
||||
<name>Hendrik Klug</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
TorchIO is a Python package containing a set of tools to efficiently read,
|
||||
preprocess, sample, augment, and write 3D medical images in deep learning
|
||||
applications written in PyTorch, including intensity and spatial transforms
|
||||
for data augmentation and preprocessing. Transforms include typical computer
|
||||
vision operations such as random affine transformations and also
|
||||
domain-specific ones such as simulation of intensity artifacts due to MRI
|
||||
magnetic field inhomogeneity or k-space motion artifacts.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">fepegar/torchio</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
36
sci-libs/torchio/torchio-0.17.42.ebuild
Normal file
36
sci-libs/torchio/torchio-0.17.42.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A set of tools to efficiently read, preprocess, sample, augment, and write 3D medical images in deep learning applications."
|
||||
HOMEPAGE="https://torchio.readthedocs.io/"
|
||||
SRC_URI="https://github.com/fepegar/torchio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="MIT license"
|
||||
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-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
')
|
||||
sci-libs/simpleitk[${PYTHON_SINGLE_USEDEP}]
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
Loading…
x
Reference in New Issue
Block a user