~ruther/guix-local

57a9d6917ae8e00b85b544f30721198c70c316f1 — Nicolas Graves 7 months ago d21ce22
gnu: python-zope-deferredimport: Update to 6.0.

* gnu/packages/python-web.scm (python-zope-deferredimport): Update to 6.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools-next.
[home-page]: Use the readthedocs link.

Change-Id: I9e5d6640ea1df5949c2a2f906dbb1d73ee4a65c7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 22 insertions(+), 13 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +22 -13
@@ 5037,20 5037,29 @@ registering and looking up components.")
(define-public python-zope-deferredimport
  (package
    (name "python-zope-deferredimport")
    (version "4.3.1")
    (version "6.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "zope.deferredimport" version))
        (sha256
         (base32
          "1q89v54dwniiqypjbwywwdfjdr4kdkqlyqsgrpplgvsygdg39cjp"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-zope-proxy))
    (native-inputs
     (list python-zope-testrunner))
    (home-page "https://github.com/zopefoundation/zope.deferredimport")
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/zopefoundation/zope.deferredimport")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "08j728nn1la570nny1xz1xvxcm9hf2mcc3im1bzcxxrrxh4kw3zd"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (if tests?
                  (invoke "zope-testrunner" "--test-path=src")
                  (format #t "test suite not run~%")))))))
    (propagated-inputs (list python-zope-proxy))
    (native-inputs (list python-zope-testrunner python-setuptools))
    (home-page "https://zopedeferredimport.readthedocs.io")
    (synopsis "Defer imports until used by code")
    (description
     "Often, especially for package modules, you want to import names for