guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit ad64a7e8ff4edd97338ad0e1448350bd0370e756
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Dec 25 11:10:52 2025 +0100

    gnu: python-jinja2-time: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-jinja2-time):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-pytest, python-setuptools.
    
    Change-Id: I425584b6c6f06451e71e5b593eca90d73b9250bf
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e408203f19..b4edcaa3f6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8868,16 +8868,17 @@ written in pure Python.")
     (version "0.2.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "jinja2-time" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hackebrot/jinja2-time";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-arrow python-jinja2))
-    (home-page
-     "https://github.com/hackebrot/jinja2-time";)
+        (base32 "1i7qihrs7wix7wjxlpif3iirhmbyahywpy5haj8abv4r3zbfafna"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools))
+    (propagated-inputs (list python-arrow python-jinja2))
+    (home-page "https://github.com/hackebrot/jinja2-time";)
     (synopsis "Jinja2 Extension for Dates and Times")
     (description
      "This package provides an extension for the template engine Jinja2.  It

Reply via email to