1
0
mirror of synced 2024-12-23 13:20:22 +01:00
TheChymera-overlay/dev-python/trimesh/trimesh-2.34.3.ebuild

50 lines
1.2 KiB
Bash
Raw Normal View History

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit distutils-r1
DESCRIPTION="The new FSL image viewer, released with FSL 5.0.10"
HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master"
SRC_URI="https://github.com/mikedh/trimesh/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="
2018-10-07 02:30:22 +02:00
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
2018-10-07 02:30:22 +02:00
"
RDEPEND="
dev-libs/xxhash
dev-python/colorlog[${PYTHON_USEDEP}]
dev-python/deprecation[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pyglet[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
2018-10-07 02:30:22 +02:00
dev-python/svg-path[${PYTHON_USEDEP}]
dev-python/sympy[${PYTHON_USEDEP}]
=dev-python/six-1*[${PYTHON_USEDEP}]
sci-libs/Shapely[${PYTHON_USEDEP}]
sci-libs/Rtree[${PYTHON_USEDEP}]
2018-10-07 02:30:22 +02:00
"
PATCHES=( "${FILESDIR}/${P}-suppress-xvfb-test.patch" )
python_test() {
2018-10-07 02:30:22 +02:00
pytest -v || die
}