[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
192/242: gnu: python-cantools: Update to 37.0.7.
From: |
guix-commits |
Subject: |
192/242: gnu: python-cantools: Update to 37.0.7. |
Date: |
Wed, 11 May 2022 18:03:26 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 0f2637e2c55832b5e4abd4a49c8dc71adc79e78b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 15:39:31 2022 -0400
gnu: python-cantools: Update to 37.0.7.
* gnu/packages/python-xyz.scm (python-cantools): Update to 37.0.7.
[arguments]: Use gexps.
[phases]: Strip trailing #t.
{build-doc}: Use make -C instead of with-directory-excursion.
{install-doc}: Adjust for gexp.
[native-inputs]: Use new style.
[propagated-inputs]: Add python-argparse-addons, python-crccheck,
python-matplotlib and python-parameterized.
---
gnu/packages/python-xyz.scm | 54 +++++++++++++++++++++++----------------------
1 file changed, 28 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bc085d3132..be58b9ca53 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2301,7 +2301,7 @@ bits instead of primitive data types like @code{char},
@code{int}, etc.")
(define-public python-cantools
(package
(name "python-cantools")
- (version "33.1.1")
+ (version "37.0.7")
(source
(origin
;; We take the sources from the Git repository as the documentation is
@@ -2313,34 +2313,36 @@ bits instead of primitive data types like @code{char},
@code{int}, etc.")
(file-name (git-file-name name version))
(sha256
(base32
- "1aad137yd8b4jkfvlv812qsxmxcgra7g1p4wbxfsjy1cbf8fbq9q"))))
+ "1qcf1fcwif7w70qmhxw2b8kqh420igbinq60p1chzf98xcb0ansx"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'build 'build-doc
- (lambda _
- ;; See: https://github.com/eerimoq/cantools/issues/190.
- (substitute* "README.rst"
- (("https://github.com/eerimoq/cantools/raw/master\
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'build-doc
+ (lambda _
+ ;; See: https://github.com/eerimoq/cantools/issues/190.
+ (substitute* "README.rst"
+ (("https://github.com/eerimoq/cantools/raw/master\
/docs/monitor.png")
- "monitor.png"))
- (with-directory-excursion "docs"
- (invoke "make" "man" "info"))))
- (add-after 'install 'install-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (info (string-append out "/share/info"))
- (man1 (string-append out "/share/man/man1")))
- (format #t "CWD: ~s~%" (getcwd))
- (install-file "docs/_build/texinfo/cantools.info" info)
- (install-file "docs/_build/man/cantools.1" man1)
- #t))))))
- (native-inputs
- `(("sphinx" ,python-sphinx)
- ("texinfo" ,texinfo)))
- (propagated-inputs
- (list python-bitstruct python-can python-diskcache python-textparser))
+ "monitor.png"))
+ (invoke "make" "-C" "docs" "man" "info")))
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((info (string-append #$output "/share/info"))
+ (man1 (string-append #$output "/share/man/man1")))
+ (install-file "docs/_build/texinfo/cantools.info" info)
+ (install-file "docs/_build/man/cantools.1" man1)))))))
+ (native-inputs (list python-sphinx texinfo))
+ (propagated-inputs
+ (list python-argparse-addons
+ python-bitstruct
+ python-can
+ python-crccheck
+ python-diskcache
+ python-matplotlib
+ python-parameterized
+ python-textparser))
(home-page "https://github.com/eerimoq/cantools")
(synopsis "Tools for the Controller Area Network (CAN) bus protocol")
(description "This package includes Controller Area Network (CAN) related
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests., (continued)
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/05/11
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/05/11
- 172/242: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/05/11
- 176/242: gnu: Add python-bson., guix-commits, 2022/05/11
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/11
- 185/242: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/05/11
- 174/242: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/05/11
- 184/242: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/05/11
- 189/242: gnu: Add python-mdx-gh-links., guix-commits, 2022/05/11
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/11
- 192/242: gnu: python-cantools: Update to 37.0.7.,
guix-commits <=
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/11
- 205/242: gnu: python-keyring: Fix test suite., guix-commits, 2022/05/11
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/11
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/11
- 201/242: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/05/11
- 207/242: gnu: python-pingouin: Update to 0.5.1., guix-commits, 2022/05/11
- 209/242: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/05/11
- 213/242: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/05/11
- 210/242: snippets: Add a 'remove' snippet., guix-commits, 2022/05/11
- 218/242: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/05/11