1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-29 05:30:32 +02:00

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>
This commit is contained in:
Nicolas Graves
2025-12-20 18:48:46 +01:00
committed by Sharlatan Hellseher
parent 64fd3e51b6
commit 1d26eb93e2

View File

@@ -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