mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-can: Update to 3.3.3.
This fixes the build of python-can, which is very exacting w.r.t. to its dependencies. * gnu/packages/python-xyz.scm (python-can): Update to 3.3.3. [phases]{relax-version-requirements}: New phase. [native-inputs]: Add python-coverage. [license]: Correct the license to lgpl3+.
This commit is contained in:
parent
7c9be7b7cb
commit
19b464fcb8
1 changed files with 12 additions and 3 deletions
|
@ -1207,17 +1207,25 @@ class.")
|
||||||
(define-public python-can
|
(define-public python-can
|
||||||
(package
|
(package
|
||||||
(name "python-can")
|
(name "python-can")
|
||||||
(version "3.3.2")
|
(version "3.3.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "python-can" version))
|
(uri (pypi-uri "python-can" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0bkbxi45sckzir6s0j3h01pkfn4vkz3ymih2zjp7zw77wz0vbvsz"))))
|
"123lz1bl6xf3d0fvxzr4bg4884yg4m9s21z6xd2m68zhnbv9rmpc"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-version-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("mock~=2\\.0") "mock")
|
||||||
|
(("coverage<5") "coverage")
|
||||||
|
(("pytest~=4\\.3") "pytest")
|
||||||
|
(("hypothesis~=4\\.56") "hypothesis"))
|
||||||
|
#t))
|
||||||
(add-after 'unpack 'fix-broken-tests
|
(add-after 'unpack 'fix-broken-tests
|
||||||
;; The tests try to run two scripts it expects should be
|
;; The tests try to run two scripts it expects should be
|
||||||
;; in PATH, but they aren't at this time (see:
|
;; in PATH, but they aren't at this time (see:
|
||||||
|
@ -1232,6 +1240,7 @@ class.")
|
||||||
("python-wrapt" ,python-wrapt)))
|
("python-wrapt" ,python-wrapt)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-codecov" ,python-codecov)
|
`(("python-codecov" ,python-codecov)
|
||||||
|
("python-coverage" ,python-coverage)
|
||||||
("python-future" ,python-future)
|
("python-future" ,python-future)
|
||||||
("python-hypothesis" ,python-hypothesis)
|
("python-hypothesis" ,python-hypothesis)
|
||||||
("python-mock" ,python-mock)
|
("python-mock" ,python-mock)
|
||||||
|
@ -1246,7 +1255,7 @@ class.")
|
||||||
controller area network (CAN) support for Python developers; providing common
|
controller area network (CAN) support for Python developers; providing common
|
||||||
abstractions to different hardware devices, and a suite of utilities for
|
abstractions to different hardware devices, and a suite of utilities for
|
||||||
sending and receiving messages on a CAN bus.")
|
sending and receiving messages on a CAN bus.")
|
||||||
(license license:gpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
(define-public python-diskcache
|
(define-public python-diskcache
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue