Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/trimesh/
Date: Fri, 14 Jan 2022 20:36:31
Message-Id: 1642188707.168124564fa2dfd3bcfe248ac82925b9f752a8f7.andrewammerlaan@gentoo
1 commit: 168124564fa2dfd3bcfe248ac82925b9f752a8f7
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 14 19:31:47 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 14 19:31:47 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=16812456
7
8 dev-python/trimesh: add version 3.9.42
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 dev-python/trimesh/trimesh-3.9.42.ebuild | 65 ++++++++++++++++++++++++++++++++
14 1 file changed, 65 insertions(+)
15
16 diff --git a/dev-python/trimesh/trimesh-3.9.42.ebuild b/dev-python/trimesh/trimesh-3.9.42.ebuild
17 new file mode 100644
18 index 000000000..3ec15c516
19 --- /dev/null
20 +++ b/dev-python/trimesh/trimesh-3.9.42.ebuild
21 @@ -0,0 +1,65 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +PYTHON_COMPAT=( python3_{8..9} )
28 +DISTUTILS_USE_SETUPTOOLS=rdepend
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Python library for loading and using triangular meshes."
33 +HOMEPAGE="https://trimsh.org/"
34 +SRC_URI="https://github.com/mikedh/trimesh/archive/${PV}.tar.gz -> ${P}.tar.gz"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="extra"
40 +
41 +DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
42 +RDEPEND="
43 + extra? (
44 + dev-libs/xxhash
45 + dev-python/colorlog[${PYTHON_USEDEP}]
46 + dev-python/chardet[${PYTHON_USEDEP}]
47 + dev-python/jsonschema[${PYTHON_USEDEP}]
48 + dev-python/lxml[${PYTHON_USEDEP}]
49 + dev-python/msgpack[${PYTHON_USEDEP}]
50 + dev-python/networkx[${PYTHON_USEDEP}]
51 + dev-python/pillow[${PYTHON_USEDEP}]
52 + dev-python/pyglet[${PYTHON_USEDEP}]
53 + dev-python/pycollada[${PYTHON_USEDEP}]
54 + dev-python/psutil[${PYTHON_USEDEP}]
55 + dev-python/requests[${PYTHON_USEDEP}]
56 + dev-python/svg-path[${PYTHON_USEDEP}]
57 + dev-python/sympy[${PYTHON_USEDEP}]
58 + sci-libs/scikit-image[${PYTHON_USEDEP}]
59 + dev-python/scipy[${PYTHON_USEDEP}]
60 + sci-libs/shapely[${PYTHON_USEDEP}]
61 + sci-libs/rtree[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +distutils_enable_tests pytest
66 +# TODO: package pypandoc
67 +# distutils_enable_sphinx docs \
68 +# dev-python/sphinx_rtd_theme \
69 +# dev-python/numpy \
70 +# dev-python/scipy \
71 +# dev-python/networkx \
72 +# dev-python/recommonmark \
73 +# dev-python/jupyter \
74 +# dev-python/pyopenssl \
75 +# dev-python/autodocsumm \
76 +# dev-python/jinja2 \
77 +# dev-python/matplotlib
78 +
79 +python_test() {
80 + if use extra; then
81 + epytest
82 + else
83 + cd tests || die
84 + epytest -p no:warnings $(grep -v '^#' basic.list)
85 + fi
86 +}