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