gnu: Add python-zope-interface.

* gnu/packages/python.scm (python-zope-interface,
  python2-zope-interface): New variables.
This commit is contained in:
Leo Famulari 2015-11-08 21:59:08 -05:00 committed by David Thompson
parent 2fc5f18680
commit 97abe268ab
1 changed files with 26 additions and 0 deletions

View File

@ -6033,3 +6033,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))