guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit b26304db0fe76a5951b0ff7d2ba30dcfab7aaf09
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Wed Mar 4 21:32:19 2026 +0100
gnu: python-pyxdg: Update to 0.28-0.63033ac.
* gnu/packages/freedesktop.scm (python-pyxdg): Update 0.28-0.63033ac.
[arguments]<#:test-flags>: Remove as tests pass.
Change-Id: Iefe8fb19a85348420b0727ab25267e1ea4cb4d55
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/freedesktop.scm | 70 +++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 7dde4a1e33..f67e0e19f4 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1321,41 +1321,43 @@ For information about libevdev, see:
(license license:expat)))
(define-public python-pyxdg
- (package
- (name "python-pyxdg")
- (version "0.28")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pyxdg" version))
- (sha256
- (base32
- "1d48bqwkbnpid80cpwz6h62i112laxl0ivpj58hdyd79fhqbnrrj"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- ;; Tests failing with error: AssertionError: 'image' != 'inode'
- #~(list "--deselect=test/test_mime.py::MimeTest::test_get_type"
- "--deselect=test/test_mime.py::MimeTest::test_get_type2")
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'check 'pre-check
- (lambda _
- (setenv "XDG_DATA_DIRS"
- (string-append #$(this-package-native-input
"shared-mime-info")
- "/share/")))))))
- (native-inputs
- (list shared-mime-info
- hicolor-icon-theme
- python-pytest
- python-setuptools))
- (home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
- (synopsis "Implementations of freedesktop.org standards in Python")
- (description
- "PyXDG is a collection of implementations of freedesktop.org standards in
+ ;; Latest unreleased commits add Python 3.12, 3.14 and 3.15 support.
+ (let ((commit "63033ac306aa26d32e1439417e59ae8f8a4c9820")
+ (revision "0"))
+ (package
+ (name "python-pyxdg")
+ (version "0.28")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/xdg/pyxdg")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10wk95rmcr2fglmvmv1a6ad9hkw9587r0rlww0gq6kbfz85whgmd"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "XDG_DATA_DIRS"
+ (string-append #$(this-package-native-input
"shared-mime-info")
+ "/share/")))))))
+ (native-inputs
+ (list shared-mime-info
+ hicolor-icon-theme
+ python-pytest
+ python-setuptools))
+ (home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
+ (synopsis "Implementations of freedesktop.org standards in Python")
+ (description
+ "PyXDG is a collection of implementations of freedesktop.org standards
in
Python.")
- (license license:lgpl2.0)))
+ (license license:lgpl2.0))))
(define-public hyprland-protocols
(package