guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4c0632ba2dd18393ad186b712e69379310938a64
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 23 18:38:57 2025 +0100

    gnu: python-sphinx-intl: Switch to pyproject.
    
    * gnu/packages/sphinx.scm (python-sphinx-intl):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-flags>: Disable failing tests.
    [native-inputs]: Add python-mock, python-pytest, python-setuptools.
    
    Change-Id: I7b5f4ab526d39feb2ed26025c908179ea22d0b48
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/sphinx.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 67899f5b79..9def888c55 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1153,13 +1153,22 @@ to be able to read and render the Doxygen xml output.")
     (version "2.0.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "sphinx-intl" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sphinx-doc/sphinx-intl";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1d1q0sanjp4nkfvhsxi75zf3xjyyi8nzxvl3v7l0jy9ld70nwnmj"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-sphinx python-click))
+        (base32 "0sla69l477qrr5jb3aw76qg4qg4gw7y5w557xbmbzm6jsv18ck86"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; These tests require the transifex_client library.
+      #~(list "--ignore=tests/test_cmd_transifex.py"
+              "--ignore=tests/test_transifex.py")))
+    (native-inputs (list python-mock python-pytest python-setuptools))
+    (propagated-inputs (list python-sphinx python-click))
     (home-page "https://github.com/sphinx-doc/sphinx-intl";)
     (synopsis
      "Sphinx utility that makes it easy to translate and to apply translation")

Reply via email to