~ruther/guix-local

f457f79d09aaf8f1f446c67066e8924eb5b53717 — Ricardo Wurmus 1 year, 2 months ago e5a67a4
gnu: python-hyperkitty: Update to 1.3.12.

* gnu/packages/mail.scm (python-hyperkitty): Update to 1.3.12.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests conditionally.
[propagated-inputs]: Add python-django-debug-toolbar, python-django-q2,
python-elasticsearch, python-isort, python-lxml, python-tzdata, and
python-whoosh; remove python-django-q and python-pytz.
[native-inputs]: Remove python-mock, python-elasticsearch, python-isort, and
python-lxml; add tzdata-for-tests and python-pdm-backend.

Change-Id: I38a38fe75bc43071443f9ea49eeb8ccc9bf3fa3d
1 files changed, 23 insertions(+), 18 deletions(-)

M gnu/packages/mail.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +23 -18
@@ 3748,45 3748,50 @@ which sends emails to HyperKitty, the official Mailman3 web archiver.")
(define-public python-hyperkitty
  (package
    (name "python-hyperkitty")
    (version "1.3.5")
    (version "1.3.12")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "HyperKitty" version))
        (uri (pypi-uri "hyperkitty" version))
        (sha256
         (base32
          "11lz1s2p8n43h1cdr9l5dppsigg8qdppckdwdndzn7a8r8mj4sc2"))))
    (build-system python-build-system)
          "078nrxkwdrv4d7ysdzp1c2dl5nm4fvxnpn6mq6lrxg65gs9q5dfy"))))
    (build-system pyproject-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
     (list
      #:phases
      '(modify-phases %standard-phases
         (replace 'check
           (lambda _
             (invoke "example_project/manage.py" "test"
                     "--settings=hyperkitty.tests.settings_test"
                     "--pythonpath=."))))))
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "example_project/manage.py" "test"
                       "--settings=hyperkitty.tests.settings_test"
                       "--pythonpath=.")))))))
    (propagated-inputs
     (list python-dateutil
           python-django
           python-django-compressor
           python-django-debug-toolbar
           python-django-extensions
           python-django-gravatar2
           python-django-haystack
           python-django-mailman3
           python-django-q
           python-django-q2
           python-django-rest-framework
           python-elasticsearch
           python-flufl-lock
           python-isort
           python-lxml
           python-mailmanclient
           python-mistune
           python-networkx
           python-pytz
           python-robot-detection))
           python-robot-detection
           python-tzdata
           python-whoosh))
    (native-inputs
     (list python-beautifulsoup4
           python-elasticsearch
           python-isort
           python-lxml
           python-mock
     (list tzdata-for-tests
           python-beautifulsoup4
           python-pdm-backend
           python-whoosh))
    (home-page "https://gitlab.com/mailman/hyperkitty")
    (synopsis "Web interface to access GNU Mailman v3 archives")