guix-commits
[Top][All Lists]
Advanced

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

30/37: gnu: python-zope-testrunner: Update to 5.1.


From: guix-commits
Subject: 30/37: gnu: python-zope-testrunner: Update to 5.1.
Date: Mon, 16 Mar 2020 10:46:28 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit ddacd13d564b38ac2cb3fee7aa6372790d033b2c
Author: Marius Bakke <address@hidden>
AuthorDate: Mon Mar 16 13:42:45 2020 +0100

    gnu: python-zope-testrunner: Update to 5.1.
    
    * gnu/packages/python-web.scm (python-zope-testrunner): Update to 5.1.
    [source](uri): Download tarball instead of zipball.
    [native-inputs]: Remove UNZIP.  Move PYTHON-ZOPE-INTERFACE and
    PYTHON-ZOPE-EXCEPTIONS ...
    [propagated-inputs]: ... here.
---
 gnu/packages/python-web.scm | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 51e246f..176e54a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1063,25 +1063,23 @@ forms, HTTP servers, regular expressions, and more.")
 (define-public python-zope-testrunner
   (package
     (name "python-zope-testrunner")
-    (version "4.4.9")
+    (version "5.1")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "zope.testrunner" version ".zip"))
+       (uri (pypi-uri "zope.testrunner" version))
        (sha256
         (base32
-         "1r7iqknhh55y45f64mz5hghgvzx34h1i11k350s0avx6q8gznja1"))))
+         "0w3q66cy4crpj7c0hw0vvvvwf3g931rnvw7wwa20av7yqvv6ajim"))))
     (build-system python-build-system)
     (arguments
      '(#:tests? #f)) ; FIXME: Tests can't find zope.interface.
     (native-inputs
+     `(("python-zope-testing" ,python-zope-testing)))
+    (propagated-inputs
      `(("python-six" ,python-six)
-       ;("python-zope-interface" ,python-zope-interface)
        ("python-zope-exceptions" ,python-zope-exceptions)
-       ("python-zope-testing" ,python-zope-testing)
-       ("unzip" ,unzip)))
-    (propagated-inputs
-     `(("python-zope-interface" ,python-zope-interface)))
+       ("python-zope-interface" ,python-zope-interface)))
     (home-page "https://pypi.org/project/zope.testrunner/";)
     (synopsis "Zope testrunner script")
     (description "Zope.testrunner provides a script for running Python
@@ -1089,13 +1087,7 @@ tests.")
     (license license:zpl2.1)))
 
 (define-public python2-zope-testrunner
-  (let ((base (package-with-python2 python-zope-testrunner)))
-    (package
-      (inherit base)
-      (native-inputs
-       (append (package-native-inputs base)
-               `(("python2-subunit" ,python2-subunit)
-                 ("python2-mimeparse" ,python2-mimeparse)))))))
+  (package-with-python2 python-zope-testrunner))
 
 (define-public python-zope-i18nmessageid
   (package



reply via email to

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