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