diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-03-21 09:35:18 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-28 22:00:00 +0000 |
| commit | c5075bc31d7f953e9e1fcecf1e13c6bdff096d74 (patch) | |
| tree | 0f207ca8b5fef762a0762c4ac72fdef2fd448a8c /gnu/packages | |
| parent | 4d80135c49c3e9503c8d6395e421fca5e6adb361 (diff) | |
gnu: xandikos: Update to 0.3.3.
* gnu/packages/dav.scm (xandikos): Update to 0.3.3.
[source]: Switch to git-fetch.
[arguments]<#:test-backend>: Drop it (use pytest).
<#:phases>: Drop 'create-entrypoints phase replacement, fixed by
https://github.com/jelmer/xandikos/pull/563 in version 0.3.1.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Replace python-dulwich-0.24 by python-dulwich.
Change-Id: I6de5cd2a35aeface02946d1cec8b76035ae70708
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/dav.scm | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index b71d4dcf23b..ab87555dfd4 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -169,43 +169,29 @@ clients.") (define-public xandikos (package (name "xandikos") - (version "0.3.0") + (version "0.3.3") (source (origin - (method url-fetch) - (uri (pypi-uri "xandikos" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/jelmer/xandikos") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "10j7qmwcrwql4ah6q8si3nf1ljwrx99w8ipiy85bzjd3qz2vackj")))) + (base32 "0db02hsdrrxpms9xfy8q5kkgsp5gxrgd15rgdjd5aw7lqpnhhmji")))) (build-system pyproject-build-system) (arguments (list - #:test-backend #~'unittest #:phases #~(modify-phases %standard-phases - (replace 'create-entrypoints - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((sitedir (site-packages inputs outputs)) - (interpreter (which "python")) - (file-path (string-append #$output "/bin/xandikos"))) - (mkdir-p (string-append #$output "/bin")) - (call-with-output-file file-path - (lambda (port) - (format port "#!~a -sP -# Auto-generated entry point script. -import sys -import asyncio -from xandikos.__main__ import main -if __name__ == '__main__': - sys.exit(asyncio.run(main(sys.argv[1:])))~%" interpreter))) - (chmod file-path #o755)))) (add-before 'check 'check-setup (lambda _ (setenv "XANDIKOSPATH" (mkdtemp "/tmp/xandikospath-XXXXXX"))))))) - (native-inputs (list python-setuptools)) + (native-inputs (list python-pytest python-setuptools)) (propagated-inputs (list python-aiohttp python-defusedxml - python-dulwich-0.24 + python-dulwich python-icalendar python-jinja2 python-multidict |
