mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-trimesh: Update to 4.5.3.
* gnu/packages/python-science.scm (python-trimesh): Update to 4.5.3, fix build. [arguments] <phases>: Remove 'fix-build, as resolved upstream. Delete 'sanity-check. Change-Id: I9320912764506a8c0d0bd7f300dca98b32ce4333
This commit is contained in:
parent
65856d6cec
commit
e5b3deb1ec
1 changed files with 25 additions and 31 deletions
|
@ -836,10 +836,7 @@ of regular expressions from text data and automatic test generation.")
|
||||||
(define-public python-trimesh
|
(define-public python-trimesh
|
||||||
(package
|
(package
|
||||||
(name "python-trimesh")
|
(name "python-trimesh")
|
||||||
;; XXX: The latest version fails on sanity check, requiring newer
|
(version "4.5.3")
|
||||||
;; setuptools which is not yet available on master. Update when
|
|
||||||
;; python-team is merged.
|
|
||||||
(version "4.1.8")
|
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch) ; no tests in PyPI
|
(method git-fetch) ; no tests in PyPI
|
||||||
|
@ -848,39 +845,36 @@ of regular expressions from text data and automatic test generation.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1vkp7znrlsqaiyg16py3jcqspi6yq4wh48lzng4sg248hqzhzspa"))))
|
(base32 "17fyapp8nffnnf95bmcvllvg41fjlpvlv6qndbm048hnyayixxld"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-flags
|
#:test-flags
|
||||||
#~(list "-k" (string-append
|
;; XXX: When more optional modules are available review
|
||||||
;; XXX: When more optional modules are available review
|
;; disabled tests once again.
|
||||||
;; disabled tests once again.
|
;;
|
||||||
;;
|
;; Disable tests requiring optional, not packed modules.
|
||||||
;; Disable tests requiring optional, not packed modules.
|
#~(list "-k" (string-join
|
||||||
"not test_bezier_example"
|
(list "not test_bezier_example"
|
||||||
" and not test_discrete"
|
"test_discrete"
|
||||||
" and not test_dxf"
|
"test_dxf"
|
||||||
" and not test_ply_path_bezier"
|
"test_ply_path_bezier"
|
||||||
" and not test_ply_path_line"
|
"test_ply_path_line"
|
||||||
" and not test_ply_path_multi"
|
"test_ply_path_multi"
|
||||||
" and not test_revolve"
|
"test_revolve"
|
||||||
" and not test_screw"
|
"test_screw"
|
||||||
" and not test_simple_closed"
|
"test_simple_closed"
|
||||||
" and not test_simple_extrude"
|
"test_simple_extrude"
|
||||||
" and not test_simple_open"
|
"test_simple_open"
|
||||||
" and not test_slice_onplane"
|
"test_slice_onplane"
|
||||||
" and not test_spline_3D"
|
"test_spline_3D"
|
||||||
" and not test_svg"))
|
"test_svg")
|
||||||
|
" and not "))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-build
|
;; XXX: It struggles to load and fails with error: AttributeError:
|
||||||
(lambda _
|
;; module 'trimesh' has no attribute '__main__'.
|
||||||
;; Reported upstream, see
|
(delete 'sanity-check))))
|
||||||
;; <https://github.com/mikedh/trimesh/pull/2314>.
|
|
||||||
(substitute* "trimesh/resources/templates/blender_boolean.py.tmpl"
|
|
||||||
(("\\$MESH_PRE")
|
|
||||||
"'$MESH_PRE'")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coveralls
|
(list python-coveralls
|
||||||
python-pyinstrument
|
python-pyinstrument
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue