mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pydot: Update to 4.0.1.
* gnu/packages/graphviz.scm (python-pydot): Update to 4.0.1. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [propagated-inputs]: Remove python-pyparsing-2.4.7; add python-pyparsing. [native-inputs]: Add python-parameterized, python-pytest, python-pytest-xdist, and python-setuptools. Change-Id: I5f192b2b83ea38ad09921131629f85e2e3207d66
This commit is contained in:
parent
716e4f3a99
commit
3a25a22bb5
1 changed files with 10 additions and 18 deletions
|
@ -395,32 +395,24 @@ can be used either as a standalone application, or as a Python library.")
|
||||||
(define-public python-pydot
|
(define-public python-pydot
|
||||||
(package
|
(package
|
||||||
(name "python-pydot")
|
(name "python-pydot")
|
||||||
(version "1.4.2")
|
(version "4.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pydot" version))
|
(uri (pypi-uri "pydot" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0z80zwldf7ffkwrpm28hixsiqp3053j7g281xd6phmnbkfiq3014"))))
|
"1maa6rvnbs1cyfc801ia1qpai6a0irgrwsp2y25y0csa3il8y562"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
;; Taken from .travis.yaml
|
|
||||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(add-installed-pythonpath inputs outputs)
|
|
||||||
(with-directory-excursion "test"
|
|
||||||
(invoke "python" "pydot_unittest.py"))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; For tests.
|
(list graphviz
|
||||||
(list graphviz python-chardet))
|
python-chardet
|
||||||
|
python-parameterized
|
||||||
|
python-pytest
|
||||||
|
python-pytest-xdist
|
||||||
|
python-setuptools))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; XXX: Two test failures with 3.0+:
|
(list python-pyparsing))
|
||||||
;; https://github.com/pydot/pydot/issues/277
|
|
||||||
(list python-pyparsing-2.4.7))
|
|
||||||
(home-page "https://github.com/pydot/pydot")
|
(home-page "https://github.com/pydot/pydot")
|
||||||
(synopsis "Python interface to Graphviz's DOT language")
|
(synopsis "Python interface to Graphviz's DOT language")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue