gnu: python-cantools: Update to 40.5.0.

* gnu/packages/python-xyz.scm (python-cantools): Update to 40.5.0.
[native-inputs]: Remove python-wheel.  Add python-freezegun.

Change-Id: I5bbf58d2681dbbe83b215501438908ce2ab2ee79
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 22:10:43 +02:00 committed by Sharlatan Hellseher
parent b7f4b400f7
commit 2000a9b136
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5625,18 +5625,16 @@ of primitive data types like @code{char}, @code{int}, etc.")
(define-public python-cantools (define-public python-cantools
(package (package
(name "python-cantools") (name "python-cantools")
(version "40.2.3") (version "40.5.0")
(source (source
(origin (origin
;; We take the sources from the Git repository as the documentation is
;; not included with the PyPI archive.
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/eerimoq/cantools") (url "https://github.com/eerimoq/cantools")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "09cpsma0qgra7yjvcppripsrhr70ivc2bgcg1vqi64125dpi8a3x")))) (base32 "0ldqdsvkvy7vmplyiqcfqqwbh8v88ha98hgdrnlm09g4qbylh5d4"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -5650,11 +5648,11 @@ of primitive data types like @code{char}, @code{int}, etc.")
(lambda _ (lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs (native-inputs
(list python-parameterized (list python-freezegun
python-parameterized
python-pytest python-pytest
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm))
python-wheel))
(propagated-inputs (propagated-inputs
(list python-argparse-addons (list python-argparse-addons
python-bitstruct python-bitstruct
@ -5665,8 +5663,9 @@ of primitive data types like @code{char}, @code{int}, etc.")
python-textparser)) python-textparser))
(home-page "https://github.com/eerimoq/cantools") (home-page "https://github.com/eerimoq/cantools")
(synopsis "Tools for the Controller Area Network (CAN) bus protocol") (synopsis "Tools for the Controller Area Network (CAN) bus protocol")
(description "This package includes Controller Area Network (CAN) related (description
tools that can be used to: "This package includes Controller Area Network (CAN) related tools that
can be used to:
@itemize @itemize
@item parse DBC, KCD, SYM, ARXML 4 and CDD files @item parse DBC, KCD, SYM, ARXML 4 and CDD files
@item encode and decode CAN messages @item encode and decode CAN messages