guix-commits
[Top][All Lists]
Advanced

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

05/46: gnu: Add python-pytest-services.


From: guix-commits
Subject: 05/46: gnu: Add python-pytest-services.
Date: Tue, 21 Jul 2020 08:49:34 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 0449f4ebabe54085d75614088e9a9170e464bd9f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 10:47:09 2020 +0300

    gnu: Add python-pytest-services.
    
    * gnu/packages/python-check.scm (python-pytest-services): New variable.
---
 gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 52f53f5..e3f0f6a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -387,6 +387,31 @@ for the @code{pytest} framework.")
 rounds that are calibrated to the chosen timer.")
     (license license:bsd-2)))
 
+(define-public python-pytest-services
+  (package
+    (name "python-pytest-services")
+    (version "1.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "pytest-services" version))
+        (sha256
+         (base32
+          "0b2zfv04w6m3gp2v44ifdhx22vcji069qnn95ry3zcyxib7cjnq3"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f)) ; Tests not included in release tarball.
+    (propagated-inputs
+     `(("python-psutil" ,python-psutil)
+       ("python-requests" ,python-requests)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/pytest-dev/pytest-services";)
+    (synopsis "Services plugin for pytest testing framework")
+    (description
+     "This plugin provides a set of fixtures and utility functions to start
+service processes for your tests with pytest.")
+    (license license:expat)))
+
 (define-public python-pytest-flask
   (package
     (name "python-pytest-flask")



reply via email to

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