From d471ab83d490ebc46d8e4b182bda29379fef4658 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 24 Dec 2025 18:16:49 +0100 Subject: [PATCH] gnu: python-parse: Update to 1.20.2. * gnu/packages/python-xyz.scm (python-parse): Update to 1.20.2. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Drop them. [native-inputs]: Add python-pytest, python-pytest-cov, python-setuptools. Change-Id: Ibee0e79a21b5cc7f974c25646c4dc9409c0e1e6a Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4a20955e9dde690cd31ec048f517a5a89c6b7c31..7b2993b337bd53327b7bd4fdf28daf558322a53e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7118,20 +7118,18 @@ matplotlib plots or supply colors for a web application.") (define-public python-parse (package (name "python-parse") - (version "1.18.0") + (version "1.20.2") (source (origin - (method url-fetch) - (uri (pypi-uri "parse" version)) - (sha256 - (base32 - "19063x4xdjpaf7rfxai6jpgm2k4yvkq7wha8aa8cagbjsqr60rli")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ (invoke "python" "test_parse.py")))))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/r1chardj0n3s/parse") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s3dgafh1mz8g32gwk5vp0azdq168yjhbg5liivapgkwyq9zgwcb")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-pytest-cov python-setuptools)) (home-page "https://github.com/r1chardj0n3s/parse") (synopsis "Parse strings") (description