(define-public python2-zope-configuration
(package-with-python2 python-zope-configuration))
+(define-public python-zope-copy
+ (package
+ (name "python-zope-copy")
+ (version "4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "zope.copy" version))
+ (sha256
+ (base32
+ "06m75434krl57n6p73c2qj55k5i3fixg887j8ss01ih6zw4rvfs7"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "zope-testrunner" "--test-path=src" "\\[]"))))))
+ (propagated-inputs
+ `(("python-zope-interface" ,python-zope-interface)))
+ (native-inputs
+ `(("python-zope-component" ,python-zope-component-bootstrap)
+ ("python-zope-location" ,python-zope-location-bootstrap)
+ ("python-zope-testing" ,python-zope-testing)
+ ("python-zope-testrunner" ,python-zope-testrunner)))
+ (home-page "https://github.com/zopefoundation/zope.copy")
+ (synopsis "Pluggable object copying mechanism")
+ (description
+ "This package provides a pluggable mechanism for copying persistent objects.")
+ (license license:zpl2.1)))
+
(define-public python-zope-proxy
(package
(name "python-zope-proxy")
(define-public python2-zope-proxy
(package-with-python2 python-zope-proxy))
+(define-public python-zope-hookable
+ (package
+ (name "python-zope-hookable")
+ (version "5.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "zope.hookable" version))
+ (sha256
+ (base32
+ "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-zope-testing" ,python-zope-testing)))
+ (home-page "https://github.com/zopefoundation/zope.hookable")
+ (synopsis "Zope hookable")
+ (description "This package supports the efficient creation of hookable
+objects, which are callable objects that are meant to be optionally replaced.
+The idea is that you create a function that does some default thing and make i
+hookable. Later, someone can modify what it does by calling its sethook method
+and changing its implementation. All users of the function, including those
+that imported it, will see the change.")
+ (license license:zpl2.1)))
+
(define-public python-zope-location
(package
(name "python-zope-location")
(define-public python-zope-component
(package
(name "python-zope-component")
- (version "4.3.0")
+ (version "4.6.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "zope.component" version))
(sha256
(base32
- "1hlvzwj1kcfz1qms1dzhwsshpsf38z9clmyksb1gh41n8k3kchdv"))))
+ "14iwp95hh6q5dj4k9h1iw75cbp89bs27nany4dinyglb44c8jqli"))))
(build-system python-build-system)
(arguments
- ;; Skip tests due to circular dependency with python-zope-security.
- '(#:tests? #f))
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "setup.py" "test"))))))
(native-inputs
- `(("python-zope-testing" ,python-zope-testing)))
- (propagated-inputs
- `(("python-zope-event" ,python-zope-event)
- ("python-zope-interface" ,python-zope-interface)
+ `(("python-persistent" ,python-persistent)
+ ("python-zope-configuration" ,python-zope-configuration-bootstrap)
("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
- ("python-zope-configuration" ,python-zope-configuration)))
+ ("python-zope-location" ,python-zope-location-bootstrap)
+ ("python-zope-proxy" ,python-zope-proxy-bootstrap)
+ ("python-zope-security" ,python-zope-security-bootstrap)
+ ("python-zope-testing" ,python-zope-testing)
+ ("python-zope-testrunner" ,python-zope-testrunner)))
+ (propagated-inputs
+ `(("python-zope-deferredimport" ,python-zope-deferredimport)
+ ("python-zope-deprecation" ,python-zope-deprecation)
+ ("python-zope-event" ,python-zope-event)
+ ("python-zope-hookable" ,python-zope-hookable)
+ ("python-zope-interface" ,python-zope-interface)))
(home-page "https://github.com/zopefoundation/zope.component")
(synopsis "Zope Component Architecture")
(description "Zope.component represents the core of the Zope Component
(define-public python2-zope-component
(package-with-python2 python-zope-component))
+(define-public python-zope-deferredimport
+ (package
+ (name "python-zope-deferredimport")
+ (version "4.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "zope.deferredimport" version))
+ (sha256
+ (base32
+ "1q89v54dwniiqypjbwywwdfjdr4kdkqlyqsgrpplgvsygdg39cjp"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-zope-proxy" ,python-zope-proxy)))
+ (native-inputs
+ `(("python-zope-testrunner" ,python-zope-testrunner)))
+ (home-page "https://github.com/zopefoundation/zope.deferredimport")
+ (synopsis "Defer imports until used by code")
+ (description
+ "Often, especially for package modules, you want to import names for
+convenience, but not actually perform the imports until necessary. The
+@code{zope.deferredimport} package provided facilities for defining names in
+modules that will be imported from somewhere else when used. You can also cause
+deprecation warnings to be issued when a variable is used.")
+ (license license:zpl2.1)))
+
(define-public python-ndg-httpsclient
(package
(name "python-ndg-httpsclient")