guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 1d26eb93e2d7ae0d75709ac59d048fb26bf7506d
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 20 18:48:46 2025 +0100
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 <[email protected]>
---
gnu/packages/web.scm | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index fb13fa5f5e..fa21290ac1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -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