From 49bd97fb906975ec1eef8bf5b35959cd9f522784 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 26 Oct 2025 13:02:23 +0100 Subject: [PATCH] gnu: python-latexcodec: Update to 3.0.1. * gnu/packages/python-xyz.scm (python-latexcodec): Update to 3.0.1. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [propagated-inputs]: Remove python-six. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: I13b80bd830c79ac1772961b1a3002e9f731a4be1 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 07abf869991..0047d443804 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26869,16 +26869,18 @@ working with iterables.") (define-public python-latexcodec (package (name "python-latexcodec") - (version "2.0.1") + (version "3.0.1") (source (origin - (method url-fetch) - (uri (pypi-uri "latexcodec" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mcmtroffaes/latexcodec/") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "16pynfnn8y8xp55yp06i721fccv5dlx9ba6k5bzcwq9j6wf5b8ia")))) - (build-system python-build-system) - (propagated-inputs - (list python-six)) + (base32 "0j4hkn161h0hsx3ixs85dqnsaya27ck9c2ri1lv8cayc5a9kqvcp")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://readthedocs.org/projects/latexcodec/") (synopsis "Work with LaTeX code in Python") (description "Lexer and codec to work with LaTeX code in Python.")