From 7622a9909e5b5dc4ccbf6d2b6259ed5be366e965 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 25 Dec 2025 11:10:52 +0100 Subject: [PATCH] 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 Signed-off-by: Rutherther --- 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 af11975d02e51189581fdff984c8d9e0a9f9a773..a1a0443c841c94d5f075baeb8d16a1bea32243e9 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