From 922bcb268495778cce259de7b254ebe9cf5e6cd1 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 5 Oct 2025 13:53:47 +0200 Subject: [PATCH] gnu: python-tokenize-rt: Update to 6.2.0. * gnu/packages/python-xyz.scm (python-tokenize-rt): Update to 6.2.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: If3b52adf499e5d9a468b57b7b6774c614e353094 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9df03f43ca79ff51fbf55a4cdd0a55c6b5a6081e..269f74259773666ba55aca958299245d3bf3a155 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28460,15 +28460,18 @@ Week instances stringify to this form.") (define-public python-tokenize-rt (package (name "python-tokenize-rt") - (version "2.0.1") + (version "6.2.0") (source (origin - (method url-fetch) - (uri (pypi-uri "tokenize-rt" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/asottile/tokenize-rt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1yjvbz7rvrz31zjyax1cgy3xhf4wb3j18jwnj4bnl77ca4gliyiw")))) - (build-system python-build-system) + (base32 "1maa9sifma0a6v7kl7mmyqzj0jdclzlp4wjr0vkdx95raihxx4fv")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/asottile/tokenize-rt") (synopsis "Wrapper around the stdlib tokenize which roundtrips") (description