gnu: python-radon: Update to 2.2.0.
* gnu/packages/python.scm (python-radon): Update to 2.2.0. [arguments]: Replace CHECK-PHASE with custom test command. [propagated-inputs]: Replace PYTHON-MANDO-0.3.1 with PYTHON-MANDO. [native-inputs]: Remove PYTHON-FLAKE8, PYTHON-TOX and PYTHON-PARAMUNITTEST. Add PYTHON-PYTEST-MOCK.
This commit is contained in:
parent
f7bd4f2372
commit
5861f9c9d6
|
@ -11238,24 +11238,27 @@ for more filetypes can be easily added by creating plugins for them.")
|
||||||
(define-public python-radon
|
(define-public python-radon
|
||||||
(package
|
(package
|
||||||
(name "python-radon")
|
(name "python-radon")
|
||||||
(version "1.5.0")
|
(version "2.2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "radon" version))
|
(uri (pypi-uri "radon" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1h6jv36am0i827182a04ki6291lyx4kp957xfr5njgprj4nd0qsl"))))
|
"07gq5hq4nrffxnlnksws9hrx7fd001gam63j62i82gyfr23gvdym"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "python" "radon/tests/run.py"))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-colorama" ,python-colorama)
|
`(("python-colorama" ,python-colorama)
|
||||||
("python-flake8-polyfill" ,python-flake8-polyfill)
|
("python-flake8-polyfill" ,python-flake8-polyfill)
|
||||||
("python-mando" ,python-mando-0.3.1)))
|
("python-mando" ,python-mando)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-flake8" ,python-flake8)
|
`(("python-pytest" ,python-pytest)
|
||||||
("python-tox" ,python-tox)
|
("python-pytest-mock" ,python-pytest-mock)))
|
||||||
("python-pytest" ,python-pytest)
|
|
||||||
("python-paramunittest" ,python-paramunittest)))
|
|
||||||
(home-page "https://radon.readthedocs.org/")
|
(home-page "https://radon.readthedocs.org/")
|
||||||
(synopsis "Code Metrics in Python")
|
(synopsis "Code Metrics in Python")
|
||||||
(description "Radon is a Python tool which computes various code metrics.
|
(description "Radon is a Python tool which computes various code metrics.
|
||||||
|
|
Loading…
Reference in New Issue