guix-commits
[Top][All Lists]
Advanced

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

36/37: gnu: python-zope-security: Update to 5.1.0.


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

mbakke pushed a commit to branch master
in repository guix.

commit e26e084fbb33608379d124030d8f9413fcb00a16
Author: Marius Bakke <address@hidden>
AuthorDate: Mon Mar 16 14:23:24 2020 +0100

    gnu: python-zope-security: Update to 5.1.0.
    
    * gnu/packages/python-web.scm (python-zope-security): Update to 5.1.0.
    [native-inputs]: Remove PYTHON-SIX.  Move PYTHON-ZOPE-COMPONENT and
    PYTHON-ZOPE-LOCATION ...
    [propagated-inputs]: ... here.  Add PYTHON-ZOPE-INTERFACE.
    (python2-zope-security)[propagated-inputs]: Remove.
---
 gnu/packages/python-web.scm | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6ff5482..b02ffd5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1236,26 +1236,26 @@ Zope3, which are are special objects that have a 
structural location.")
 (define-public python-zope-security
   (package
     (name "python-zope-security")
-    (version "4.0.3")
+    (version "5.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "zope.security" version))
        (sha256
         (base32
-         "14zmf684amc0x32kq05yxnhfqd1cmyhafkw05gn81rn90zjv6ssy"))))
+         "1npfrgnm202v48wavpwn3450dsn7az12lfww95vbhxyjl11f14yb"))))
     (build-system python-build-system)
     (arguments
      '(#:tests? #f)) ; FIXME: Tests can't find zope.testrunner.
     (propagated-inputs
-     `(("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
+     `(("python-zope-component" ,python-zope-component)
+       ("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
+       ("python-zope-interface" ,python-zope-interface)
+       ("python-zope-location" ,python-zope-location)
        ("python-zope-proxy" ,python-zope-proxy)
        ("python-zope-schema" ,python-zope-schema)))
     (native-inputs
-     `(("python-six" ,python-six)
-       ("python-zope-component" ,python-zope-component)
-       ("python-zope-configuration" ,python-zope-configuration)
-       ("python-zope-location" ,python-zope-location)
+     `(("python-zope-configuration" ,python-zope-configuration)
        ("python-zope-testrunner" ,python-zope-testrunner)
        ("python-zope-testing" ,python-zope-testing)))
     (home-page "https://pypi.org/project/zope.security/";)
@@ -1265,13 +1265,7 @@ security policies on Python objects.")
     (license license:zpl2.1)))
 
 (define-public python2-zope-security
-  (let ((zope-security (package-with-python2 python-zope-security)))
-    (package (inherit zope-security)
-      (propagated-inputs
-       `(("python2-zope-testrunner" ,python2-zope-testrunner)
-         ,@(alist-delete
-            "python-zope-testrunner"
-            (package-propagated-inputs zope-security)))))))
+  (package-with-python2 python-zope-security))
 
 (define-public python-zope-component
   (package



reply via email to

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