1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-commonroad-vehicle-models: Switch to pyproject.

* gnu/packages/simulation.scm (python-commonroad-vehicle-models):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
<#:test-flags>: Ignore failing tests.
[native-inputs]: Add python-matplotlib, python-pytest, python-scipy,
python-setuptools.

Change-Id: If774ec9d9c8185367b2e2360e60e05038b11eca6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-11-22 23:29:19 +01:00
committed by Sharlatan Hellseher
parent 98d4c1daeb
commit 5cbbbc609f

View File

@@ -1281,13 +1281,22 @@ implemented in @code{fenics} or
(sha256
(base32
"13jg0cys7y4n7rg548w6mxk9g10gd5qxmj4ynrlriczpffqy6kc7"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-setup.py
(lambda _
#$%commonroad-dont-install-license-at-root)))))
(list
#:test-flags
#~(list "--ignore=scripts/test_vehicle.py" ; import error
"-k" "not test_std") ; flaky
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-setup.py
(lambda _
#$%commonroad-dont-install-license-at-root)))))
(native-inputs
(list python-matplotlib
python-pytest
python-scipy
python-setuptools))
(propagated-inputs (list python-numpy python-omegaconf))
(home-page "https://commonroad.in.tum.de/")
(synopsis "CommonRoad vehicle models")