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