guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/11: gnu: Add python-jaraco-test.


From: guix-commits
Subject: 10/11: gnu: Add python-jaraco-test.
Date: Fri, 19 May 2023 10:50:44 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 6e80fa2f3cb86f662f03dfd613c9d943bb9c913f
Author: kiasoc5 <kiasoc5@disroot.org>
AuthorDate: Sat Apr 29 01:31:09 2023 -0400

    gnu: Add python-jaraco-test.
    
    * gnu/packages/python-xyz.scm (python-jaraco-test): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 547d18fa65..f7e3f6f538 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9698,6 +9698,37 @@ module with a few extra procedures.")
 releases.")
     (license license:expat)))
 
+(define-public python-jaraco-test
+  (package
+    (name "python-jaraco-test")
+    (version "5.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "jaraco.test" version))
+              (sha256
+               (base32
+                "0h0x8qmvfkfqvwdx2m7kwhn53sg26k8gkaas7s1730ak772zqrvz"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda _
+                       (invoke "pytest" "-vv" "-k" "http"))))))
+    (propagated-inputs (list python-jaraco-context python-jaraco-functools))
+    (native-inputs (list python-flake8
+                         python-pytest
+                         python-pytest-black
+                         python-pytest-checkdocs
+                         python-pytest-cov
+                         python-pytest-enabler
+                         python-pytest-flake8
+                         python-pytest-mypy))
+    (home-page "https://github.com/jaraco/jaraco.test";)
+    (synopsis "Testing support by jaraco")
+    (description "This package provides testing support by jaraco.")
+    (license license:expat)))
+
 (define-public python-simplegeneric
   (package
     (name "python-simplegeneric")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]