~ruther/guix-local

1d26eb93e2d7ae0d75709ac59d048fb26bf7506d — Nicolas Graves 5 months ago 64fd3e5
gnu: buku: Update to 5.1.

* gnu/packages/web.scm (buku): Update to 5.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
<#:test-flags>: Ignore failing tests.
[native-inputs]: Add python-pyyaml, python-pytest, python-setuptools.

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

M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +24 -13
@@ 9162,23 9162,34 @@ easy, fast, and effective.")
(define-public buku
  (package
    (name "buku")
    (version "4.6")
    (version "5.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "buku" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/jarun/buku")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1n4d1mkjyvzdxbyq067p1p9skb3iwx0msd86nzr224dlqrfh9675"))))
    (build-system python-build-system)
        (base32 "0krg13q2fa3r29knrl7ngq28dgzzxc9gif12gxkkm4djma2c1v7d"))))
    (build-system pyproject-build-system)
    (arguments
     `(#:tests? #f                     ; FIXME: many tests need network access
       #:phases
       (modify-phases %standard-phases
         ;; XXX: missing inputs, e.g. python-flask-admin
         (delete 'sanity-check))))
    (inputs
     (list python-beautifulsoup4 python-certifi python-cryptography
           python-flask python-html5lib python-urllib3))
     (list
      ;; XXX: missing inputs for bukuserver
      #:test-flags
      #~(list "--ignore=tests/test_server.py"
              "--ignore=tests/test_views.py"
              "--deselect=tests/test_buku.py::test_fetch_data_with_url")
      #:phases
      #~(modify-phases %standard-phases
          (delete 'sanity-check))))
    (native-inputs (list python-pytest python-pyyaml python-setuptools))
    (inputs (list python-beautifulsoup4
                  python-certifi
                  python-cryptography
                  python-flask
                  python-html5lib
                  python-urllib3))
    (home-page "https://github.com/jarun/buku")
    (synopsis "Bookmark manager")
    (description