guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit b0fdf2958f12d26f0a631abeecb5dc41298df450
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jan 24 19:34:15 2026 +0000
gnu: python-sphinx-issues: Update to 5.0.1.
* gnu/packages/sphinx.scm (python-sphinx-issues): Update to 5.0.1.
[phases]{patch-sphinx-build-path}: Switch to search-input-file.
Change-Id: Icfd43725f94dfd40a8ca223dcab73ea1b4b17089
---
gnu/packages/sphinx.scm | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a75581361c..c9087aa33c 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -611,36 +611,36 @@ content to your Sphinx documentation.")
(define-public python-sphinx-issues
(package
(name "python-sphinx-issues")
- (version "4.0.0")
+ (version "5.0.1")
(source
(origin
- ;; No tests in the PyPI tarball.
(method git-fetch)
(uri (git-reference
- (url "https://github.com/sloria/sphinx-issues")
- (commit version)))
+ (url "https://github.com/sloria/sphinx-issues")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0q4as8gibvin0n6h5y1q4cwz3b1nwgs0idfc94dbndx42pjiz1vn"))))
+ (base32 "0jyd47ihs2wldzzq49bd8db1zwvswja9327m63i5q4svss13jxzy"))))
(build-system pyproject-build-system)
(arguments
(list
- #:phases #~(modify-phases %standard-phases
- (add-before 'check 'patch-sphinx-build-path
- (lambda _
- ;; The path to the sphinx-build binary is hardcoded to
- ;; be in the same directory as the python
- ;; executable. That does not work when building the
- ;; package.
- (substitute* "tests/test_sphinx_issues.py"
- (((string-append "Path\\(sys\\.executable\\)"
- "\\.parent\\.joinpath\\"
- "(\"sphinx-build\"\\)"))
- (string-append "\""
- #$(this-package-native-input
- "python-sphinx")
- "/bin/sphinx-build\""))))))))
- (native-inputs (list python-flit-core python-pytest python-sphinx))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'patch-sphinx-build-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; The path to the sphinx-build binary is hardcoded to be in the
+ ;; same directory as the python executable. That does not work
+ ;; when building the package.
+ (substitute* "tests/test_sphinx_issues.py"
+ (((string-append "Path\\(sys\\.executable\\)"
+ "\\.parent\\.joinpath\\"
+ "(\"sphinx-build\"\\)"))
+ (format #f "~s" (search-input-file
+ inputs "/bin/sphinx-build")))))))))
+ (native-inputs
+ (list python-flit-core
+ python-pytest
+ python-sphinx))
(home-page "https://github.com/sloria/sphinx-issues")
(synopsis "Sphinx extension for linking to a project's issue tracker")
(description