~ruther/guix-local

115b05af2aefe11b1c73fbeca31b92a4c1ea64ca — Sharlatan Hellseher 1 year, 2 months ago dc8187b
gnu: python-zodb: Update to 6.0.1.

* gnu/packages/python-web.scm (python-zodb): Update to 6.0.1.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-wheel.

Change-Id: Ieca05b7b3b17baba2aa262c71d2af6de3ea2708a
1 files changed, 31 insertions(+), 26 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +31 -26
@@ 3896,38 3896,43 @@ configuration-intensive applications.")
(define-public python-zodb
  (package
    (name "python-zodb")
    (version "5.8.1")
    (version "6.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "ZODB" version))
       (uri (pypi-uri "zodb" version))
       (sha256
        (base32 "1pv4w8mnx6j4xvkcjbkh99pv8ljby7g9f7zjq7zhdmk06sykmiy6"))))
        (base32 "02cmvf8j2nin5z26wvy2vq2k9mj12hqrr4276lj3w4jj32p0zxw9"))))
    (build-system pyproject-build-system)
    (arguments
     '(#:phases (modify-phases %standard-phases
                  (replace 'check
                    (lambda* (#:key tests? #:allow-other-keys)
                      (if tests?
                          (begin
                            ;; This test does not work after installing the
                            ;; package, since it expects the ZODB source code
                            ;; to reside in the src/ directory.
                            (delete-file-recursively
                             "src/ZODB/tests/testdocumentation.py")
                            (invoke "zope-testrunner" "-vv" "--test-path=src"
                                    "--all"))
                          (format #t "test suite not run~%")))))))
    (propagated-inputs (list python-btrees
                             python-persistent
                             python-zconfig
                             python-six
                             python-transaction
                             python-zc-lockfile
                             python-zodbpickle
                             python-zope-interface))
    (native-inputs (list python-manuel python-zope-testing
                         python-zope-testrunner))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (if tests?
                  (begin
                    ;; This test does not work after installing the
                    ;; package, since it expects the ZODB source code
                    ;; to reside in the src/ directory.
                    (delete-file-recursively
                     "src/ZODB/tests/testdocumentation.py")
                    (invoke "zope-testrunner" "-vv" "--test-path=src"
                            "--all"))
                  (format #t "test suite not run~%")))))))
    (native-inputs
     (list python-manuel
           python-wheel
           python-zope-testing
           python-zope-testrunner))
    (propagated-inputs
     (list python-btrees
           python-persistent
           python-transaction
           python-zc-lockfile
           python-zconfig
           python-zodbpickle
           python-zope-interface))
    (home-page "http://zodb-docs.readthedocs.io")
    (synopsis "Object-oriented database for Python")
    (description