mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-junit-xml.
* gnu/packages/python-check.scm (python-junit-xml): New public variable.
This commit is contained in:
parent
78c5f162b7
commit
f1163b8803
1 changed files with 33 additions and 0 deletions
|
@ -83,6 +83,39 @@ This package provides seamless integration with coverage.py (and thus pytest,
|
||||||
nosetests, etc...) in Python projects.")
|
nosetests, etc...) in Python projects.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-junit-xml
|
||||||
|
;; XXX: There are no tags or PyPI releases, so take the latest commit
|
||||||
|
;; and use the version defined in setup.py.
|
||||||
|
(let ((version "1.9")
|
||||||
|
(commit "4bd08a272f059998cedf9b7779f944d49eba13a6")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "python-junit-xml")
|
||||||
|
(version (git-version version revision commit))
|
||||||
|
(home-page "https://github.com/kyrus/python-junit-xml")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference (url home-page) (commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0b8kbjhk3j10rk0vcniy695m3h43yip6y93h1bd6jjh0cp7s09c7"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "pytest" "-vv"))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-six" ,python-six)))
|
||||||
|
(synopsis "Create JUnit XML test results")
|
||||||
|
(description
|
||||||
|
"This package provides a Python module for creating JUnit XML test
|
||||||
|
result documents that can be read by tools such as Jenkins or Bamboo.")
|
||||||
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public python-vcrpy
|
(define-public python-vcrpy
|
||||||
(package
|
(package
|
||||||
(name "python-vcrpy")
|
(name "python-vcrpy")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue