diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2026-02-17 13:17:44 +0900 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-26 06:38:39 +0100 |
| commit | c2cf046c191cc1598e59208d086ac978edb1dee9 (patch) | |
| tree | c557a7b4475983c19324dc4a416275a5343a62f1 /gnu | |
| parent | f70195eb3d20d36fad006d7e55a9c99ea869f01d (diff) | |
gnu: python-xdg-base-dirs: Update to 6.0.2.
* gnu/packages/python-xyz.scm (python-xdg-base-dirs): Update to 6.0.2.
[source]: Switch to git-fetch.
<snippet>: Remove python-cov options.
[arguments]: Enable tests.
[native-inputs]: Add python-pytest.
Change-Id: I9c3aed9146a46880505d552ba568c3023a04d07d
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 190381f8df7..cce5209c1d7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -40797,17 +40797,23 @@ associated with file system objects (files, directories, symlinks, etc).") (define-public python-xdg-base-dirs (package (name "python-xdg-base-dirs") - (version "6.0.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "xdg-base-dirs" version)) - (sha256 - (base32 - "14hwk9j5zjc8rvirw95mrb07zdnpjaxjx2mj3rnq8pnlyaa809r4")))) + (version "6.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/srstevenson/xdg-base-dirs") + (commit version))) + (file-name (git-file-name name version)) + (sha256 (base32 "0ipqrgmxzbn061m02halpsnizp56yk24cyzpwrjnlzjk8icvswl9")) + (modules '((guix build utils))) + ;; All pytest options are for coverage; remove snippet in next release: + ;; https://github.com/srstevenson/xdg-base-dirs/commit/28b6a6beaeb5 + (snippet #~(substitute* "pyproject.toml" + (("^addopts = .*") ""))))) (build-system pyproject-build-system) - (arguments (list #:tests? #f)) ; No tests in PyPi tarball. (native-inputs - (list python-poetry-core)) + (list python-poetry-core python-pytest)) (home-page "https://github.com/srstevenson/xdg-base-dirs") (synopsis "Variables defined by the XDG Base Directory Specification") (description "xdg-base-dirs is a Python module that provides functions to |
