Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trimesh/
Date: Sat, 07 May 2022 09:35:10
Message-Id: 1651916023.de50ef931f5b8d0df5a9dfd1cafe3594d5be87f7.mgorny@gentoo
1 commit: de50ef931f5b8d0df5a9dfd1cafe3594d5be87f7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 08:02:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 09:33:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de50ef93
7
8 dev-python/trimesh: Bump to 3.12.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/trimesh/Manifest | 1 +
13 dev-python/trimesh/trimesh-3.12.0.ebuild | 66 ++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest
17 index 7ca14cfd3d49..709d799fb2d8 100644
18 --- a/dev-python/trimesh/Manifest
19 +++ b/dev-python/trimesh/Manifest
20 @@ -1,2 +1,3 @@
21 DIST trimesh-3.10.8.gh.tar.gz 10741790 BLAKE2B 2cc8573e01395fb95f192cd64370b32d63b3ebd3505008c67fc9530641060b127ff42b8892634bf61fd91dbc37098e0da9fa169199d257a0345494cf9996a764 SHA512 c5cd6a6abcf8b8e6cc157a76607d4db090c574a86450956577d81fff310448bab140007eefc3b2c2cea6873a1ef46eccb18834c1593aca40f3d7868b3ce3992e
22 DIST trimesh-3.11.2.gh.tar.gz 10745738 BLAKE2B 59a13c2133f7cb0ad22ca5b03af9e61c4cc1431e8d058566b854240fe0b1e28229c427c69aa16aec8b79f139a0c2a3c5202ce2f6d4750f813325e591e3a671b2 SHA512 f9b3643c221ab3f112d4c5cf07c8cf23c5809d7c0ea733b6cda0efc973a78fb4ebd8be9cd0f52bb65babeb5a3dc448b15b738f3089fffb8a32c1af1b01dc8da0
23 +DIST trimesh-3.12.0.gh.tar.gz 10751006 BLAKE2B 544dac08bf214a703fe00666269f64aad280232245665d544b52eab33e44dab8369bd068c638c8088792e9f62cd54724d2f5758238e4c95e8d74c3f266d86127 SHA512 6c054c92b50e1b3c85c0022969b752d3c97b73f797883a11967645fcab462f8008684a371145cdd0c01896c508eba4f98ac5e3bafd74c9f0b363c2d62275f0b7
24
25 diff --git a/dev-python/trimesh/trimesh-3.12.0.ebuild b/dev-python/trimesh/trimesh-3.12.0.ebuild
26 new file mode 100644
27 index 000000000000..a3816df1ff09
28 --- /dev/null
29 +++ b/dev-python/trimesh/trimesh-3.12.0.ebuild
30 @@ -0,0 +1,66 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1 multiprocessing optfeature
40 +
41 +DESCRIPTION="Python library for loading and using triangular meshes"
42 +HOMEPAGE="
43 + https://trimsh.org/
44 + https://github.com/mikedh/trimesh/
45 + https://pypi.org/project/trimesh/
46 +"
47 +# No tests in PyPI tarballs
48 +SRC_URI="
49 + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz
50 + -> ${P}.gh.tar.gz
51 +"
52 +
53 +LICENSE="MIT"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~arm64 ~x86"
56 +
57 +RDEPEND="
58 + dev-python/chardet[${PYTHON_USEDEP}]
59 + dev-python/colorlog[${PYTHON_USEDEP}]
60 + dev-python/jsonschema[${PYTHON_USEDEP}]
61 + dev-python/lxml[${PYTHON_USEDEP}]
62 + dev-python/msgpack[${PYTHON_USEDEP}]
63 + dev-python/networkx[${PYTHON_USEDEP}]
64 + dev-python/numpy[${PYTHON_USEDEP}]
65 + dev-python/pillow[${PYTHON_USEDEP}]
66 + dev-python/pycollada[${PYTHON_USEDEP}]
67 + dev-python/pyglet[${PYTHON_USEDEP}]
68 + dev-python/requests[${PYTHON_USEDEP}]
69 + dev-python/scipy[${PYTHON_USEDEP}]
70 + dev-python/setuptools[${PYTHON_USEDEP}]
71 + dev-python/svg-path[${PYTHON_USEDEP}]
72 + dev-python/sympy[${PYTHON_USEDEP}]
73 + dev-python/xxhash[${PYTHON_USEDEP}]
74 + sci-libs/rtree[${PYTHON_USEDEP}]
75 + sci-libs/shapely[${PYTHON_USEDEP}]
76 +"
77 +BDEPEND="
78 + test? (
79 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
80 + )
81 +"
82 +
83 +distutils_enable_tests pytest
84 +
85 +python_test() {
86 + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
87 +}
88 +
89 +pkg_postinst() {
90 + optfeature_header "${PN} functionality can be extended by installing the following packages:"
91 + optfeature "making GUI applications with 3D stuff" dev-python/glooey
92 + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut
93 + optfeature "loading a number of additional mesh formats" dev-python/meshio
94 + optfeature "figuring out how much memory we have" dev-python/psutil
95 + optfeature "marching cubes and other nice stuff" sci-libs/scikit-image
96 +}