diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-20 18:48:46 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 22:02:52 +0000 |
| commit | 1d26eb93e2d7ae0d75709ac59d048fb26bf7506d (patch) | |
| tree | be325636d167a04d8435500bfca0e4585efbed2d /gnu/packages/web.scm | |
| parent | 64fd3e51b6c7c73e41982c262f47390a84860a77 (diff) | |
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>
Diffstat (limited to 'gnu/packages/web.scm')
| -rw-r--r-- | gnu/packages/web.scm | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index fb13fa5f5ed..fa21290ac19 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 |
