guix-commits
[Top][All Lists]
Advanced

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

14/16: gnu: Add python-pytest-virtualenv.


From: guix-commits
Subject: 14/16: gnu: Add python-pytest-virtualenv.
Date: Wed, 26 Jun 2019 10:33:55 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 05b3dcbe32cdf62bbe5d04d16297bcd38d0d7377
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Jun 25 12:03:34 2019 +0200

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

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 70140de..676dae5 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -213,3 +213,30 @@ py.test testing framework.")
      "This package provides fixture configuration utilities for the py.test
 testing framework.")
     (license license:expat)))
+
+(define-public python-pytest-virtualenv
+  (package
+    (name "python-pytest-virtualenv")
+    (version "1.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-virtualenv" version))
+       (sha256
+        (base32
+         "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f)) ; one test fails; can't find virtualenv
+    (propagated-inputs
+     `(("python-virtualenv" ,python-virtualenv)
+       ("python-pytest-shutil" ,python-pytest-shutil)
+       ("python-pytest-fixture-config" ,python-pytest-fixture-config)))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)
+       ("python-setuptools-git" ,python-setuptools-git)))
+    (home-page "https://github.com/manahl/pytest-plugins";)
+    (synopsis "Virtualenv fixture for py.test")
+    (description "This package provides a virtualenv fixture for the py.test
+framework.")
+    (license license:expat)))



reply via email to

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