guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 2d03c4d23b3940fd05e99819defe6bbf337bbece
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 23 13:22:40 2025 +0100

    gnu: python-sphinxcontrib-newsfeed: Switch to pyproject.
    
    * gnu/packages/sphinx.scm (python-sphinxcontrib-newsfeed):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    [home-page]: Refresh it.
    
    Change-Id: I48b45337fe08e28873741f75bef952187f6a3561
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/sphinx.scm | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 92c38d4fd2..601c7dd9b0 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -565,20 +565,25 @@ Sphinx documentation.")
   (package
     (name "python-sphinxcontrib-newsfeed")
     (version "0.1.4")
-    (source (origin
-             (method url-fetch)
-             (uri (pypi-uri "sphinxcontrib-newsfeed" version))
-             (sha256
-              (base32
-               "1d7gam3mn8v4in4p16yn3v10vps7nnaz6ilw99j4klij39dqd37p"))))
-    (arguments '(#:tests? #f)) ; No tests.
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-sphinx))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url
+              "https://github.com/prometheusresearch/sphinxcontrib-newsfeed";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "09hdafir3ba5p8bmwny8r8fvgv0sgvzvw43zq85hb57lwd4prbxg"))))
+    (build-system pyproject-build-system)
+    ;; TODO: demo directory, but no standard test system.
+    (arguments (list #:tests? #f))
+    (native-inputs (list python-setuptools))
+    (propagated-inputs (list python-sphinx))
     (synopsis "News Feed extension for Sphinx")
     (description "Sphinxcontrib-newsfeed is an extension for adding a simple
 Blog, News or Announcements section to a Sphinx website.")
-    (home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed";)
+    (home-page "https://github.com/prometheusresearch/sphinxcontrib-newsfeed";)
     (license license:bsd-2)))
 
 (define-public python-sphinx-inline-tabs

Reply via email to