guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: Add python-tox.


From: David Thompson
Subject: 04/07: gnu: Add python-tox.
Date: Tue, 02 Feb 2016 14:27:06 +0000

davexunit pushed a commit to branch master
in repository guix.

commit a4af21ca6dfc362e15824674c5652bdf1c922ffd
Author: David Thompson <address@hidden>
Date:   Mon Dec 7 16:20:35 2015 -0500

    gnu: Add python-tox.
    
    * gnu/packages/python.scm (python-tox): New variable.
---
 gnu/packages/python.scm |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5295014..6be6511 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7322,3 +7322,37 @@ Pytest but stripped of Pytest specific details.")
 
 (define-public python2-pluggy
   (package-with-python2 python-pluggy))
+
+(define-public python-tox
+  (package
+   (name "python-tox")
+   (version "2.3.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "tox" version))
+     (sha256
+      (base32
+       "1vj73ar4rimq3fwy5r2z3jv4g9qbh8rmpmncsc00g0k310acqzxz"))))
+   (build-system python-build-system)
+   (arguments
+    ;; FIXME: Tests require a newer version of pytest, but upgrading our
+    ;; pytest breaks other packages.
+    '(#:tests? #f))
+   (inputs
+    `(("python-setuptools" ,python-setuptools)
+      ("python-pluggy" ,python-pluggy)
+      ("python-py" ,python-py)
+      ("python-virtualenv" ,python-virtualenv)
+      ("python-pytest" ,python-pytest)))
+   (home-page "http://tox.testrun.org/";)
+   (synopsis "Virtualenv-based automation of test activities")
+   (description "Tox is a generic virtualenv management and test command line
+tool.  It can be used to check that a package installs correctly with
+different Python versions and interpreters, or run tests in each type of
+supported environment, or act as a frontend to continuous integration
+servers.")
+   (license license:expat)))
+
+(define-public python2-tox
+  (package-with-python2 python-tox))



reply via email to

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