[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/23: gnu: Add python-junit-xml.
From: |
guix-commits |
Subject: |
21/23: gnu: Add python-junit-xml. |
Date: |
Fri, 20 Nov 2020 19:23:15 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit f1163b8803a1530125b845f6a8a3269e1a29a152
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Nov 20 23:48:02 2020 +0100
gnu: Add python-junit-xml.
* gnu/packages/python-check.scm (python-junit-xml): New public variable.
---
gnu/packages/python-check.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index cad9a0c..e3d2da9 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -83,6 +83,39 @@ This package provides seamless integration with coverage.py
(and thus pytest,
nosetests, etc...) in Python projects.")
(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
(package
(name "python-vcrpy")
- 07/23: gnu: Add python-databricks-cli., (continued)
- 07/23: gnu: Add python-databricks-cli., guix-commits, 2020/11/20
- 09/23: gnu: Add python-querystring-parser., guix-commits, 2020/11/20
- 11/23: gnu: python-docker: Propagate runtime dependency., guix-commits, 2020/11/20
- 14/23: gnu: Add python-jsonpickle., guix-commits, 2020/11/20
- 16/23: gnu: Add python-jose., guix-commits, 2020/11/20
- 19/23: gnu: python-jsonpatch: Propagate required input., guix-commits, 2020/11/20
- 20/23: gnu: Add python-cfn-lint., guix-commits, 2020/11/20
- 13/23: gnu: Add python-sshpubkeys., guix-commits, 2020/11/20
- 12/23: gnu: Add python-boto3., guix-commits, 2020/11/20
- 17/23: gnu: Add python-boto., guix-commits, 2020/11/20
- 21/23: gnu: Add python-junit-xml.,
guix-commits <=
- 15/23: gnu: Add python-aws-xray-sdk., guix-commits, 2020/11/20
- 18/23: gnu: Add python-aws-sam-translator., guix-commits, 2020/11/20
- 23/23: gnu: Add python-moto., guix-commits, 2020/11/20
- 22/23: gnu: Add python-flask-cors., guix-commits, 2020/11/20