mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-12 06:41:27 +01:00
gnu: python-vedo: Update to 2022.2.0.
* gnu/packages/python-science.scm (python-vedo): Update to 2022.2.0. [arguments]: Add 'fix-tests' phase. [inputs]: Move fenics and python-matplotlib to propagated-inputs. Move python-pkgconfig from here... [native-inputs]: ...to here. [propagated-inputs]: Add python-deprecated (and fenics and python-matplotlib). [description]: Make description more accurate. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
9edc0f3dbb
commit
e606e02844
1 changed files with 19 additions and 12 deletions
|
@ -17,6 +17,7 @@
|
||||||
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
||||||
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
|
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
|
||||||
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
|
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
|
||||||
|
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -858,21 +859,28 @@ readable.")
|
||||||
(define-public python-vedo
|
(define-public python-vedo
|
||||||
(package
|
(package
|
||||||
(name "python-vedo")
|
(name "python-vedo")
|
||||||
(version "2021.0.3")
|
(version "2022.2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/marcomusy/vedo")
|
(url "https://github.com/marcomusy/vedo")
|
||||||
(commit version)))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"18i3ajh5jzhpc86di15lwh4jv97jhm627ii877sa4yhv6abzjfpn"))))
|
"1hhv4xc4bphhd1zrnf7r6fpf65xvkdqmb1lh51qg1xpv91h2az0h"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-tests
|
||||||
|
;; These tests require online data.
|
||||||
|
(lambda _
|
||||||
|
(substitute* "tests/common/test_actors.py"
|
||||||
|
(("^st = .*") "")
|
||||||
|
(("^assert isinstance\\(st\\.GetTexture\\(\\), .*") ""))
|
||||||
|
(delete-file "tests/common/test_pyplot.py")))
|
||||||
(add-after 'build 'mpi-setup
|
(add-after 'build 'mpi-setup
|
||||||
,%openmpi-setup)
|
,%openmpi-setup)
|
||||||
(replace 'check
|
(replace 'check
|
||||||
|
@ -887,16 +895,16 @@ readable.")
|
||||||
'("common" "dolfin"))))))
|
'("common" "dolfin"))))))
|
||||||
;; Disable the sanity check, which fails with the following error:
|
;; Disable the sanity check, which fails with the following error:
|
||||||
;;
|
;;
|
||||||
;; ...checking requirements: ERROR: vedo==2021.0.3 DistributionNotFound(Requirement.parse('vtk'), {'vedo'})
|
;; ...checking requirements: ERROR: vedo==2022.2.0 DistributionNotFound(Requirement.parse('vtk<9.1.0'), {'vedo'})
|
||||||
(delete 'sanity-check))))
|
(delete 'sanity-check))))
|
||||||
(inputs ; for the check phase
|
(native-inputs
|
||||||
(list fenics
|
(list pkg-config
|
||||||
python-matplotlib
|
|
||||||
python-pkgconfig))
|
python-pkgconfig))
|
||||||
(native-inputs ; for python-pkgconfig
|
|
||||||
(list pkg-config))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numpy
|
(list fenics
|
||||||
|
python-deprecated
|
||||||
|
python-matplotlib
|
||||||
|
python-numpy
|
||||||
vtk))
|
vtk))
|
||||||
(home-page "https://github.com/marcomusy/vedo")
|
(home-page "https://github.com/marcomusy/vedo")
|
||||||
(synopsis
|
(synopsis
|
||||||
|
@ -907,8 +915,7 @@ scientific analysis and visualization. The package provides a wide
|
||||||
range of functionalities for working with three-dimensional meshes and
|
range of functionalities for working with three-dimensional meshes and
|
||||||
point clouds. It can also be used to generate high quality
|
point clouds. It can also be used to generate high quality
|
||||||
two-dimensional renderings such as scatter plots and histograms.
|
two-dimensional renderings such as scatter plots and histograms.
|
||||||
@code{vedo} is based on @code{vtk} and @code{numpy}, with no other
|
@code{vedo} is based on @code{vtk} and @code{numpy}.")
|
||||||
dependencies.")
|
|
||||||
;; vedo is released under the Expat license. Included fonts are
|
;; vedo is released under the Expat license. Included fonts are
|
||||||
;; covered by the OFL license and textures by the CC0 license.
|
;; covered by the OFL license and textures by the CC0 license.
|
||||||
;; The earth images are in the public domain.
|
;; The earth images are in the public domain.
|
||||||
|
|
Loading…
Add table
Reference in a new issue