summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2015-12-30 22:20:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2015-12-30 23:16:09 +0200
commit1780424035b750e9c8bc33cec99dd27568854716 (patch)
treefe103b5bd6d0e52f0ea54a36847ed798213d1ee0 /gnu/packages
parentec89a25cad174269e3536b23f92a06ac1cd20fb3 (diff)
downloadguix-1780424035b750e9c8bc33cec99dd27568854716.tar.gz
gnu: python-virtualenv: Update to 13.1.2.
* gnu/packages/python.scm (python-virtualenv): Update to 13.1.2.
[arguments]: Custom test command.
[inputs]: Remove python-nose, add python-pytest.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm15
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4a62a8515e..82243feff5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2364,21 +2364,24 @@ object.")
 (define-public python-virtualenv
   (package
     (name "python-virtualenv")
-    (version "1.11.6")
+    (version "13.1.2")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/v/virtualenv/virtualenv-"
-             version ".tar.gz"))
+       (uri (pypi-uri "virtualenv" version))
        (sha256
         (base32
-         "1xq4prmg25n9cz5zcvbqx68lmc3kl39by582vd8pzs9f3qalqyiy"))))
+         "1p732accxwqfjbdna39k8w8lp9gyw91vr4kzkhm8mgfxikqqxg5a"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+        (replace 'check
+         (lambda _ (zero? (system* "py.test")))))))
     (inputs
      `(("python-setuptools" ,python-setuptools)
        ("python-mock" ,python-mock)
-       ("python-nose" ,python-nose)))
+       ("python-pytest" ,python-pytest)))
     (home-page "https://virtualenv.pypa.io/")
     (synopsis "Virtual Python environment builder")
     (description