From b9420a2e9590dfb22144785698a935182b0b6fa0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 27 Oct 2025 22:34:30 +0100 Subject: [PATCH] gnu: python-reparser: Switch to pyproject. * gnu/packages/python-xyz.scm (python-reparser): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. [synopsis]: Improve style. Change-Id: I5f1668114b588f0c3a6c08384e1764951df8b8f6 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 679e854331a4043f521fe05d624d44ed4052814d..eb857c32676fe0a257c40452d1eae5269f7b7a42 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28327,13 +28327,18 @@ are not supported.") (version "1.4.3") (source (origin - (method url-fetch) - (uri (pypi-uri "ReParser" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/xmikos/reparser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0nniqb69xr0fv7ydlmrr877wyyjb61nlayka7xr08vlxl9caz776")))) - (build-system python-build-system) + (base32 "04v7h52wny0j2qj37501nk33j0s4amm134kagdicx2is49zylzq1")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests. + (native-inputs (list python-setuptools)) (home-page "https://github.com/xmikos/reparser") - (synopsis "Simple lexer/parser for inline markup based on regular expressions") + (synopsis "Lexer/parser for inline markup based on regular expressions") (description "This Python library provides a simple lexer/parser for inline markup based on regular expressions.")