[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/11: gnu: Add python-trimesh.
From: |
guix-commits |
Subject: |
05/11: gnu: Add python-trimesh. |
Date: |
Thu, 7 Apr 2022 16:40:22 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit b4b93035c1c4dda16b8399fc77b6ef150831ef1d
Author: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
AuthorDate: Thu Apr 7 18:31:37 2022 +0200
gnu: Add python-trimesh.
* gnu/packages/python-science.scm (python-trimesh): New variable.
Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/python-science.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b727edb767..07d713e013 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -15,6 +15,8 @@
;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
+;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -373,6 +375,44 @@ genetic variation data.")
of the SGP4 satellite tracking algorithm.")
(license license:expat)))
+(define-public python-trimesh
+ (package
+ (name "python-trimesh")
+ (version "3.10.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "trimesh" version))
+ (sha256
+ (base32 "0bw55cwxlxds0j54naijh64sdb0rkscx4i1fy0ql94h96kw2p2ir"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-numpy))
+ (native-inputs
+ (list python-coveralls
+ python-pyinstrument
+ python-pytest
+ python-pytest-cov))
+ (arguments
+ `(;; TODO: Get tests to work.
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-build
+ (lambda _
+ (substitute* "trimesh/resources/templates/blender_boolean.py"
+ (("\\$MESH_PRE")
+ "'$MESH_PRE'")))))))
+ (home-page "https://github.com/mikedh/trimesh")
+ (synopsis "Python library for loading and using triangular meshes")
+ (description
+ "Trimesh is a pure Python library for loading and using triangular meshes
+with an emphasis on 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.")
+ (license license:expat)))
+
(define-public python-pandas
(package
(name "python-pandas")
- branch master updated (7409f246e2 -> b749329888), guix-commits, 2022/04/07
- 01/11: gnu: Add libarcus., guix-commits, 2022/04/07
- 04/11: gnu: Add python-pyinstrument., guix-commits, 2022/04/07
- 06/11: gnu: Add uranium., guix-commits, 2022/04/07
- 11/11: gnu: Add cura., guix-commits, 2022/04/07
- 07/11: gnu: Add libcharon., guix-commits, 2022/04/07
- 02/11: gnu: Add cura-engine., guix-commits, 2022/04/07
- 03/11: gnu: Add cura-binary-data., guix-commits, 2022/04/07
- 05/11: gnu: Add python-trimesh.,
guix-commits <=
- 08/11: gnu: Add libsavitar., guix-commits, 2022/04/07
- 10/11: gnu: Add python-pynest2d., guix-commits, 2022/04/07
- 09/11: gnu: Add libnest2d-for-cura., guix-commits, 2022/04/07