diff mbox

[4/6] gnu: python-pytest: Update to 2.9.2.

Message ID 4565e6a3b2e926453b0ab2af602d9f1e976b9a2d.1467508169.git.leo@famulari.name
State New
Headers show

Commit Message

Leo Famulari July 3, 2016, 1:10 a.m. UTC
* gnu/packages/python.scm (python-pytest, python2-pytest): Update to 2.9.2.
[source]: Use pypi-uri.
---
 gnu/packages/python.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 28984b0..c94343b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1545,16 +1545,14 @@  code introspection, and logging.")
 (define-public python-pytest
   (package
     (name "python-pytest")
-    (version "2.7.3")
+    (version "2.9.2")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/p/pytest/pytest-"
-             version ".tar.gz"))
+       (uri (pypi-uri "pytest" version))
        (sha256
         (base32
-         "1z4yi986f9n0p8qmzmn21m21m8j1x78hk3505f89baqm6pdw7afm"))
+         "1n6igbc1b138wx1q5gca4pqw1j6nsyicfxds5n0b5989kaxqmh8j"))
        (modules '((guix build utils)))
        (snippet
         ;; One of the tests involves the /usr directory, so it fails.