Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trimesh/
Date: Mon, 21 Feb 2022 15:40:24
Message-Id: 1645458012.f4b6820232e789fe55734dfb3c7fbf2c8d5e1403.marecki@gentoo
1 commit: f4b6820232e789fe55734dfb3c7fbf2c8d5e1403
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 15:22:11 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 15:40:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4b68202
7
8 dev-python/trimesh: add 3.10.1
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 dev-python/trimesh/Manifest | 1 +
13 dev-python/trimesh/trimesh-3.10.1.ebuild | 48 ++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest
17 index 9f638a0d669b..7110b29f56c2 100644
18 --- a/dev-python/trimesh/Manifest
19 +++ b/dev-python/trimesh/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/dev-python/trimesh/trimesh-3.10.1.ebuild b/dev-python/trimesh/trimesh-3.10.1.ebuild
25 new file mode 100644
26 index 000000000000..47d49d1627bc
27 --- /dev/null
28 +++ b/dev-python/trimesh/trimesh-3.10.1.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +DISTUTILS_USE_PEP517=setuptools
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +DESCRIPTION="Python library for loading and using triangular meshes"
41 +HOMEPAGE="https://trimsh.org/ https://github.com/mikedh/trimesh"
42 +# No tests in PyPI tarballs
43 +SRC_URI="https://github.com/mikedh/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm64 ~x86"
48 +
49 +RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]
50 + dev-python/colorlog[${PYTHON_USEDEP}]
51 + dev-python/jsonschema[${PYTHON_USEDEP}]
52 + dev-python/lxml[${PYTHON_USEDEP}]
53 + dev-python/msgpack[${PYTHON_USEDEP}]
54 + dev-python/networkx[${PYTHON_USEDEP}]
55 + dev-python/numpy[${PYTHON_USEDEP}]
56 + dev-python/pillow[${PYTHON_USEDEP}]
57 + dev-python/pycollada[${PYTHON_USEDEP}]
58 + dev-python/pyglet[${PYTHON_USEDEP}]
59 + dev-python/requests[${PYTHON_USEDEP}]
60 + dev-python/scipy[${PYTHON_USEDEP}]
61 + dev-python/setuptools[${PYTHON_USEDEP}]
62 + dev-python/svg-path[${PYTHON_USEDEP}]
63 + dev-python/sympy[${PYTHON_USEDEP}]
64 + dev-python/xxhash[${PYTHON_USEDEP}]
65 + sci-libs/rtree[${PYTHON_USEDEP}]
66 + sci-libs/shapely[${PYTHON_USEDEP}]"
67 +
68 +distutils_enable_tests pytest
69 +
70 +pkg_postinst() {
71 + optfeature_header "${PN} functionality can be extended by installing the following packages:"
72 + optfeature "making GUI applications with 3D stuff" dev-python/glooey
73 + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut
74 + optfeature "loading a number of additional mesh formats" dev-python/meshio
75 + optfeature "figuring out how much memory we have" dev-python/psutil
76 + optfeature "marching cubes and other nice stuff" sci-libs/scikit-image
77 +}