guix-devel
[Top][All Lists]
Advanced

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

[PATCH 02/23] gnu: Add python-zope-interface.


From: Leo Famulari
Subject: [PATCH 02/23] gnu: Add python-zope-interface.
Date: Tue, 24 Nov 2015 16:02:02 -0500

* gnu/packages/python.scm (python-zope-interface,
  python2-zope-interface): New variables.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 854e561..756b93a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5946,3 +5946,29 @@ dispatching systems can be built.")
 
 (define-public python2-zope-event
   (package-with-python2 python-zope-event))
+
+(define-public python-zope-interface
+  (package
+    (name "python-zope-interface")
+    (version "4.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://pypi.python.org/packages/source/z";
+                           "/zope.interface/zope.interface-" version 
".tar.gz"))
+       (sha256
+        (base32
+         "0ks8h73b2g4bkad821qbv0wzjppdrwys33i7ka45ik3wxjg1l8if"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-zope-event" ,python-zope-event)))
+    (home-page "https://github.com/zopefoundation/zope.interface";)
+    (synopsis "Python implementation of the \"design by contract\"
+methodology")
+    (description "Zope.interface provides an implementation of \"object
+interfaces\" for Python.  Interfaces are a mechanism for labeling objects as
+conforming to a given API or contract.")
+    (license zpl2.1)))
+
+(define-public python2-zope-interface
+  (package-with-python2 python-zope-interface))
-- 
2.6.2




reply via email to

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