From db71d230acc41c3020728ff43989e82ed71a4117 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 4 Nov 2019 21:02:26 +0100 Subject: [PATCH] dev-python/trimesh: version bump ahead of Genoo Science Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Horea Christian --- dev-python/trimesh/ChangeLog | 4 ++ dev-python/trimesh/Manifest | 1 + dev-python/trimesh/metadata.xml | 22 ++++++++++ dev-python/trimesh/trimesh-3.3.5.ebuild | 58 +++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 dev-python/trimesh/ChangeLog create mode 100644 dev-python/trimesh/Manifest create mode 100644 dev-python/trimesh/metadata.xml create mode 100644 dev-python/trimesh/trimesh-3.3.5.ebuild diff --git a/dev-python/trimesh/ChangeLog b/dev-python/trimesh/ChangeLog new file mode 100644 index 0000000..7218508 --- /dev/null +++ b/dev-python/trimesh/ChangeLog @@ -0,0 +1,4 @@ +*trimesh-3.3.5 (04 Nov 2019) + + 04 Nov 2019; +metadata.xml, +trimesh-3.3.5.ebuild: + dev-python/trimesh: version bump ahead of Genoo Science diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest new file mode 100644 index 0000000..29997a0 --- /dev/null +++ b/dev-python/trimesh/Manifest @@ -0,0 +1 @@ +DIST trimesh-3.3.5.tar.gz 10001338 SHA256 d83467cf5e79cecae11151918ccefd8a919a7ecaf8f3f55c66714283d78ad617 SHA512 ba6b2ea56ba70ec1c413c4805b68d22a2bc04a95db179cbcbc76bb4fd383f8ff172544e3b3d4d86ebcdcefac470f4e0613cf8c164ab9a60f25646efb8b6ebe5e WHIRLPOOL 7e89a0bd5b45f0720a37fa6336786958c09bd4380b86431ddab9e78af7b8a7af9a4438f9258d70ac43739986599cfc721bca6df08bca4ea4aaa3e8ae0e337264 diff --git a/dev-python/trimesh/metadata.xml b/dev-python/trimesh/metadata.xml new file mode 100644 index 0000000..de1580f --- /dev/null +++ b/dev-python/trimesh/metadata.xml @@ -0,0 +1,22 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + Trimesh is a pure Python library for loading and using triangular meshes + with an emphasis on single- body watertight surfaces. The goal of the + library is to provide a full featured and well tested Trimesh object which + allows for easy manipulation and analysis, in the style of the Polygon + object in the Shapely library. + + + enable support for additional processing features + + diff --git a/dev-python/trimesh/trimesh-3.3.5.ebuild b/dev-python/trimesh/trimesh-3.3.5.ebuild new file mode 100644 index 0000000..a635744 --- /dev/null +++ b/dev-python/trimesh/trimesh-3.3.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for loading and using triangular meshes." +HOMEPAGE="https://trimsh.org/" +SRC_URI="https://github.com/mikedh/trimesh/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test extra" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + ) + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +RDEPEND=" + extra? ( + dev-libs/xxhash + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + sci-libs/scikits_image[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/Shapely[${PYTHON_USEDEP}] + sci-libs/Rtree[${PYTHON_USEDEP}] + ) +" + +python_test() { + if use extra; then + pytest -vv || die + else + cd tests || die + pytest -p no:warnings $(grep -v '^#' basic.list) || die + fi +}